提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.structure; |
H |
2 |
|
|
3 |
import com.iailab.netsdk.lib.NetSDKLib; |
|
4 |
|
|
5 |
import java.util.Arrays; |
|
6 |
|
|
7 |
public class NET_ATTRIBUTE_INFO extends NetSDKLib.SdkStructure { |
|
8 |
/** |
|
9 |
* 点位名称 |
|
10 |
*/ |
|
11 |
public byte[] szSignalName = new byte[128]; |
|
12 |
|
|
13 |
/** |
|
14 |
* 单位 |
|
15 |
*/ |
|
16 |
public byte[] szUnit = new byte[20]; |
|
17 |
|
|
18 |
/** |
|
19 |
* 待查询的点位类型 |
|
20 |
*/ |
|
21 |
public int emPointType; |
|
22 |
|
|
23 |
/** |
|
24 |
* 信号点ID |
|
25 |
*/ |
|
26 |
public byte[] szID = new byte[32]; |
|
27 |
|
|
28 |
/** |
|
29 |
* 告警开始延时,单位:秒 |
|
30 |
*/ |
|
31 |
public int nStartDelay; |
|
32 |
|
|
33 |
/** |
|
34 |
* 告警结束延时,单位:秒 |
|
35 |
*/ |
|
36 |
public int nStopDelay; |
|
37 |
|
|
38 |
/** |
|
39 |
* 存储、上报周期,单位:秒 |
|
40 |
*/ |
|
41 |
public int nPeriod; |
|
42 |
|
|
43 |
/** |
|
44 |
* 告警门限 |
|
45 |
*/ |
|
46 |
public float fThreshold; |
|
47 |
|
|
48 |
/** |
|
49 |
* 告警回差(当告警恢复时需超过回差范围,告警才恢复,与告警延时不同时起效) |
|
50 |
*/ |
|
51 |
public float fAlarmWaveVal; |
|
52 |
|
|
53 |
/** |
|
54 |
* 绝对阈值(针对连续数据点(AI、AO)存储、上报) |
|
55 |
*/ |
|
56 |
public float fAbsoluteVal; |
|
57 |
|
|
58 |
/** |
|
59 |
* 百分比阈值(针对连续数据点(AI、AO)存储、上报,当绝对阈值不启用或者为"0"时使用) |
|
60 |
*/ |
|
61 |
public float fRelativeVal; |
|
62 |
|
|
63 |
/** |
|
64 |
* 信号点数据状态 |
|
65 |
*/ |
|
66 |
public int emStatus; |
|
67 |
|
|
68 |
/** |
|
69 |
* 数据显示选项 |
|
70 |
*/ |
|
71 |
public NET_DISPLAY_OPTIONS_INFO stuDisplayOptions; |
|
72 |
|
|
73 |
/** |
|
74 |
* 是否有效信号点 TRUE:有效 FALSE:无效 |
|
75 |
*/ |
|
76 |
public int bIsValid; |
|
77 |
|
|
78 |
/** |
|
79 |
* 告警延时, 单位:秒 |
|
80 |
*/ |
|
81 |
public int nDelay; |
|
82 |
|
|
83 |
/** |
|
84 |
* 点位信息描述 |
|
85 |
*/ |
|
86 |
public byte[] szDescription = new byte[120]; |
|
87 |
|
|
88 |
/** |
|
89 |
* 保留字节 |
|
90 |
*/ |
|
91 |
public byte[] byReserved = new byte[136]; |
|
92 |
|
|
93 |
@Override |
|
94 |
public String toString() { |
|
95 |
return "NET_ATTRIBUTE_INFO{" + |
|
96 |
"szSignalName=" + Arrays.toString(szSignalName) + |
|
97 |
", szUnit=" + Arrays.toString(szUnit) + |
|
98 |
", emPointType=" + emPointType + |
|
99 |
", szID=" + Arrays.toString(szID) + |
|
100 |
", nStartDelay=" + nStartDelay + |
|
101 |
", nStopDelay=" + nStopDelay + |
|
102 |
", nPeriod=" + nPeriod + |
|
103 |
", fThreshold=" + fThreshold + |
|
104 |
", fAlarmWaveVal=" + fAlarmWaveVal + |
|
105 |
", fAbsoluteVal=" + fAbsoluteVal + |
|
106 |
", fRelativeVal=" + fRelativeVal + |
|
107 |
", emStatus=" + emStatus + |
|
108 |
", stuDisplayOptions=" + stuDisplayOptions + |
|
109 |
", bIsValid=" + bIsValid + |
|
110 |
", nDelay=" + nDelay + |
|
111 |
", szDescription=" + Arrays.toString(szDescription) + |
|
112 |
", byReserved=" + Arrays.toString(byReserved) + |
|
113 |
'}'; |
|
114 |
} |
|
115 |
} |