Compare commits
2 Commits
3bb1ef457a
...
adf92e852d
Author | SHA1 | Date | |
---|---|---|---|
|
adf92e852d |
|
|
|
2d5dabf977 |
|
|
@ -40,11 +40,11 @@
|
||||||
<!-- 抽屉串口使用的协议232或者485 -->
|
<!-- 抽屉串口使用的协议232或者485 -->
|
||||||
<add key="DrawerProtocol" value="485" />
|
<add key="DrawerProtocol" value="485" />
|
||||||
<!-- 抽屉串口的串口号 -->
|
<!-- 抽屉串口的串口号 -->
|
||||||
<add key="DrawerPortPath" value="COM3" />
|
<add key="DrawerPortPath" value="COM18" />
|
||||||
<!-- can总线串口的串口号 -->
|
<!-- can总线串口的串口号 -->
|
||||||
<add key="CanBusPortPath" value="COM9" />
|
<add key="CanBusPortPath" value="COM17" />
|
||||||
<!-- 条码枪串口的串口号 -->
|
<!-- 条码枪串口的串口号 -->
|
||||||
<add key="ScanCodePortPath" value="COM11" />
|
<add key="ScanCodePortPath" value="COM111" />
|
||||||
<!-- 抽屉串口的串口号 --><!--
|
<!-- 抽屉串口的串口号 --><!--
|
||||||
<add key="DrawerPortPath" value="COM11" />
|
<add key="DrawerPortPath" value="COM11" />
|
||||||
--><!-- can总线串口的串口号 --><!--
|
--><!-- can总线串口的串口号 --><!--
|
||||||
|
@ -61,6 +61,8 @@
|
||||||
<add key="fingerIp" value="192.168.50.201"/>
|
<add key="fingerIp" value="192.168.50.201"/>
|
||||||
<!--一个抽屉对应标签数-->
|
<!--一个抽屉对应标签数-->
|
||||||
<add key="labelCount" value="2"/>
|
<add key="labelCount" value="2"/>
|
||||||
|
<!--库存盘点17号库位线程等待时间(毫秒)-->
|
||||||
|
<add key="CheckSleepMilliseconds" value="500"/>
|
||||||
|
|
||||||
</appSettings>
|
</appSettings>
|
||||||
</configuration>
|
</configuration>
|
|
@ -546,10 +546,20 @@ namespace DM_Weight.ViewModels
|
||||||
_portUtil.WriteQuantity(item.DrawerNo, item.ColNo, item.totalCount);
|
_portUtil.WriteQuantity(item.DrawerNo, item.ColNo, item.totalCount);
|
||||||
//await Task.Delay(200);
|
//await Task.Delay(200);
|
||||||
}
|
}
|
||||||
|
SnackbarBackground = new SolidColorBrush((Color)ColorConverter.ConvertFromString("#00e676"));
|
||||||
|
SnackbarMessageQueue.Enqueue("标签渲染完成!");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
//GetChannelsByDrawerNo();
|
//GetChannelsByDrawerNo();
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
|
||||||
|
SnackbarBackground = new SolidColorBrush((Color)ColorConverter.ConvertFromString("#b71c1c"));
|
||||||
|
SnackbarMessageQueue.Enqueue("请选择库位");
|
||||||
|
return;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
public DelegateCommand BtnCloseCommand
|
public DelegateCommand BtnCloseCommand
|
||||||
|
|
Loading…
Reference in New Issue