master
lxw 4 weeks ago
parent 1caff07cef
commit 4e4b7d9d25

@ -6,5 +6,6 @@ public enum EquipmentType
Ammeter,
WaterCool,
Plc,
BMS
BMS,
Fire,
}

@ -35,7 +35,8 @@ namespace Service.Charger.Handler
if (StaticStationInfo.AutoFireRelocation == 1)
{
if (msg.MaximumAlarmLevel == 3)
if (msg.MaximumAlarmLevel == 3|| msg.FireAlarm==1 || msg.SmokeAlarm==1 )
{
Log.Info($"receive msg.MaximumAlarmLevel = {msg.MaximumAlarmLevel} 触发自动消防移仓");
HttpUtil.SendPostRequest(client.BinNo,HttpUtil.MAIN_UER+"api/SwapMonitor/FireProtectionRelocation/");

@ -259,7 +259,7 @@ namespace Service.Charger.Handler
{
EquipTypeCode = alarmDefine.EquipTypeCode,
EquipCode = alarmDefine.EquipCode,
ErrorCode = alarmDefine.ErrorCode,
ErrorCode = errorCode,
ErrorLevel = alarmDefine.ErrorLevel,
ErrorMsg = alarmDefine.ErrorMsg,
ProcessMethod = alarmDefine.ProcessMethod,

Loading…
Cancel
Save