| | |
| | | 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; |
| | | |
| | | /** |
| | | * 住链路断开通知 |
| | | * 主链路断开通知 |
| | | * @author zhibing.pu |
| | | * @Date 2025/2/24 10:59 |
| | | */ |
| | |
| | | * 0x00:主链路断开 |
| | | * 0x01:其他 |
| | | */ |
| | | @JsonProperty("ERROR_CODE") |
| | | private String errorCode; |
| | | private int errorCode; |
| | | |
| | | /** |
| | | * 解析报文 |
| | | */ |
| | | public UPDisconnectInform decode(ByteBuf byteBuf) { |
| | | this.errorCode = byteBuf.readByte(); |
| | | return this; |
| | | } |
| | | } |