Pu Zhibing
2025-03-07 297512bc22b179b7038d96a1ff033eceaed38c4b
ruoyi-service/ruoyi-dataInterchange/src/main/java/com/ruoyi/dataInterchange/model/UPCloseLinkInform.java
@@ -1,6 +1,6 @@
package com.ruoyi.dataInterchange.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.netty.buffer.ByteBuf;
import lombok.Data;
/**
@@ -15,6 +15,14 @@
    * 0x00:从链路断开
    * 0x01:其他
    */
   @JsonProperty("REASON_CODE")
   private String reasonCode;
   private int reasonCode;
   /**
    * 解析报文
    */
   public UPCloseLinkInform decode(ByteBuf byteBuf) {
      this.reasonCode = byteBuf.readByte();
      return this;
   }
}