Commit 77d82bfc by 杨林龙

优化警情报警逻辑

1 parent cf6f5303
......@@ -182,9 +182,8 @@ public class GpsAlarmService {
if (source == Constants.NO_SOURCE_DEVICE) {
// 无源设备的断电就是光感
hashAlarm.put(Constants.GPS_ALARM_LIGHTALARM, alarm.getBlackOut());
} else {
hashAlarm.put(Constants.GPS_ALARM_LIGHTALARM, alarm.getLightAlarm());
}
// 屏蔽掉有源的光感
}
/**
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!