RemoteIotTaskService.java 1.3 KB

12345678910111213141516171819202122232425262728293031
  1. package com.usky.iot;
  2. import com.usky.iot.factory.RemoteIotTaskFactory;
  3. import com.usky.iot.factory.RemotePmFactory;
  4. import org.apache.ibatis.annotations.Param;
  5. import org.springframework.cloud.openfeign.FeignClient;
  6. import org.springframework.web.bind.annotation.GetMapping;
  7. import org.springframework.web.bind.annotation.RequestParam;
  8. @FeignClient(contextId = "RemoteIotTaskService", value = "service-iot" , fallbackFactory = RemoteIotTaskFactory.class)
  9. public interface RemoteIotTaskService {
  10. @GetMapping("/dataOverviewJobData")
  11. void dataOverviewJobData();
  12. @GetMapping("/deviceStatus")
  13. void deviceStatus();
  14. @GetMapping("/deviceOffLineAlarm")
  15. void deviceOffLineAlarm();
  16. @GetMapping("/customInfoStatus")
  17. void customInfoStatus();
  18. @GetMapping("/addDeviceInfo")
  19. void addDeviceInfo(@RequestParam("productCode") String productCode, @RequestParam(value = "deviceUuid") String deviceUuid, @RequestParam(value = "deviceId") String deviceId, @RequestParam(value = "deviceName") String deviceName, @RequestParam(value = "installAddress") String installAddress, @RequestParam(value = "serviceStatus") Integer serviceStatus);
  20. @GetMapping("/deleteDeviceInfo")
  21. void deleteDeviceInfo(@RequestParam(value = "deviceUuid") String deviceUuid);
  22. }