master
zby 2 months ago
parent 194c122ee4
commit 7f155abac4

@ -149,8 +149,8 @@ public class DoSwappingState : IState
return Invoker.Invoke("StartSwapping", 1000, 5, machine.IsCanceled,
() => machine.StartSwappingFlag, () =>
{
Task<bool> result = TBoxApi.UnLockCarManyTimes(machine.RfidReadModel.VelVin);
bool unLock = result.Result;
// Task<bool> result = TBoxApi.UnLockCarManyTimes(machine.RfidReadModel.VelVin);
// bool unLock = result.Result;
if (unLock)
{
var startSwapping = PlcApi.StartSwapping(machine.SwapOrderBatteryInfo.InBinInfo.No,

Loading…
Cancel
Save