|
|
@@ -85,13 +85,10 @@ public class WebsocketServiceImpl implements WebsocketService, RouterService {
|
|
|
|
|
|
@Override
|
|
|
public void invokeBaseDeviceInfoForSchedule() {
|
|
|
- LogUtils.WEBSOCKET_MSG.info("开始执行获取获取设备基础数据任务........");
|
|
|
List<String> categories = Arrays.asList(WebSocketConstants.DVS, WebSocketConstants.ALARM_HOST);
|
|
|
JSONObject args = new JSONObject();
|
|
|
args.put("categories", categories);
|
|
|
-
|
|
|
- final WebsocketResult result = IotServerUtils.invokeIotServer(iotServerDeviceTopic, WebSocketConstants.GET_DEVICE_BASE_INFOS, args);
|
|
|
- LogUtils.WEBSOCKET_MSG.info("获取设备基础数据,发送消息内容:{}", JacksonUtils.toJSONString(result));
|
|
|
+ IotServerUtils.invokeIotServer(iotServerDeviceTopic, WebSocketConstants.GET_DEVICE_BASE_INFOS, args);
|
|
|
}
|
|
|
|
|
|
@Override
|