diff --git a/Rs.DeweyTester/Commom/Msgbox.cs b/Rs.DeweyTester/Commom/Msgbox.cs index 37e816d..87980d8 100644 --- a/Rs.DeweyTester/Commom/Msgbox.cs +++ b/Rs.DeweyTester/Commom/Msgbox.cs @@ -50,8 +50,9 @@ namespace Rs.MotionPlat.Commom if(warning) { BuzzerManager.Instance.On(); + LightManger.Instance.SetStatus(ELightStatus.Red); } - LightManger.Instance.SetStatus(ELightStatus.Red); + string logInfo = $"{alarmInfo.CN}"; LogHelper.Debug(logInfo); EButtonType ret = EButtonType.None; @@ -77,6 +78,7 @@ namespace Rs.MotionPlat.Commom if (warning) { BuzzerManager.Instance.Off(); + LightManger.Instance.SetStatus(ELightStatus.Green); } } return ret;