去掉药盒操作方法中的DrawerNo参数
This commit is contained in:
parent
929b60d5a5
commit
43d372ebe0
|
@ -970,7 +970,7 @@ namespace DM_Weight.Port
|
|||
/// </summary>
|
||||
/// <param name="ColNo"></param>
|
||||
/// <returns></returns>
|
||||
public async Task OpenBox(int DrawerNo, int ColNo)
|
||||
public async Task OpenBox(int ColNo)
|
||||
{
|
||||
int[] iNum = new int[] { 3, 2, 1 };
|
||||
var colNo2 = ColNo % 3 > 0 ? (ColNo % 3) - 1 : 2;
|
||||
|
@ -986,7 +986,7 @@ namespace DM_Weight.Port
|
|||
/// </summary>
|
||||
/// <param name="text"></param>
|
||||
/// <returns></returns>
|
||||
public async Task<byte[]> OpenBoxState(int drawerNo, int ColNo)
|
||||
public async Task<byte[]> OpenBoxState(int ColNo)
|
||||
{
|
||||
decimal deColNo = (decimal)ColNo;
|
||||
var channel = Convert.ToInt32((DrawerNo * 10 + Math.Ceiling(deColNo / 3)).ToString(), 16);
|
||||
|
|
Loading…
Reference in New Issue