| | |
| | | @Api(tags ="在线监测-实时监控") |
| | | @RestController |
| | | @RequestMapping("Fbs9100_sysparamAction") |
| | | public class Fbs9100SysparamController { |
| | | public class Fbs9100SysparamController extends BaseController{ |
| | | @Autowired |
| | | private Fbs9100SysparamService service; |
| | | |
| | |
| | | |
| | | @ApiOperation(value = "根据设备id查询系统参数") |
| | | @GetMapping("serchByCondition") |
| | | public Response serchByCondition(@RequestParam int devId){ |
| | | public Response serchByCondition(@RequestParam int devId) { |
| | | return service.serchByCondition(devId); |
| | | } |
| | | |
| | | @ApiOperation(value = "均衡控制参数设置-获取参数") |
| | | @GetMapping("searchJunHengParam") |
| | | public Response searchJunHengParam(@RequestParam int devId){ |
| | | public Response searchJunHengParam(@RequestParam int devId) { |
| | | return service.searchJunHengParam(devId); |
| | | } |
| | | @ApiOperation(value = "均衡控制参数设置-设置参数",notes="JunHeng_Enabled,JunHeng_StVol,JunHeng_StCurr,dev_id,opCmd") |
| | | |
| | | @ApiOperation(value = "均衡控制参数设置-设置参数", notes = "JunHeng_Enabled,JunHeng_StVol,JunHeng_StCurr,dev_id,opCmd") |
| | | @PostMapping("update61850JunHeng") |
| | | public Response update61850JunHeng(@RequestBody Fbs9100Sysparam fbs9100Sysparam){ |
| | | public Response update61850JunHeng(@RequestBody Fbs9100Sysparam fbs9100Sysparam) { |
| | | return service.update61850JunHeng(fbs9100Sysparam); |
| | | } |
| | | |
| | | @ApiOperation(value = "并联设备-获取参数") |
| | | @GetMapping("searchBL") |
| | | public Response searchBL(@RequestParam int devId) { |
| | | return service.searchBL(devId); |
| | | } |
| | | |
| | | @ApiOperation(value = "并联设备-设置参数", notes = "floatChargeVolt,disChargeVolt,dischargeVoltLimit,monomerLowVolt,monomerLowCount,autoEQChargeStartimeTime,autoEQChargetTime,opCmd(命令59),devId") |
| | | @PostMapping("updateBL") |
| | | public Response updateBL(@RequestBody Fbs9100Sysparam fbs9100Sysparam) { |
| | | return service.updateBL(fbs9100Sysparam); |
| | | } |
| | | |
| | | @ApiOperation(value = "设置参数-61851参数") |
| | | @PostMapping("update61851") |
| | | public Response update61851(@RequestBody Fbs9100Sysparam fbs9100Sysparam) { |
| | | return service.update61851(fbs9100Sysparam); |
| | | } |
| | | |
| | | @ApiOperation(value = "读取参数-61851参数") |
| | | @PostMapping("search61851") |
| | | public Response search61851(@RequestParam int devId,@RequestParam int opCmd) { |
| | | return service.search61851(devId,opCmd); |
| | | } |
| | | |
| | | @ApiOperation(value = "设置参数-配网电源参数") |
| | | @PostMapping("updatePW") |
| | | public Response updatePW(@RequestBody Fbs9100Sysparam fbs9100Sysparam) { |
| | | return service.updatePW(fbs9100Sysparam); |
| | | } |
| | | |
| | | @ApiOperation(value = "读取参数-配网电源参数") |
| | | @PostMapping("searchPW") |
| | | public Response searchPW(@RequestParam int devId,@RequestParam int opCmd) { |
| | | return service.search61851(devId,opCmd); |
| | | } |
| | | |
| | | } |