| | |
| | | short portLen = ByteUtilUnsigned.byte2Byte(bs, index) ; |
| | | |
| | | index++ ; |
| | | cdData.domain = ByteUtil.bytes2String_BE(bs, index, index + domainLen - 1) ; |
| | | |
| | | if(domainLen > 0){ |
| | | cdData.domain = ByteUtil.bytes2String_BE(bs, index, index + domainLen - 1) ; |
| | | }else{ |
| | | cdData.domain = "" ; |
| | | } |
| | | index += domainLen ; |
| | | cdData.port = Integer.parseInt(ByteUtil.bytes2String_BE(bs, index, index + portLen - 1)) ; |
| | | if(portLen > 0){ |
| | | cdData.port = Integer.parseInt(ByteUtil.bytes2String_BE(bs, index, index + portLen - 1)) ; |
| | | }else{ |
| | | cdData.port = 0 ; |
| | | } |
| | | } |
| | | |
| | | } |
| | |
| | | */ |
| | | @Slf4j |
| | | @Tag(name = "远程命令", description = "远程用户充值") |
| | | @RestController("cd15Ctrl") |
| | | @RestController("p202404V201Cd15Ctrl") |
| | | @RequestMapping(path = "p202404V201/cd15") |
| | | @RequiredArgsConstructor |
| | | @Scope("prototype") //因为有对象类属性,所以采用原型模式,每次请求新建一个实例对象 |
| | |
| | | */ |
| | | @Slf4j |
| | | @Tag(name = "远程命令", description = "设置设备终端剩余水量和剩余金额报警值") |
| | | @RestController("cd16Ctrl") |
| | | @RestController("p202404V201Cd16Ctrl") |
| | | @RequestMapping(path = "p202404V201/cd16") |
| | | @RequiredArgsConstructor |
| | | @Scope("prototype") //因为有对象类属性,所以采用原型模式,每次请求新建一个实例对象 |
| | |
| | | */ |
| | | @Slf4j |
| | | @Tag(name = "远程命令", description = "设置设备终端IP地址端口") |
| | | @RestController("cd21Ctrl") |
| | | @RestController("p202404V201Cd21Ctrl") |
| | | @RequestMapping(path = "p202404V201/cd21") |
| | | @RequiredArgsConstructor |
| | | @Scope("prototype") //因为有对象类属性,所以采用原型模式,每次请求新建一个实例对象 |
| | |
| | | */ |
| | | @Slf4j |
| | | @Tag(name = "远程命令", description = "设置设备终端剩余水量和剩余金额报警值") |
| | | @RestController("cd22Ctrl") |
| | | @RestController("p202404V201Cd22Ctrl") |
| | | @RequestMapping(path = "p202404V201/cd22") |
| | | @RequiredArgsConstructor |
| | | @Scope("prototype") //因为有对象类属性,所以采用原型模式,每次请求新建一个实例对象 |
| | |
| | | */ |
| | | @Slf4j |
| | | @Tag(name = "远程命令", description = "设置设备终端域名端口") |
| | | @RestController("cd23Ctrl") |
| | | @RestController("p202404V201Cd23Ctrl") |
| | | @RequestMapping(path = "p202404V201/cd23") |
| | | @RequiredArgsConstructor |
| | | @Scope("prototype") //因为有对象类属性,所以采用原型模式,每次请求新建一个实例对象 |
| | |
| | | */ |
| | | @Slf4j |
| | | @Tag(name = "远程命令", description = "设置设备终端年用水量") |
| | | @RestController("cd26Ctrl") |
| | | @RestController("p202404V201Cd26Ctrl") |
| | | @RequestMapping(path = "p202404V201/cd26") |
| | | @RequiredArgsConstructor |
| | | @Scope("prototype") //因为有对象类属性,所以采用原型模式,每次请求新建一个实例对象 |
| | |
| | | */ |
| | | @Slf4j |
| | | @Tag(name = "远程命令", description = "设置设备终端用水有效") |
| | | @RestController("cd30Ctrl") |
| | | @RestController("p202404V201Cd30Ctrl") |
| | | @RequestMapping(path = "p202404V201/cd30") |
| | | @RequiredArgsConstructor |
| | | @Scope("prototype") //因为有对象类属性,所以采用原型模式,每次请求新建一个实例对象 |
| | |
| | | */ |
| | | @Slf4j |
| | | @Tag(name = "远程命令", description = "设置设备终端用水有效") |
| | | @RestController("cd31Ctrl") |
| | | @RestController("p202404V201Cd31Ctrl") |
| | | @RequestMapping(path = "p202404V201/cd31") |
| | | @RequiredArgsConstructor |
| | | @Scope("prototype") //因为有对象类属性,所以采用原型模式,每次请求新建一个实例对象 |
| | |
| | | */ |
| | | @Slf4j |
| | | @Tag(name = "远程命令", description = "查询设备终端地址") |
| | | @RestController("cd50Ctrl") |
| | | @RestController("p202404V201Cd50Ctrl") |
| | | @RequestMapping(path = "p202404V201/cd50") |
| | | @RequiredArgsConstructor |
| | | @Scope("prototype") //因为有对象类属性,所以采用原型模式,每次请求新建一个实例对象 |
| | |
| | | */ |
| | | @Slf4j |
| | | @Tag(name = "远程命令", description = "查询设备终端充值记录") |
| | | @RestController("cd55Ctrl") |
| | | @RestController("p202404V201Cd55Ctrl") |
| | | @RequestMapping(path = "p202404V201/cd55") |
| | | @RequiredArgsConstructor |
| | | @Scope("prototype") //因为有对象类属性,所以采用原型模式,每次请求新建一个实例对象 |
| | |
| | | */ |
| | | @Slf4j |
| | | @Tag(name = "远程命令", description = "查询设备终端剩余水量和剩余金额报警值") |
| | | @RestController("cd56Ctrl") |
| | | @RestController("p202404V201Cd56Ctrl") |
| | | @RequestMapping(path = "p202404V201/cd56") |
| | | @RequiredArgsConstructor |
| | | @Scope("prototype") //因为有对象类属性,所以采用原型模式,每次请求新建一个实例对象 |
| | |
| | | */ |
| | | @Slf4j |
| | | @Tag(name = "远程命令", description = "查询设备终端实时值") |
| | | @RestController("cd5BCtrl") |
| | | @RestController("p202404V201Cd5BCtrl") |
| | | @RequestMapping(path = "p202404V201/cd5B") |
| | | @RequiredArgsConstructor |
| | | @Scope("prototype") //因为有对象类属性,所以采用原型模式,每次请求新建一个实例对象 |
| | |
| | | */ |
| | | @Slf4j |
| | | @Tag(name = "远程命令", description = "查询设备终端的日记录") |
| | | @RestController("cd5CCtrl") |
| | | @RestController("p202404V201Cd5CCtrl") |
| | | @RequestMapping(path = "p202404V201/cd5C") |
| | | @RequiredArgsConstructor |
| | | @Scope("prototype") //因为有对象类属性,所以采用原型模式,每次请求新建一个实例对象 |
| | |
| | | */ |
| | | @Slf4j |
| | | @Tag(name = "远程命令", description = "查询设备终端用户用水记录") |
| | | @RestController("cd65Ctrl") |
| | | @RestController("p202404V201Cd65Ctrl") |
| | | @RequestMapping(path = "p202404V201/cd65") |
| | | @RequiredArgsConstructor |
| | | @Scope("prototype") //因为有对象类属性,所以采用原型模式,每次请求新建一个实例对象 |
| | |
| | | */ |
| | | @Slf4j |
| | | @Tag(name = "远程命令", description = "查询机井年最大开采量和水位下限") |
| | | @RestController("cd68Ctrl") |
| | | @RestController("p202404V201Cd68Ctrl") |
| | | @RequestMapping(path = "p202404V201/cd68") |
| | | @RequiredArgsConstructor |
| | | @Scope("prototype") //因为有对象类属性,所以采用原型模式,每次请求新建一个实例对象 |
| | |
| | | */ |
| | | @Slf4j |
| | | @Tag(name = "远程命令", description = "查询设备终端IP地址端口") |
| | | @RestController("cd86Ctrl") |
| | | @RestController("p202404V201Cd86Ctrl") |
| | | @RequestMapping(path = "p202404V201/cd86") |
| | | @RequiredArgsConstructor |
| | | @Scope("prototype") //因为有对象类属性,所以采用原型模式,每次请求新建一个实例对象 |
| | |
| | | */ |
| | | @Slf4j |
| | | @Tag(name = "远程命令", description = "查询设备终端域名端口") |
| | | @RestController("cd87Ctrl") |
| | | @RestController("p202404V201Cd87Ctrl") |
| | | @RequestMapping(path = "p202404V201/cd87") |
| | | @RequiredArgsConstructor |
| | | @Scope("prototype") //因为有对象类属性,所以采用原型模式,每次请求新建一个实例对象 |
| | |
| | | */ |
| | | @Slf4j |
| | | @Tag(name = "远程命令", description = "平台远程开阀") |
| | | @RestController("cd92Ctrl") |
| | | @RestController("p202404V201Cd92Ctrl") |
| | | @RequestMapping(path = "p202404V201/cd92") |
| | | @RequiredArgsConstructor |
| | | @Scope("prototype") //因为有对象类属性,所以采用原型模式,每次请求新建一个实例对象 |
| | |
| | | */ |
| | | @Slf4j |
| | | @Tag(name = "远程命令", description = "平台远程关阀") |
| | | @RestController("cd93Ctrl") |
| | | @RestController("p202404V201Cd93Ctrl") |
| | | @RequestMapping(path = "p202404V201/cd93") |
| | | @RequiredArgsConstructor |
| | | @Scope("prototype") //因为有对象类属性,所以采用原型模式,每次请求新建一个实例对象 |
| | |
| | | */ |
| | | @Slf4j |
| | | @Tag(name = "远程命令", description = "清除设备终端用户用水记录") |
| | | @RestController("cd97Ctrl") |
| | | @RestController("p202404V201Cd97Ctrl") |
| | | @RequestMapping(path = "p202404V201/cd97") |
| | | @RequiredArgsConstructor |
| | | @Scope("prototype") //因为有对象类属性,所以采用原型模式,每次请求新建一个实例对象 |
| | |
| | | */ |
| | | @Slf4j |
| | | @Tag(name = "远程命令", description = "清空设备终端充值记录") |
| | | @RestController("cd98Ctrl") |
| | | @RestController("p202404V201Cd98Ctrl") |
| | | @RequestMapping(path = "p202404V201/cd98") |
| | | @RequiredArgsConstructor |
| | | @Scope("prototype") //因为有对象类属性,所以采用原型模式,每次请求新建一个实例对象 |
| | |
| | | */ |
| | | @Slf4j |
| | | @Tag(name = "远程命令", description = "清空设备终端日记录") |
| | | @RestController("cd99Ctrl") |
| | | @RestController("p202404V201Cd99Ctrl") |
| | | @RequestMapping(path = "p202404V201/cd99") |
| | | @RequiredArgsConstructor |
| | | @Scope("prototype") //因为有对象类属性,所以采用原型模式,每次请求新建一个实例对象 |
| | |
| | | */ |
| | | @Slf4j |
| | | @Tag(name = "远程命令", description = "查询设备年用水量") |
| | | @RestController("cd9ACtrl") |
| | | @RestController("p202404V201Cd9ACtrl") |
| | | @RequestMapping(path = "p202404V201/cd9A") |
| | | @RequiredArgsConstructor |
| | | @Scope("prototype") //因为有对象类属性,所以采用原型模式,每次请求新建一个实例对象 |
| | |
| | | */ |
| | | @Slf4j |
| | | @Tag(name = "远程命令", description = "App远程开阀") |
| | | @RestController("cdA2Ctrl") |
| | | @RestController("p202404V201CdA2Ctrl") |
| | | @RequestMapping(path = "p202404V201/cdA2") |
| | | @RequiredArgsConstructor |
| | | @Scope("prototype") //因为有对象类属性,所以采用原型模式,每次请求新建一个实例对象 |
| | |
| | | */ |
| | | @Slf4j |
| | | @Tag(name = "远程命令", description = "App远程关阀") |
| | | @RestController("cdA3Ctrl") |
| | | @RestController("p202404V201CdA3Ctrl") |
| | | @RequestMapping(path = "p202404V201/cdA3") |
| | | @RequiredArgsConstructor |
| | | @Scope("prototype") //因为有对象类属性,所以采用原型模式,每次请求新建一个实例对象 |