12345678910111213141516171819202122232425262728293031 |
- package com.usky.iot;
- import com.usky.iot.factory.RemoteIotTaskFactory;
- import com.usky.iot.factory.RemotePmFactory;
- import org.apache.ibatis.annotations.Param;
- import org.springframework.cloud.openfeign.FeignClient;
- import org.springframework.web.bind.annotation.GetMapping;
- import org.springframework.web.bind.annotation.RequestParam;
- @FeignClient(contextId = "RemoteIotTaskService", value = "service-iot" , fallbackFactory = RemoteIotTaskFactory.class)
- public interface RemoteIotTaskService {
- @GetMapping("/dataOverviewJobData")
- void dataOverviewJobData();
- @GetMapping("/deviceStatus")
- void deviceStatus();
- @GetMapping("/deviceOffLineAlarm")
- void deviceOffLineAlarm();
- @GetMapping("/customInfoStatus")
- void customInfoStatus();
- @GetMapping("/addDeviceInfo")
- 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);
- @GetMapping("/deleteDeviceInfo")
- void deleteDeviceInfo(@RequestParam(value = "deviceUuid") String deviceUuid);
- }
|