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
package com.whyc.controller;
 
import com.whyc.dto.Response;
import com.whyc.pojo.Fbs9100Sysparam;
import com.whyc.service.Fbs9100SysparamService;
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_sysparamAction")
public class Fbs9100SysparamController {
    @Autowired
    private Fbs9100SysparamService service;
 
    @ApiOperation(value = "清除告警/重启",notes = "num,devId(num为16,184只有前2项),GroupVolSorce,CurrentTyte,MonomerOrder,PowerBreakChargeCurr,pofBgBoostVolstop,pofBgBoostVolstart")
    @PostMapping("update61850")
    private Response update61850(@RequestBody Fbs9100Sysparam fbs9100Sysparam){
        return service.update61850(fbs9100Sysparam);
    }
 
    @ApiOperation(value = "根据设备id查询系统参数")
    @GetMapping("serchByCondition")
    private Response serchByCondition(@RequestParam int devId){
        return service.serchByCondition(devId);
    }
 
    @ApiOperation(value = "均衡控制参数设置-获取参数")
    @GetMapping("searchJunHengParam")
    private Response searchJunHengParam(@RequestParam int devId){
        return service.searchJunHengParam(devId);
    }
    @ApiOperation(value = "均衡控制参数设置-设置参数",notes="JunHeng_Enabled,JunHeng_StVol,JunHeng_StCurr,dev_id,opCmd")
    @PostMapping("update61850JunHeng")
    private Response update61850JunHeng(@RequestBody Fbs9100Sysparam fbs9100Sysparam){
        return service.update61850JunHeng(fbs9100Sysparam);
    }
}