whyclxw
2022-01-10 b2cf9137eb6eb09bebf867e3c4c23c818bcf103e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package com.whyc.controller;
 
import com.whyc.dto.Response;
import com.whyc.pojo.Fbs9100Setparam;
import com.whyc.service.Fbs9100SetparamService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
 
@Api(tags = "作业管理-放电计划管理")
@RestController
@RequestMapping("Fbs9100_setparamAction")
public class Fbs9100SetparamController {
    @Autowired
    private Fbs9100SetparamService service;
 
    @ApiOperation(value = "查询设备的参数",notes = "等10s响应")
    @GetMapping("/serchdevParam")
    private Response serchdevParam(@RequestParam int devId){
        return  service.serchdevParam(devId);
    }
 
    @ApiOperation("在线监测-实时监控-BTS停止")
    @GetMapping("serchbyDev_id")
    private Response serchbyDev_id(@RequestParam int num, Integer testCmd,@RequestParam int devId){
        return service.serchbyDev_id(num,testCmd,devId);
    }
 
    @ApiOperation("在线监测-实时监控-重启设备")
    @PostMapping("updateMaintain")
    private Response updateMaintain(@RequestBody Fbs9100Setparam fbs9100Setparam){
        return service.updateMaintain(fbs9100Setparam);
    }
    @ApiOperation(value = "在线监测-实时监控-BTS放电参数设置",notes = "Fbs9100_setparamAction_action_update")
    @PostMapping("update")
    private Response update(@RequestBody Fbs9100Setparam fbs9100Setparam){
        return service.update(fbs9100Setparam);
    }
    @ApiOperation("在线监测-实时监控-61850放电参数设置")
    @PostMapping("updateld6Param")
    private Response updateld6Param(@RequestBody Fbs9100Setparam fbs9100Setparam){
        return service.updateld6Param(fbs9100Setparam);
    }
}