whyclxw
2022-01-06 08f626b8fee5676ba3432672673e47a9bede662a
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
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查询系统参数")
    @PostMapping("serchByCondition")
    private Response serchByCondition(@RequestParam int devId){
        return service.serchByCondition(devId);
    }
}