diff --git a/DM_Weight/Port/PortUtil.cs b/DM_Weight/Port/PortUtil.cs index a9afcac..6602d94 100644 --- a/DM_Weight/Port/PortUtil.cs +++ b/DM_Weight/Port/PortUtil.cs @@ -970,7 +970,7 @@ namespace DM_Weight.Port /// /// /// - 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 /// /// /// - public async Task OpenBoxState(int drawerNo, int ColNo) + public async Task OpenBoxState(int ColNo) { decimal deColNo = (decimal)ColNo; var channel = Convert.ToInt32((DrawerNo * 10 + Math.Ceiling(deColNo / 3)).ToString(), 16);