|
|
@ -303,6 +303,8 @@ public class MegaphoneController { |
|
|
|
Map<String,Object> map = new HashMap<>(); |
|
|
|
map.put("labelEn",type); |
|
|
|
map.put("deviceSn",objectMap.get("deviceSn")); |
|
|
|
map.put("jobId",objectMap.get("jobId")); |
|
|
|
map.put("jobName",objectMap.get("jobName")); |
|
|
|
StreamTypeDTO param1 = Convert.convert(StreamTypeDTO.class, map); |
|
|
|
gatewayPublish.publish(topTow,new CommonTopicRequest<>() |
|
|
|
.setData(Objects.requireNonNull(param1)),1); |
|
|
@ -347,6 +349,8 @@ public class MegaphoneController { |
|
|
|
Map<String,Object> map = new HashMap<>(); |
|
|
|
map.put("labelEn",type); |
|
|
|
map.put("deviceSn",objectMap.get("deviceSn")); |
|
|
|
map.put("jobId",objectMap.get("jobId")); |
|
|
|
map.put("jobName",objectMap.get("jobName")); |
|
|
|
StreamTypeDTO param1 = Convert.convert(StreamTypeDTO.class, map); |
|
|
|
gatewayPublish.publish(topTow,new CommonTopicRequest<>() |
|
|
|
.setData(Objects.requireNonNull(param1)),1); |
|
|
|