Device1.java
3.71 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
package com.adroplat.fist_switch.jni;
import java.util.List;
/**
* Created by wugian on 2017/3/22
*/
public class Device1 {
/**
* CmdType : 17
* ErrorCode : 0
* DeviceIp : [192,168,31,163]
* DeviceNum : [255,255,255,255,0,255]
* DeviceKey : [120,56,53,98,97,117]
* DevicePort : 9000
* MappedIp : [0,0,0,0]
* MappedPort : 0
* SubDevices : [{"SubDeviceNum":4294967151,"SubDeviceType":33,"SubDeviceStatus":0,"SubDeviceOnlineStatus":0,"SubDeviceBit":0}]
*/
private int CmdType;
private int ErrorCode;
private int DevicePort;
private int MappedPort;
private List<Integer> DeviceIp;
private List<Integer> DeviceNum;
private List<Integer> DeviceKey;
private List<Integer> MappedIp;
private List<SubDevicesEntity> SubDevices;
public int getCmdType() {
return CmdType;
}
public void setCmdType(int CmdType) {
this.CmdType = CmdType;
}
public int getErrorCode() {
return ErrorCode;
}
public void setErrorCode(int ErrorCode) {
this.ErrorCode = ErrorCode;
}
public int getDevicePort() {
return DevicePort;
}
public void setDevicePort(int DevicePort) {
this.DevicePort = DevicePort;
}
public int getMappedPort() {
return MappedPort;
}
public void setMappedPort(int MappedPort) {
this.MappedPort = MappedPort;
}
public List<Integer> getDeviceIp() {
return DeviceIp;
}
public void setDeviceIp(List<Integer> DeviceIp) {
this.DeviceIp = DeviceIp;
}
public List<Integer> getDeviceNum() {
return DeviceNum;
}
public void setDeviceNum(List<Integer> DeviceNum) {
this.DeviceNum = DeviceNum;
}
public List<Integer> getDeviceKey() {
return DeviceKey;
}
public void setDeviceKey(List<Integer> DeviceKey) {
this.DeviceKey = DeviceKey;
}
public List<Integer> getMappedIp() {
return MappedIp;
}
public void setMappedIp(List<Integer> MappedIp) {
this.MappedIp = MappedIp;
}
public List<SubDevicesEntity> getSubDevices() {
return SubDevices;
}
public void setSubDevices(List<SubDevicesEntity> SubDevices) {
this.SubDevices = SubDevices;
}
public static class SubDevicesEntity {
/**
* SubDeviceNum : 4294967151
* SubDeviceType : 33
* SubDeviceStatus : 0
* SubDeviceOnlineStatus : 0
* SubDeviceBit : 0
*/
private long SubDeviceNum;
private int SubDeviceType;
private int SubDeviceStatus;
private int SubDeviceOnlineStatus;
private int SubDeviceBit;
public long getSubDeviceNum() {
return SubDeviceNum;
}
public void setSubDeviceNum(long SubDeviceNum) {
this.SubDeviceNum = SubDeviceNum;
}
public int getSubDeviceType() {
return SubDeviceType;
}
public void setSubDeviceType(int SubDeviceType) {
this.SubDeviceType = SubDeviceType;
}
public int getSubDeviceStatus() {
return SubDeviceStatus;
}
public void setSubDeviceStatus(int SubDeviceStatus) {
this.SubDeviceStatus = SubDeviceStatus;
}
public int getSubDeviceOnlineStatus() {
return SubDeviceOnlineStatus;
}
public void setSubDeviceOnlineStatus(int SubDeviceOnlineStatus) {
this.SubDeviceOnlineStatus = SubDeviceOnlineStatus;
}
public int getSubDeviceBit() {
return SubDeviceBit;
}
public void setSubDeviceBit(int SubDeviceBit) {
this.SubDeviceBit = SubDeviceBit;
}
}
}