|
|
@ -200,7 +200,7 @@ public class SwapDoneState : IState
|
|
|
|
Task<bool> result = TBoxApi.LockCarManyTimes(machine.RfidReadModel.VelVin);
|
|
|
|
Task<bool> result = TBoxApi.LockCarManyTimes(machine.RfidReadModel.VelVin);
|
|
|
|
|
|
|
|
|
|
|
|
bool unLock = result.Result;
|
|
|
|
bool unLock = result.Result;
|
|
|
|
if (unLock)
|
|
|
|
if (unLock|| machine.ManualConfirmCarLockFlag)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
//查询车辆锁止状态
|
|
|
|
//查询车辆锁止状态
|
|
|
@ -211,7 +211,7 @@ public class SwapDoneState : IState
|
|
|
|
machine,param: $"lock: {unLock} ; heartMsg: {JsonConvert.SerializeObject(carInfo.Result)}",type:
|
|
|
|
machine,param: $"lock: {unLock} ; heartMsg: {JsonConvert.SerializeObject(carInfo.Result)}",type:
|
|
|
|
machine.ManualConfirmCarLockFlag? (int)SwapConstant.StepType.MANUAL :
|
|
|
|
machine.ManualConfirmCarLockFlag? (int)SwapConstant.StepType.MANUAL :
|
|
|
|
(int)SwapConstant.StepType.AUTO);
|
|
|
|
(int)SwapConstant.StepType.AUTO);
|
|
|
|
|
|
|
|
machine.ManualConfirmCarLockFlag = false;
|
|
|
|
//_CommonMgr.InsertStep(InfoEnum.BusinessSwappingStep.VelLockFlag,
|
|
|
|
//_CommonMgr.InsertStep(InfoEnum.BusinessSwappingStep.VelLockFlag,
|
|
|
|
// machine);
|
|
|
|
// machine);
|
|
|
|
var SoundClient = AppInfo.Container.Resolve<SoundClient>();
|
|
|
|
var SoundClient = AppInfo.Container.Resolve<SoundClient>();
|
|
|
|