换电流程 步骤名日志记录修改

master
lxw 5 months ago
parent db34f6d66f
commit a8ff577ab1

@ -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);

Loading…
Cancel
Save