|
|
|
@ -47,7 +47,7 @@ public class CarCtrlState : IState
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
public InvokeStatus UnLockCar(SwappingStateMachine machine)
|
|
|
|
|
{
|
|
|
|
|
return Invoker.Invoke("UnLockCar", 500, 5, machine.IsCanceled,
|
|
|
|
|
return Invoker.Invoke("UnLockCar", 500, 7, machine.IsCanceled,
|
|
|
|
|
() => machine.VelUnlockFlag, () =>
|
|
|
|
|
{
|
|
|
|
|
Task<bool> result = TBoxApi.UnLockCarManyTimes(machine.RfidReadModel.VelVin);
|
|
|
|
@ -88,6 +88,6 @@ public class CarCtrlState : IState
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, false, () => { machine.ExceptionReason = ExceptionReason.UnLockCarError; }
|
|
|
|
|
, 4, InvokeStatus.None);
|
|
|
|
|
, 5, InvokeStatus.None);
|
|
|
|
|
}
|
|
|
|
|
}
|