|
|
@ -72,6 +72,7 @@ public class DoSwappingState : IState
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return SwappingStateMachine.ReturnWithInvokeErr(oldBatteryCarryIn, ExceptionReason.None);
|
|
|
|
return SwappingStateMachine.ReturnWithInvokeErr(oldBatteryCarryIn, ExceptionReason.None);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
_CommonMgr.SaveSwapBattery(machine);
|
|
|
|
|
|
|
|
|
|
|
|
//新电池搬运
|
|
|
|
//新电池搬运
|
|
|
|
InvokeStatus newBatteryCarryOut = NewBatteryCarryOut(machine);
|
|
|
|
InvokeStatus newBatteryCarryOut = NewBatteryCarryOut(machine);
|
|
|
@ -93,7 +94,7 @@ public class DoSwappingState : IState
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return SwappingStateMachine.ReturnWithInvokeErr(packFinish, ExceptionReason.None);
|
|
|
|
return SwappingStateMachine.ReturnWithInvokeErr(packFinish, ExceptionReason.None);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//航车回归安全位置
|
|
|
|
//航车回归安全位置
|
|
|
|
InvokeStatus toInvokeStatus = ToSafePosition(machine);
|
|
|
|
InvokeStatus toInvokeStatus = ToSafePosition(machine);
|
|
|
|