ruoyi-service/ruoyi-dataInterchange/src/main/java/com/ruoyi/dataInterchange/model/UPDisconnectInform.java
@@ -1,7 +1,5 @@ package com.ruoyi.dataInterchange.model; import com.fasterxml.jackson.annotation.JsonProperty; import com.ruoyi.dataInterchange.util.jtt809.common.Jtt809Util; import io.netty.buffer.ByteBuf; import lombok.Data; @@ -23,7 +21,11 @@ * 解析报文 */ public UPDisconnectInform decode(ByteBuf byteBuf) { this.errorCode = byteBuf.readByte(); try { this.errorCode = byteBuf.readByte(); }catch (Exception e){ e.printStackTrace(); } return this; } }