| | |
| | | } |
| | | @ApiOperation(value = "设置PFC模式VBus电压") |
| | | @GetMapping("controllVBusVref") |
| | | public Response controllVBusVref(@RequestParam Integer powerId,@RequestParam Integer vbusIrefSet){ |
| | | public Response controllVBusVref(@RequestParam Integer powerId,@RequestParam Float vbusIrefSet){ |
| | | return service.controllVBusVref(powerId,vbusIrefSet); |
| | | } |
| | | |
| | | @ApiOperation(value = "设置LLCBuck电压") |
| | | @GetMapping("controllLLCBuckVol") |
| | | public Response controllLLCBuckVol(@RequestParam Integer powerId,@RequestParam Integer llcBuckvolSet){ |
| | | public Response controllLLCBuckVol(@RequestParam Integer powerId,@RequestParam Float llcBuckvolSet){ |
| | | return service.controllLLCBuckVol(powerId,llcBuckvolSet); |
| | | } |
| | | |
| | | @ApiOperation(value = "设置LLCBuck电流") |
| | | @GetMapping("controllLLCBuckCurr") |
| | | public Response controllLLCBuckCurr(@RequestParam Integer powerId,@RequestParam Integer llcBuckcurrSet){ |
| | | public Response controllLLCBuckCurr(@RequestParam Integer powerId,@RequestParam Float llcBuckcurrSet){ |
| | | return service.controllLLCBuckCurr(powerId,llcBuckcurrSet); |
| | | } |
| | | } |
| | |
| | | return new Response().set(1,flag>0?true:false,msg); |
| | | } |
| | | //设置PFC模式VBus电压 |
| | | public Response controllVBusVref(Integer powerId, Integer vbusIrefSet) { |
| | | public Response controllVBusVref(Integer powerId, Float vbusIrefSet) { |
| | | boolean bl = false; |
| | | String msg = ""; |
| | | UpdateWrapper updateWrapper=new UpdateWrapper(); |
| | |
| | | return new Response().set(1,flag>0?true:false,msg); |
| | | } |
| | | //设置LLCBuck电压 |
| | | public Response controllLLCBuckVol(Integer powerId, Integer llcBuckvolSet) { |
| | | public Response controllLLCBuckVol(Integer powerId, Float llcBuckvolSet) { |
| | | boolean bl = false; |
| | | String msg = ""; |
| | | UpdateWrapper updateWrapper=new UpdateWrapper(); |
| | |
| | | return new Response().set(1,flag>0?true:false,msg); |
| | | } |
| | | //设置LLCBuck电流 |
| | | public Response controllLLCBuckCurr(Integer powerId, Integer llcBuckcurrSet) { |
| | | public Response controllLLCBuckCurr(Integer powerId, Float llcBuckcurrSet) { |
| | | boolean bl = false; |
| | | String msg = ""; |
| | | UpdateWrapper updateWrapper=new UpdateWrapper(); |