修改配置文件抽屉串口号

This commit is contained in:
maqiao 2024-07-19 10:30:10 +08:00
parent 2b88d246c8
commit 7cbf366a98
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@
<!-- 抽屉串口使用的协议232或者485 -->
<add key="DrawerProtocol" value="485" />
<!-- 抽屉串口的串口号 -->
<add key="DrawerPortPath" value="COM3" />
<add key="DrawerPortPath" value="COM1" />
<!-- can总线串口的串口号 -->
<add key="CanBusPortPath" value="COM9" />
<!-- 条码枪串口的串口号 -->

View File

@ -225,7 +225,7 @@ namespace DM_Weight.Port
}
byte[] buffer = await OpenDrawer();
byte[] buffer =await OpenDrawer();
int[] r = buffer.Select(it => Convert.ToInt32(it)).ToArray();
logger.Info($"OpenDrawer{string.Join(",", r)}");