|
|
|
@ -116,8 +116,7 @@ public class StationReadyState : IState
|
|
|
|
|
if (PlcApi.WriteEntranceLamp(1000))
|
|
|
|
|
{
|
|
|
|
|
//LED显示-欢迎光临_换电站点_正在营业
|
|
|
|
|
string welcomeContent = "欢迎光临" + StaticStationInfo.StationName + "正在营业";
|
|
|
|
|
SoundApi.PlayOneSound((int)InfoEnum.SwapInfo.WelcomeInfo);
|
|
|
|
|
|
|
|
|
|
// machine.LedTool?.WriteContent(welcomeContent);
|
|
|
|
|
//查看雷达
|
|
|
|
|
isRemote = true;
|
|
|
|
@ -142,6 +141,8 @@ public class StationReadyState : IState
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
SoundApi.PlayOneSound((int)InfoEnum.SwapInfo.WelcomeInfo);
|
|
|
|
|
Thread.Sleep(2000);
|
|
|
|
|
SoundApi.PlayOneSound((int)InfoEnum.SwapInfo.CarInInfo);
|
|
|
|
|
machine.ExceptionReason = ExceptionReason.None;
|
|
|
|
|
_log.Info("entrance radar true");
|
|
|
|
|