puzhibing
2025-06-19 b31091da56446f57d21c41d009ce7b55a70a9789
ruoyi-service/ruoyi-dataInterchange/src/main/java/com/ruoyi/dataInterchange/model/DOWNConnectRsp.java
@@ -1,6 +1,6 @@
package com.ruoyi.dataInterchange.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.netty.buffer.ByteBuf;
import lombok.Data;
/**
@@ -17,6 +17,19 @@
    * 0x02:资源紧张,稍后再连接(已经占用)
    * 0xFF:其他
    */
   @JsonProperty("VERIFY_CODE")
   private String verifyCode;
   private int verifyCode;
   /**
    * 解析报文
    */
   public DOWNConnectRsp decode(ByteBuf byteBuf) {
      try {
         this.verifyCode = byteBuf.readByte();
      }catch (Exception e){
         e.printStackTrace();
      }
      return this;
   }
}