|
|
@ -619,6 +619,11 @@ if (meteorologicalDetectorData.getPrecipitationType().equals("1")){ |
|
|
|
String string = object.toString(); |
|
|
|
|
|
|
|
DcWarning dcWarning = new DcWarning(); |
|
|
|
dcWarning.setWarningState(1); |
|
|
|
dcWarning.setRemark(content); |
|
|
|
dcWarning.setWarningTime(new Date()); |
|
|
|
dcWarning.setWarningType(8); |
|
|
|
dcWarning.setWarningSubclass("8-1"); |
|
|
|
dcWarning.setStakeMark(stakeMark); |
|
|
|
|
|
|
|
dcWarning.setWarningSource(7);//气象检测器
|
|
|
@ -655,6 +660,11 @@ if (meteorologicalDetectorData.getPrecipitationType().equals("1")){ |
|
|
|
object.put("meteorologicalDetectorData", meteorologicalDetectorData); |
|
|
|
String string = object.toString(); |
|
|
|
DcWarning dcWarning = new DcWarning(); |
|
|
|
dcWarning.setWarningState(1); |
|
|
|
dcWarning.setRemark(content); |
|
|
|
dcWarning.setWarningTime(new Date()); |
|
|
|
dcWarning.setWarningType(8); |
|
|
|
dcWarning.setWarningSubclass("8-4"); |
|
|
|
dcWarning.setStakeMark(stakeMark); |
|
|
|
dcWarning.setWarningSource(7);//气象检测器
|
|
|
|
dcWarning.setOtherConfig(string); |
|
|
|