Browse Source

Merge remote-tracking branch 'origin/develop' into develop

develop
wangsixiang 2 weeks ago
parent
commit
84de9617c8
  1. 4
      zc-business/src/main/java/com/zc/business/service/impl/DcEmergencyPlansServiceImpl.java

4
zc-business/src/main/java/com/zc/business/service/impl/DcEmergencyPlansServiceImpl.java

@ -995,7 +995,7 @@ public class DcEmergencyPlansServiceImpl implements DcEmergencyPlansService {
// 路段广播 // 路段广播
JSONObject params = new JSONObject(); JSONObject params = new JSONObject();
params.put("name", "task-event"); params.put("name", "task-event");
params.put("outVVol", UniversalEnum.EIGHT.getValue()); params.put("outVVol",otherConfig.getString("outVol"));
params.put("priority", UniversalEnum.ONE.getValue()); params.put("priority", UniversalEnum.ONE.getValue());
JSONArray contentList = JSON.parseArray(otherConfig.get("contentList").toString()); JSONArray contentList = JSON.parseArray(otherConfig.get("contentList").toString());
JSONObject foundContent = contentList.stream() JSONObject foundContent = contentList.stream()
@ -1025,7 +1025,7 @@ public class DcEmergencyPlansServiceImpl implements DcEmergencyPlansService {
params.put("text", foundContent.getString("content")); params.put("text", foundContent.getString("content"));
} }
params.put("repeatTimes", UniversalEnum.THREE.getValue()); params.put("repeatTimes", otherConfig.getString("repeatTimes"));
params.put("functionType", UniversalEnum.START_PA_TTS.getValue()); params.put("functionType", UniversalEnum.START_PA_TTS.getValue());
JSONArray termList = new JSONArray(); JSONArray termList = new JSONArray();
termList.add(JSON.parseObject(device.getOtherConfig())); termList.add(JSON.parseObject(device.getOtherConfig()));

Loading…
Cancel
Save