| | |
| | | package com.whyc.controller; |
| | | |
| | | import com.sun.jna.platform.win32.OaIdl; |
| | | import com.whyc.dto.Response; |
| | | import com.whyc.pojo.Fbs9100Setparam; |
| | | import com.whyc.service.Fbs9100SetparamService; |
| | |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.Date; |
| | | |
| | | @Api(tags = "作业管理-放电计划管理") |
| | | @RestController |
| | |
| | | return service.updateLD6StartTest(devId); |
| | | } |
| | | |
| | | @ApiOperation(tags = "设置参数", value = "设置参数-61850-同步时间") |
| | | @GetMapping("update61850SyncTime") |
| | | public Response update61850SyncTime(@RequestParam int devId,@RequestParam String syncTime) { |
| | | return service.update61850SyncTime(devId,syncTime); |
| | | } |
| | | |
| | | @ApiOperation(tags = "设置参数", value = "设置参数-LD6-停止测试") |
| | | @PostMapping("updateLD6StopTest") |
| | | public Response updateLD6StopTest(@RequestParam int devId) { |
| | | return service.updateLD6StopTest(devId); |
| | | } |
| | | @ApiOperation(tags = "设置参数", value = "读取参数-智能母联") |
| | | @GetMapping("searchML") |
| | | public Response searchML(@RequestParam int devId){ |
| | | return service.searchML(devId); |
| | | } |
| | | |
| | | @ApiOperation(tags = "设置参数", value = "设置参数-智能母联") |
| | | @PostMapping("updateML") |
| | | public Response updateML(@RequestBody Fbs9100Setparam param) { |
| | | return service.updateML(param); |
| | | } |
| | | |
| | | @ApiOperation(tags = "设置参数", value = "设置参数-通用启动|停止 DCDC") |
| | | @PostMapping("updateStartOrStopTest") |
| | | public Response updateStartOrStopTest(@RequestParam int devId,@RequestParam int opCmd,@RequestParam int testCmd) { |
| | | return service.updateOpCmdAndTestCmd(devId,opCmd,testCmd); |
| | | } |
| | | |
| | | @ApiOperation(tags = "在线监测-实时监控", value = "在线监测-实时监控-读取9612放电参数") |
| | | @GetMapping("searchFBS9612Param") |