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