|
|
@ -1178,9 +1178,18 @@ public class DcEmergencyPlansServiceImpl implements DcEmergencyPlansService { |
|
|
|
config.put("time",jsonObject.get("startTime").toString() +"-"+jsonObject.get("endTime").toString()); |
|
|
|
} |
|
|
|
|
|
|
|
}else if (dcExecuteAction.getDeviceType() == DeviceTypeConstants.VARIABLE_INFORMATION_FLAG || |
|
|
|
dcExecuteAction.getDeviceType() == DeviceTypeConstants.ROAD_SECTION_VOICE_BROADCASTING) { |
|
|
|
// 情报板/语音广播
|
|
|
|
}else if (dcExecuteAction.getDeviceType() == DeviceTypeConstants.VARIABLE_INFORMATION_FLAG ) { |
|
|
|
// 情报板
|
|
|
|
if (jsonObject.getString("operationType").equals("1")) { |
|
|
|
JSONObject dcInfoBoardTemplate = JSON.parseObject(jsonObject.get("dcInfoBoardTemplate").toString()) ; |
|
|
|
config.put("content",dcInfoBoardTemplate.get("content")); |
|
|
|
}else { |
|
|
|
config.put("operationType","智能发布"); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
else if (dcExecuteAction.getDeviceType() == DeviceTypeConstants.ROAD_SECTION_VOICE_BROADCASTING) { |
|
|
|
// 语音广播
|
|
|
|
if (jsonObject.getString("operationType").equals("1")) { |
|
|
|
config.put("content",jsonObject.get("content")); |
|
|
|
}else { |
|
|
|