自选取药时写标签数量修改传递参数。优化取药查询(数据库中order_info\drug_info\channel_stock表添加索引)
This commit is contained in:
parent
52d2da4db9
commit
ed701f2360
|
|
@ -42,7 +42,7 @@
|
||||||
<!-- 抽屉串口的串口号 -->
|
<!-- 抽屉串口的串口号 -->
|
||||||
<add key="DrawerPortPath" value="COM1" />
|
<add key="DrawerPortPath" value="COM1" />
|
||||||
<!-- can总线串口的串口号 -->
|
<!-- can总线串口的串口号 -->
|
||||||
<add key="CanBusPortPath" value="COM31" />
|
<add key="CanBusPortPath" value="COM5" />
|
||||||
<!-- 条码枪串口的串口号 -->
|
<!-- 条码枪串口的串口号 -->
|
||||||
<add key="ScanCodePortPath" value="COM11" />
|
<add key="ScanCodePortPath" value="COM11" />
|
||||||
<!-- 抽屉串口的串口号 --><!--
|
<!-- 抽屉串口的串口号 --><!--
|
||||||
|
|
@ -58,7 +58,7 @@
|
||||||
<!-- 指纹机号码 -->
|
<!-- 指纹机号码 -->
|
||||||
<add key="machineNumber" value="1"/>
|
<add key="machineNumber" value="1"/>
|
||||||
<!-- 指纹机ip -->
|
<!-- 指纹机ip -->
|
||||||
<add key="fingerIp" value="192.168.50.201"/>
|
<add key="fingerIp" value="192.168.50.59"/>
|
||||||
<!--一个抽屉对应标签数-->
|
<!--一个抽屉对应标签数-->
|
||||||
<add key="labelCount" value="2"/>
|
<add key="labelCount" value="2"/>
|
||||||
<!--是否自动写标签数量-->
|
<!--是否自动写标签数量-->
|
||||||
|
|
|
||||||
|
|
@ -391,7 +391,7 @@ namespace DM_Weight.ViewModels
|
||||||
_portUtil.ShowContent(csList[0].DrawerNo, csList[0].ColNo);
|
_portUtil.ShowContent(csList[0].DrawerNo, csList[0].ColNo);
|
||||||
Thread.Sleep(200);
|
Thread.Sleep(200);
|
||||||
//将库位多批次的总库存数更新标签
|
//将库位多批次的总库存数更新标签
|
||||||
_portUtil.WriteQuantity(csList[i].DrawerNo, csList[i].ColNo, totalQuantity);
|
_portUtil.WriteQuantity(csList[0].DrawerNo, csList[0].ColNo, totalQuantity);
|
||||||
Thread.Sleep(200);
|
Thread.Sleep(200);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue