|
@ -304,7 +304,7 @@ public class MegaphoneController { |
|
|
map.put("labelEn",type); |
|
|
map.put("labelEn",type); |
|
|
map.put("deviceSn",objectMap.get("deviceSn")); |
|
|
map.put("deviceSn",objectMap.get("deviceSn")); |
|
|
StreamTypeDTO param1 = Convert.convert(StreamTypeDTO.class, map); |
|
|
StreamTypeDTO param1 = Convert.convert(StreamTypeDTO.class, map); |
|
|
gatewayPublish.publish(top,new CommonTopicRequest<>() |
|
|
gatewayPublish.publish(topTow,new CommonTopicRequest<>() |
|
|
.setData(Objects.requireNonNull(param1)),1); |
|
|
.setData(Objects.requireNonNull(param1)),1); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
@ -348,7 +348,7 @@ public class MegaphoneController { |
|
|
map.put("labelEn",type); |
|
|
map.put("labelEn",type); |
|
|
map.put("deviceSn",objectMap.get("deviceSn")); |
|
|
map.put("deviceSn",objectMap.get("deviceSn")); |
|
|
StreamTypeDTO param1 = Convert.convert(StreamTypeDTO.class, map); |
|
|
StreamTypeDTO param1 = Convert.convert(StreamTypeDTO.class, map); |
|
|
gatewayPublish.publish(top,new CommonTopicRequest<>() |
|
|
gatewayPublish.publish(topTow,new CommonTopicRequest<>() |
|
|
.setData(Objects.requireNonNull(param1)),1); |
|
|
.setData(Objects.requireNonNull(param1)),1); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|