| | |
| | | return service.updateFBO4830Param(a059setParam); |
| | | } |
| | | |
| | | @ApiOperation(tags = "在线监测-实时监控", value = "在线监测-实时监控-控制FBO_4830充放电停止") |
| | | @GetMapping("controllerFBO4830") |
| | | public Response controllerFBO4830(@RequestParam int opCmd, @RequestParam int devId) { |
| | | return service.controllerFBO4830(opCmd, devId); |
| | | } |
| | | |
| | | |
| | | @ApiOperation(tags = "在线监测-实时监控", value = "在线监测-实时监控-读取kgdy放电参数") |
| | | @GetMapping("searchKgdyParam") |
| | | public Response searchKgdyParam(@RequestParam int opCmd, @RequestParam int devId) { |
| | |
| | | public static final int CMD_SetMultModeParam_Ack = 0x3D; //设置并联电源模块参数成功 |
| | | |
| | | /** |
| | | * 电源一体机 充电/放电/活化测试命令/文件命令 |
| | | * 电源一体机 充电/放电/活化测试命令/文件命令/FBO4830控制 |
| | | */ |
| | | //-----------------------------启动/停止放电测试命令 |
| | | public static final int CMD_StartDischarge = 0x25; //启动放电 |
| | |
| | | public static final int CMD_EOperatingSwitch_ControlSwitch = 0x57; //电操开关控制命令 |
| | | public static final int CMD_EOperatingSwitch_ControlSwitchAck = 0x58; //电操开关控制成功 |
| | | |
| | | |
| | | } |
| | |
| | | case FBS9100_ComBase.CMD_ResetSystem: |
| | | m_cmd_ack = FBS9100_ComBase.CMD_ResetSystemAck; |
| | | break; |
| | | //一体机A059 |
| | | //一体机A059/fbo4830 |
| | | case FBS9100_ComBase.CMD_StartDischarge: |
| | | m_cmd_ack = FBS9100_ComBase.CMD_StartDischargeAck; |
| | | break; |
| | |
| | | return new Response().set(1, bl, bl == true ? "修改参数成功!" : "设置A059参数失败,请检查网络!"); |
| | | } |
| | | |
| | | //在线监测-实时监控-控制FBO_4830充放电停止 |
| | | public Response controllerFBO4830(int opCmd, int devId) { |
| | | boolean bl = sendCmdToFBS9100Dev(opCmd, 0, devId); |
| | | return new Response().set(1, bl, bl == true ? "操控FBO4830成功!" : "操控FBO4830失败,请检查网络!"); |
| | | } |
| | | |
| | | //在线监测-实时监控-读取kgdy放电参数 |
| | | public Response searchKgdyParam(int opCmd, int devId) { |
| | | PageHelper.startPage(1, 1); |
| | |
| | | } |
| | | return new Response().set(1, bl, bl == true ? "修改参数成功!" : "设置A059参数失败,请检查网络!"); |
| | | } |
| | | |
| | | |
| | | } |