| | |
| | | boolean bl = sendCmdToDev(DevCmd.CMD_Start,DevCmd.CMD_StartDischarge, devId, battGroupNum); |
| | | return new Response().set(1,bl,bl==true?"远程核容成功!":"远程核容失败!"); |
| | | } |
| | | //远程停止核容测试 |
| | | public Response stopDis(int devId, int battGroupNum) { |
| | | boolean bl = sendCmdToDev(DevCmd.CMD_Stop,DevCmd.CMD_StopDischarge, devId, battGroupNum); |
| | | return new Response().set(1,bl,bl==true?"远程停止核容成功!":"远程停止核容失败!"); |
| | | } |
| | | //内阻测试 |
| | | public Response startRes(int devId, int battGroupNum) { |
| | | boolean bl = sendCmdToDev(DevCmd.CMD_Start,DevCmd.CMD_StartResDischarge, devId, battGroupNum); |
| | |
| | | } |
| | | //停止内阻测试 |
| | | public Response stopRes(int devId, int battGroupNum) { |
| | | boolean bl = sendCmdToDev(DevCmd.CMD_Stop,DevCmd.CMD_StopDischarge, devId, battGroupNum); |
| | | boolean bl = sendCmdToDev(DevCmd.CMD_Stop,DevCmd.CMD_StopResDischarge, devId, battGroupNum); |
| | | return new Response().set(1,bl,bl==true?"停止内阻测试成功!":"停止内阻测试失败!"); |
| | | } |
| | | |
| | | } |