-
Notifications
You must be signed in to change notification settings - Fork 0
/
温湿度.xml
272 lines (272 loc) · 9.93 KB
/
温湿度.xml
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<system>
<devices>
<device>
<device_id>1</device_id>
<device_name>湿度传感器A</device_name>
<device_type>4</device_type>
<system_type>1</system_type>
<domain_type>1</domain_type>
<device_mtbf>11080</device_mtbf>
<device_mttr>20</device_mttr>
<device_link>5</device_link>
</device>
<device>
<device_id>2</device_id>
<device_name>湿度传感器B</device_name>
<device_type>4</device_type>
<system_type>1</system_type>
<domain_type>1</domain_type>
<device_mtbf>11080</device_mtbf>
<device_mttr>20</device_mttr>
<device_link>5</device_link>
</device>
<device>
<device_id>3</device_id>
<device_name>温度传感器A</device_name>
<device_type>4</device_type>
<system_type>1</system_type>
<domain_type>1</domain_type>
<device_mtbf>1280</device_mtbf>
<device_mttr>8</device_mttr>
<device_link>5</device_link>
</device>
<device>
<device_id>4</device_id>
<device_name>温度传感器B</device_name>
<device_type>4</device_type>
<system_type>1</system_type>
<domain_type>1</domain_type>
<device_mtbf>1280</device_mtbf>
<device_mttr>8</device_mttr>
<device_link>5</device_link>
</device>
<device>
<device_id>5</device_id>
<device_name>数据采集箱A</device_name>
<device_type>2</device_type>
<system_type>1</system_type>
<domain_type>2</domain_type>
<device_mtbf>6042</device_mtbf>
<device_mttr>45</device_mttr>
<device_link>6 17 18</device_link>
</device>
<device>
<device_id>6</device_id>
<device_name>服务器A</device_name>
<device_type>1</device_type>
<system_type>1</system_type>
<domain_type>2</domain_type>
<device_mtbf>50760</device_mtbf>
<device_mttr>24</device_mttr>
<device_link>7 5 12</device_link>
</device>
<device>
<device_id>7</device_id>
<device_name>交换机A</device_name>
<device_type>4</device_type>
<system_type>1</system_type>
<domain_type>2</domain_type>
<device_mtbf>12800</device_mtbf>
<device_mttr>24</device_mttr>
<device_link>6 8</device_link>
</device>
<device>
<device_id>8</device_id>
<device_name>显控台A</device_name>
<device_type>3</device_type>
<system_type>1</system_type>
<domain_type>2</domain_type>
<device_mtbf>28842</device_mtbf>
<device_mttr>8</device_mttr>
<device_link>7</device_link>
</device>
</devices>
<channels>
<channel>
<channel_id>1</channel_id>
<channel_min>1</channel_min>
<channel_max>5</channel_max>
<channel_capacity>150</channel_capacity>
<channel_protocal>1</channel_protocal>
<channel_media>2</channel_media>
</channel>
<channel>
<channel_id>2</channel_id>
<channel_min>2</channel_min>
<channel_max>5</channel_max>
<channel_capacity>150</channel_capacity>
<channel_protocal>1</channel_protocal>
<channel_media>2</channel_media>
</channel>
<channel>
<channel_id>3</channel_id>
<channel_min>3</channel_min>
<channel_max>5</channel_max>
<channel_capacity>150</channel_capacity>
<channel_protocal>1</channel_protocal>
<channel_media>2</channel_media>
</channel>
<channel>
<channel_id>4</channel_id>
<channel_min>4</channel_min>
<channel_max>5</channel_max>
<channel_capacity>150</channel_capacity>
<channel_protocal>1</channel_protocal>
<channel_media>2</channel_media>
</channel>
<channel>
<channel_id>5</channel_id>
<channel_min>5</channel_min>
<channel_max>6</channel_max>
<channel_capacity>200</channel_capacity>
<channel_protocal>2</channel_protocal>
<channel_media>1</channel_media>
</channel>
<channel>
<channel_id>6</channel_id>
<channel_min>6</channel_min>
<channel_max>7</channel_max>
<channel_capacity>400</channel_capacity>
<channel_protocal>4</channel_protocal>
<channel_media>1</channel_media>
</channel>
<channel>
<channel_id>7</channel_id>
<channel_min>7</channel_min>
<channel_max>8</channel_max>
<channel_capacity>200</channel_capacity>
<channel_protocal>5</channel_protocal>
<channel_media>3</channel_media>
</channel>
</channels>
<informas>
<informa>
<informa_id>1</informa_id>
<informa_name>舱内A点湿度</informa_name>
<informa_type>1</informa_type>
<send_device>1</send_device>
<receive_device>5</receive_device>
<informa_rate>30</informa_rate>
<informa_size>3</informa_size>
</informa>
<informa>
<informa_id>2</informa_id>
<informa_name>舱内B点湿度</informa_name>
<informa_type>1</informa_type>
<send_device>2</send_device>
<receive_device>5</receive_device>
<informa_rate>40</informa_rate>
<informa_size>2</informa_size>
</informa>
<informa>
<informa_id>3</informa_id>
<informa_name>舱内A点温度</informa_name>
<informa_type>1</informa_type>
<send_device>3</send_device>
<receive_device>5</receive_device>
<informa_rate>15</informa_rate>
<informa_size>4</informa_size>
</informa>
<informa>
<informa_id>4</informa_id>
<informa_name>舱内B点温度</informa_name>
<informa_type>1</informa_type>
<send_device>4</send_device>
<receive_device>5</receive_device>
<informa_rate>20</informa_rate>
<informa_size>3</informa_size>
</informa>
<informa>
<informa_id>5</informa_id>
<informa_name>数采箱A打包数据1</informa_name>
<informa_type>4</informa_type>
<send_device>5</send_device>
<receive_device>6</receive_device>
<informa_rate>60</informa_rate>
<informa_size>3</informa_size>
</informa>
<informa>
<informa_id>6</informa_id>
<informa_name>服务器A打包数据1</informa_name>
<informa_type>4</informa_type>
<send_device>6</send_device>
<receive_device>7</receive_device>
<informa_rate>30</informa_rate>
<informa_size>3</informa_size>
</informa>
<informa>
<informa_id>7</informa_id>
<informa_name>交换机A打包数据1</informa_name>
<informa_type>4</informa_type>
<send_device>7</send_device>
<receive_device>8</receive_device>
<informa_rate>30</informa_rate>
<informa_size>3</informa_size>
</informa>
</informas>
<businesses>
<business>
<business_id>2</business_id>
<business_name>获取温湿度信息</business_name>
<business_Ave_Require>0.6</business_Ave_Require>
<relation_task>1 2 3 4 5 6</relation_task>
</business>
</businesses>
<tasks>
<task>
<task_id>1</task_id>
<task_name>采集湿度</task_name>
<pre_task>-1</pre_task>
<task_to_task> </task_to_task>
<relation_device>1 2</relation_device>
<device_to_task>or</device_to_task>
<pre_info></pre_info>
</task>
<task>
<task_id>2</task_id>
<task_name>采集温度</task_name>
<pre_task>-1</pre_task>
<task_to_task> </task_to_task>
<relation_device>3 4</relation_device>
<device_to_task>or</device_to_task>
<pre_info></pre_info>
</task>
<task>
<task_id>3</task_id>
<task_name>温湿度传感器数据转换与综合</task_name>
<pre_task>1 2</pre_task>
<task_to_task>and</task_to_task>
<relation_device>5</relation_device>
<device_to_task>and</device_to_task>
<pre_info>1 2 3 4</pre_info>
</task>
<task>
<task_id>4</task_id>
<task_name>温湿度数据处理</task_name>
<pre_task>3</pre_task>
<task_to_task>and</task_to_task>
<relation_device>6</relation_device>
<device_to_task>and</device_to_task>
<pre_info>5</pre_info>
</task>
<task>
<task_id>5</task_id>
<task_name>温湿度数据传输</task_name>
<pre_task>4</pre_task>
<task_to_task> </task_to_task>
<relation_device>7</relation_device>
<device_to_task>and</device_to_task>
<pre_info>6</pre_info>
</task>
<task>
<task_id>6</task_id>
<task_name>温湿度数据显示</task_name>
<pre_task>5</pre_task>
<task_to_task>and</task_to_task>
<relation_device>8</relation_device>
<device_to_task>and</device_to_task>
<pre_info>7</pre_info>
</task>
</tasks>
</system>