|
|
@ -50,8 +50,9 @@ namespace Rs.MotionPlat.Commom
|
|
|
|
if(warning)
|
|
|
|
if(warning)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
BuzzerManager.Instance.On();
|
|
|
|
BuzzerManager.Instance.On();
|
|
|
|
|
|
|
|
LightManger.Instance.SetStatus(ELightStatus.Red);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
LightManger.Instance.SetStatus(ELightStatus.Red);
|
|
|
|
|
|
|
|
string logInfo = $"{alarmInfo.CN}";
|
|
|
|
string logInfo = $"{alarmInfo.CN}";
|
|
|
|
LogHelper.Debug(logInfo);
|
|
|
|
LogHelper.Debug(logInfo);
|
|
|
|
EButtonType ret = EButtonType.None;
|
|
|
|
EButtonType ret = EButtonType.None;
|
|
|
@ -77,6 +78,7 @@ namespace Rs.MotionPlat.Commom
|
|
|
|
if (warning)
|
|
|
|
if (warning)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
BuzzerManager.Instance.Off();
|
|
|
|
BuzzerManager.Instance.Off();
|
|
|
|
|
|
|
|
LightManger.Instance.SetStatus(ELightStatus.Green);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return ret;
|
|
|
|
return ret;
|
|
|
|