欢迎光临 --

master
lxw 4 months ago
parent f5285ee1ed
commit f7c839be2d

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

Loading…
Cancel
Save