|
@ -564,7 +564,7 @@ public class DeviceMessageHandler { |
|
|
dcWarning.setWarningSource(UniversalEnum.FOUR.getNumber()); |
|
|
dcWarning.setWarningSource(UniversalEnum.FOUR.getNumber()); |
|
|
dcWarning.setWarningState(UniversalEnum.ONE.getNumber()); |
|
|
dcWarning.setWarningState(UniversalEnum.ONE.getNumber()); |
|
|
dcWarning.setCreateTime(new Date()); |
|
|
dcWarning.setCreateTime(new Date()); |
|
|
dcWarning.setRemark("护栏碰撞上报事件:区域号为" + areaCode + "在20" + timeOfFireAlarming + direction + UniversalEnum.TAKE_PLACE.getValue() + eventType + UniversalEnum.INCIDENT.getValue()); |
|
|
dcWarning.setRemark("护栏碰撞上报事件:" + "在20" + timeOfFireAlarming + direction + UniversalEnum.TAKE_PLACE.getValue() + eventType + UniversalEnum.INCIDENT.getValue()); |
|
|
dcWarning.setWarningTitle("护栏碰撞在20" + timeOfFireAlarming + direction + UniversalEnum.TAKE_PLACE.getValue() + eventType + UniversalEnum.INCIDENT.getValue()); |
|
|
dcWarning.setWarningTitle("护栏碰撞在20" + timeOfFireAlarming + direction + UniversalEnum.TAKE_PLACE.getValue() + eventType + UniversalEnum.INCIDENT.getValue()); |
|
|
dcWarning.setOtherConfig(dataJsonObject.toJSONString()); |
|
|
dcWarning.setOtherConfig(dataJsonObject.toJSONString()); |
|
|
dcWarningService.insertDcWarning(dcWarning); |
|
|
dcWarningService.insertDcWarning(dcWarning); |
|
|