更改条件

master
zby 2 months ago
parent 7f155abac4
commit 073a2d20dd

@ -151,8 +151,8 @@ public class DoSwappingState : IState
{ {
// Task<bool> result = TBoxApi.UnLockCarManyTimes(machine.RfidReadModel.VelVin); // Task<bool> result = TBoxApi.UnLockCarManyTimes(machine.RfidReadModel.VelVin);
// bool unLock = result.Result; // bool unLock = result.Result;
if (unLock) //if (unLock)
{ //{
var startSwapping = PlcApi.StartSwapping(machine.SwapOrderBatteryInfo.InBinInfo.No, var startSwapping = PlcApi.StartSwapping(machine.SwapOrderBatteryInfo.InBinInfo.No,
machine.SwapOrderBatteryInfo.UpBinInfo.No); machine.SwapOrderBatteryInfo.UpBinInfo.No);
@ -175,7 +175,7 @@ public class DoSwappingState : IState
} }
} // }
}, () => }, () =>
{ {
//SoundClient = AppInfo.Container.Resolve<SoundClient>(); //SoundClient = AppInfo.Container.Resolve<SoundClient>();

Loading…
Cancel
Save