diff --git a/Entity/Constant/InfoEnum.cs b/Entity/Constant/InfoEnum.cs index 99e9eed..71d6d88 100644 --- a/Entity/Constant/InfoEnum.cs +++ b/Entity/Constant/InfoEnum.cs @@ -41,7 +41,10 @@ public class InfoEnum [Info("换电站处于手动模式,不能自动换电","换电站处于手动模式,不能自动换电")] InfoStationModel, [Info("换电站处于本地模式,不能远程换电","换电站处于本地模式,不能远程换电")] InfoStationModelRemoteErr, + + [Info("车辆驶入","车辆驶入")] CarInInfo, } + public enum SelectBinStatusInfo : byte { diff --git a/Service/Execute/Step/StationReadyState.cs b/Service/Execute/Step/StationReadyState.cs index e006487..0c5a7fe 100644 --- a/Service/Execute/Step/StationReadyState.cs +++ b/Service/Execute/Step/StationReadyState.cs @@ -140,6 +140,7 @@ public class StationReadyState : IState } else { + SoundTool.PlayOneSound((int)InfoEnum.SwapInfo.CarInInfo); machine.ExceptionReason = ExceptionReason.None; _log.Info("entrance radar true"); machine.RadarInFlag = true; @@ -169,7 +170,7 @@ public class StationReadyState : IState // machine.LedTool.WriteProgramContent(InfoEnum.SwapInfo.ErrorReadRfid.GetLed()); SoundTool.PlayOneSound((int)InfoEnum.SwapInfo.ErrorReadRfid); }, false, () => { machine.ExceptionReason = ExceptionReason.ReadRfidError; } - , 1, InvokeStatus.TimeOut); + , 3, InvokeStatus.TimeOut); } /// @@ -183,11 +184,11 @@ public class StationReadyState : IState var statusDes = BaseEnumExtensions.GetEnumDescriptionByCode( StaticStationInfo.StationStatus); - _log.Info($"换电站处于{statusDes}状态"); + _log.Info($"站控处于{statusDes}状态"); var wayDes = BaseEnumExtensions.GetEnumDescriptionByCode( StaticStationInfo.StationWay); - _log.Info($"换电站处于{wayDes}模式"); + _log.Info($"站控处于{wayDes}模式"); if (StationConstant.StationStatus.Run == BaseEnumExtensions.GetEnumByCode(StaticStationInfo.StationStatus) diff --git a/Service/Service.csproj b/Service/Service.csproj index 5fabb68..2f92105 100644 --- a/Service/Service.csproj +++ b/Service/Service.csproj @@ -39,8 +39,4 @@ - - - -