From f7c839be2d51e861ce09551536bda4b329e86a6c Mon Sep 17 00:00:00 2001 From: lxw Date: Mon, 15 Jul 2024 10:26:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AC=A2=E8=BF=8E=E5=85=89=E4=B8=B4=20--?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Service/Execute/Step/StationReadyState.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Service/Execute/Step/StationReadyState.cs b/Service/Execute/Step/StationReadyState.cs index ec82834..47bc502 100644 --- a/Service/Execute/Step/StationReadyState.cs +++ b/Service/Execute/Step/StationReadyState.cs @@ -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");