From b20139d8aa0e7dc810d5405f7aefed9e6bad5ff6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=85=B4=E7=90=B3?= <1911390090@qq.com> Date: Thu, 14 Nov 2024 10:52:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=87=E6=8C=A5=E8=B0=83=E5=BA=A6-=E8=AF=AD?= =?UTF-8?q?=E9=9F=B3=E5=B9=BF=E6=92=AD=EF=BC=8C=E5=A2=9E=E5=8A=A0-outVVol?= =?UTF-8?q?=20=E9=9F=B3=E9=87=8F=EF=BC=8C=E5=BE=AA=E7=8E=AF=E6=AC=A1?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../zc/business/service/impl/DcEmergencyPlansServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zc-business/src/main/java/com/zc/business/service/impl/DcEmergencyPlansServiceImpl.java b/zc-business/src/main/java/com/zc/business/service/impl/DcEmergencyPlansServiceImpl.java index bf190b9c..4d53b864 100644 --- a/zc-business/src/main/java/com/zc/business/service/impl/DcEmergencyPlansServiceImpl.java +++ b/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(); params.put("name", "task-event"); - params.put("outVVol", UniversalEnum.EIGHT.getValue()); + params.put("outVVol",otherConfig.getString("outVol")); params.put("priority", UniversalEnum.ONE.getValue()); JSONArray contentList = JSON.parseArray(otherConfig.get("contentList").toString()); JSONObject foundContent = contentList.stream() @@ -1025,7 +1025,7 @@ public class DcEmergencyPlansServiceImpl implements DcEmergencyPlansService { 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()); JSONArray termList = new JSONArray(); termList.add(JSON.parseObject(device.getOtherConfig()));