| | |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | @RestController |
| | | @Api(tags = "测控电源设备遥信量设置") |
| | | @Api(tags = "电源遥信量设置") |
| | | @RequestMapping("ckPowerDevSignalSet") |
| | | public class CKPowerDevSignalSetController { |
| | | |
| | |
| | | @PostMapping("update") |
| | | public Response update(@RequestBody CKPowerDevSignalSet set){ |
| | | return service.update(set); |
| | | } |
| | | |
| | | @ApiOperation("设置-开关真实值") |
| | | @PostMapping("updateSwitchForReal") |
| | | public Response updateSwitchForReal(@RequestBody CKPowerDevSignalSet set){ |
| | | return service.updateSwitchForReal(set); |
| | | } |
| | | |
| | | } |