package com.ld.igds.protocol.fzzy.dto;
|
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 返回信息封装
|
*
|
* @author Andy
|
*/
|
@Data
|
public class ReMessage implements Serializable {
|
|
/**
|
*
|
*/
|
private static final long serialVersionUID = 1L;
|
|
private String companyId;//组织编码
|
|
private String begin;
|
|
private String end;
|
|
private String ip;//IP地址
|
|
private int port;//端口号
|
|
private Date receiveDate = new Date();
|
|
private String strMsg;// 当前命令转换为字符串的信息
|
|
private String sn;//序列号
|
|
private String iedId;// 分机ID
|
|
private String functionId;// 功能编码
|
|
private String respCode;// 应答编码
|
|
private String orderId;//请求编码
|
|
private String userData;//自定义数据
|
|
private String sign;//签名类型
|
|
private String content;//消息体
|
|
@Override
|
public String toString() {
|
return "ReMessage [ip=" + ip + ", port=" + port + ", receiveDate="
|
+ receiveDate + ", strMsg=" + strMsg + ", sn=" + sn
|
+ ", iedId=" + iedId + ", functionId=" + functionId
|
+ ", respCode=" + respCode + ", orderId=" + orderId
|
+ ", content=" + content + "]";
|
}
|
}
|