下发任务不执行

master
赵宝玉 1 month ago
parent fb5a872880
commit 79b8968d8e

@ -132,7 +132,7 @@ public class DoSwappingState : IState
{ {
if (ClientMgr.PlcClient.IsTaskFree()) if (ClientMgr.PlcClient.IsTaskFree())
{ {
ClientMgr.PlcClient.ExChangeTaskNo(1); // ClientMgr.PlcClient.ExChangeTaskNo(1);
var startSwapping = PlcApi.StartSwapping(machine.SwapOrderBatteryInfo.InBinInfo.No, var startSwapping = PlcApi.StartSwapping(machine.SwapOrderBatteryInfo.InBinInfo.No,
machine.SwapOrderBatteryInfo.UpBinInfo.No); machine.SwapOrderBatteryInfo.UpBinInfo.No);

Loading…
Cancel
Save