|
|
@ -564,7 +564,7 @@ public class DeviceMessageHandler { |
|
|
|
dcWarning.setWarningSource(UniversalEnum.FOUR.getNumber()); |
|
|
|
dcWarning.setWarningState(UniversalEnum.ONE.getNumber()); |
|
|
|
dcWarning.setCreateTime(new Date()); |
|
|
|
dcWarning.setRemark("护栏碰撞上报事件:" + "在20" + timeOfFireAlarming + direction + UniversalEnum.TAKE_PLACE.getValue() + eventType + UniversalEnum.INCIDENT.getValue()); |
|
|
|
dcWarning.setRemark(UniversalEnum.TWENTY.getValue() + timeOfFireAlarming + UniversalEnum.BLANK_SPACE.getValue() + direction + UniversalEnum.BLANK_SPACE.getValue() + 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()); |
|
|
|
dcWarningService.insertDcWarning(dcWarning); |
|
|
|