diff --git a/Service/Execute/Step/CarPrepareState.cs b/Service/Execute/Step/CarPrepareState.cs
index 8abec6e..1ba6495 100644
--- a/Service/Execute/Step/CarPrepareState.cs
+++ b/Service/Execute/Step/CarPrepareState.cs
@@ -184,7 +184,7 @@ public class CarPrepareState : IState
///
public InvokeStatus CheckTBoxConnectFlag(SwappingStateMachine machine)
{
- return Invoker.Invoke("check TBox connect", 1000, 20, machine.IsCanceled,
+ return Invoker.Invoke("check TBox connect", 1000, 100, machine.IsCanceled,
() => machine.BoxConnectFlag, () =>
{
Task result = TBoxApi.IsConnected();
@@ -193,13 +193,14 @@ public class CarPrepareState : IState
{
machine.BoxConnectFlag = true;
}
- }, () => { machine.ExceptionReason = ExceptionReason.ConnTBoxError; }, false, () =>
+ }, () => { machine.ExceptionReason = ExceptionReason.ConnTBoxError;
+ SoundTool.PlayOneSound((int)InfoEnum.SwapInfo.ErrorTBoxConn);}, false, () =>
{
machine.ExceptionReason = ExceptionReason.ConnTBoxError;
// machine.LedTool?.WriteProgramContent(InfoEnum.SwapInfo.ErrorTBoxConn.GetLed());
- SoundTool.PlayOneSound((int)InfoEnum.SwapInfo.ErrorTBoxConn);
+
}
- , 10, InvokeStatus.None);
+ , 30, InvokeStatus.None);
}