zhubaomin
8 天以前 de2b2506dfce3641d28c8f016019cdf8f744dc42
pipIrr-platform/pipIrr-mw/pipIrr-com-creator/src/main/java/com/dy/pipirrComCreator/p206V1/P206V1Cd92.java
File was renamed from pipIrr-platform/pipIrr-mw/pipIrr-com-creator/src/main/java/com/dy/pipirrComCreator/p206V1/Cd92.java
@@ -8,7 +8,7 @@
 * @Date: 2025/5/7 10:36
 * @Description
 */
public class Cd92 extends Cd {
public class P206V1Cd92 extends P206V1Cd {
    public static final String ComCode = "92" ;
@@ -20,13 +20,16 @@
    public String checkParams(String ...params){
        return null ;
    }
    public String helpInfo() {
        return ComCode + "[Enter](平台远程开启阀门)" ;
    }
    /**
     * 构造心跳数据
     * @return 字节数组
     * @throws Exception 异常
     */
    public String hex(String rtuAddr) throws Exception {
        byte[] bytes = bs(rtuAddr) ;
    public String hex(String rtuAddr, String ...params) throws Exception {
        byte[] bytes = bs(rtuAddr,params) ;
        String hex = ByteUtil.bytes2Hex(bytes, false) ;
        return hex ;
    }
@@ -36,8 +39,8 @@
     * @return 字节数组
     * @throws Exception 异常
     */
    public byte[] bs(String rtuAddr) throws Exception {
        byte[] bytes = createHead(rtuAddr, ComCode, Cd.CTRL);
    public byte[] bs(String rtuAddr, String ...params) throws Exception {
        byte[] bytes = createHead(rtuAddr, ComCode, P206V1Cd.CTRL);
        byte n = 0 ;
        byte[] bs = new byte[9] ;