yinyitong-zhongyuyuan-dll-s.../src/main/java/com/dpkj/common/dto/LexMarkResultDTO.java

107 lines
2.0 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.dpkj.common.dto;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import java.io.Serializable;
/**
* 利盟接口返回值DTO
*
* @author <a href="https://gitee.com/shi-chongli">石头人</a>
* @version 1.0
* @since 2025-02-08 11:03:06
*/
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class LexMarkResultDTO implements Serializable {
/**
* 对应发送请求中的devName
*/
private String devName;
/**
* 事件名由发送请求中的actionName+Over组成。
*/
private String msgName;
/**
* 对应发送请求的callID。
*/
private int callID;
/**
* 错误码0表示成功其他表示失败比如-4表示取消-48表示超时-14表示硬件故障
*/
private int result;
/**
* 发送请求中的actionName
*/
private String cmdName;
/**
* 返回参数
*/
private Param param;
/**
* 详情描述
*/
private String desc;
@Data
@AllArgsConstructor
@NoArgsConstructor
public static class Param { // 不同的actionName导致返回值不同需要的参数可以加上
/**
* 请求ID
*/
private int RequestID;
/**
* 命令编码
*/
private int dwCommandCode;
/**
* 事件名由发送请求中的actionName+Over组成。
*/
private String eventName;
/**
* 事件类型编码
*/
private int eventType;
/**
* 服务
*/
private int hService;
/**
* 对应发送请求中的devName
*/
private String cmdName;
/**
* 错误码0表示成功其他表示失败比如-4表示取消-48表示超时-14表示硬件故障
*/
private int result;
/**
* 详情描述
*/
private String desc;
}
}