|
|
@ -116,7 +116,7 @@ public class DoSwappingState : IState
|
|
|
|
/// <returns></returns>
|
|
|
|
/// <returns></returns>
|
|
|
|
public InvokeStatus StartSwapping(SwappingStateMachine machine)
|
|
|
|
public InvokeStatus StartSwapping(SwappingStateMachine machine)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return Invoker.Invoke("UnLockCar", 1000, 5, machine.IsCanceled,
|
|
|
|
return Invoker.Invoke("StartSwapping", 1000, 5, machine.IsCanceled,
|
|
|
|
() => machine.StartSwappingFlag, () =>
|
|
|
|
() => machine.StartSwappingFlag, () =>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Task<bool> result = TBoxApi.UnLockCarManyTimes(machine.RfidReadModel.VelVin);
|
|
|
|
Task<bool> result = TBoxApi.UnLockCarManyTimes(machine.RfidReadModel.VelVin);
|
|
|
|