liusuyi
2026-05-18 0b8c8d8986a35c3e36db1503125e2dff79d6d10e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package com.ard.work.sdk.zlxd.netty.message.request;
 
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
 
 
/**
 * 类描述:前端设备基本参数的获取
 *
 * @author lsy
 * @since 2026/2/2 9:14
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@XmlRootElement(name = "Message")
@XmlAccessorType(XmlAccessType.FIELD)
public class GetDeviceInfoRequest extends BaseXmlRequest {
 
    @XmlElement(name = "parameters")
    private Parameters parameters;
 
    @NoArgsConstructor
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class Parameters {
        @XmlElement(name = "puId")
        private String puId;
 
        public Parameters(String puId) {
            this.puId = puId;
        }
    }
 
    public GetDeviceInfoRequest(String puId,int sequence,String sessionId) {
        super.setHeader(new Header("GetDeviceInfo", sequence, sessionId, "", ""));
        this.parameters = new Parameters(puId);
    }
 
 
}