车辆解锁上锁播报 时间设置

master
lxw 5 months ago
parent 8c13a3e225
commit 46c76f21f5

@ -50,7 +50,7 @@ public class CarCtrlState : IState
/// <returns></returns> /// <returns></returns>
public InvokeStatus UnLockCar(SwappingStateMachine machine) public InvokeStatus UnLockCar(SwappingStateMachine machine)
{ {
return Invoker.Invoke("UnLockCar", 500, 100, machine.IsCanceled, return Invoker.Invoke("UnLockCar", 500, 10, machine.IsCanceled,
() => machine.VelUnlockFlag, () => () => machine.VelUnlockFlag, () =>
{ {
Task<bool> result = TBoxApi.UnLockCarManyTimes(machine.RfidReadModel.VelVin); Task<bool> result = TBoxApi.UnLockCarManyTimes(machine.RfidReadModel.VelVin);

@ -93,7 +93,7 @@ public class SwapDoneState : IState
/// <returns></returns> /// <returns></returns>
public InvokeStatus LockCar(SwappingStateMachine machine) public InvokeStatus LockCar(SwappingStateMachine machine)
{ {
return Invoker.Invoke("LockCar", 500, 100, machine.IsCanceled, machine.IsManualSwapSucc, return Invoker.Invoke("LockCar", 500, 10, machine.IsCanceled, machine.IsManualSwapSucc,
() => machine.VelLockFlag, () => () => machine.VelLockFlag, () =>
{ {
Task<bool> result = TBoxApi.LockCarManyTimes(machine.RfidReadModel.VelVin); Task<bool> result = TBoxApi.LockCarManyTimes(machine.RfidReadModel.VelVin);

Loading…
Cancel
Save