hytos / DTI_PID / SPPIDConverter / Drawing.vb @ c8203784
이력 | 보기 | 이력해설 | 다운로드 (12.7 KB)
1 | e6ef24be | gaqhf | Imports SPPIDConverter |
---|---|---|---|
2 | |||
3 | Public Class Drawing |
||
4 | 6ba3e887 | Gyusu | |
5 | Private _DWGNAME As String = "" |
||
6 | Private _SIZE As String = "" |
||
7 | Private _UNIT As String = "" |
||
8 | Private _LINE_NO As List(Of Line_no) |
||
9 | Private _TRIM_LINE_NO As List(Of Line_no) |
||
10 | Private _EQP_NO As List(Of Eqp_no) |
||
11 | |||
12 | e6ef24be | gaqhf | |
13 | '' 추가 수정 중 |
||
14 | Private _SYMBOLS As List(Of Symbol) |
||
15 | Private _LINES As List(Of Line) |
||
16 | Private _LINENUMBERS As List(Of LineNumber) |
||
17 | Private _TRIMLINES As List(Of LineNumber) |
||
18 | '' |
||
19 | |||
20 | |||
21 | 6ba3e887 | Gyusu | Public Property DwgName() As String |
22 | Get |
||
23 | Return _DWGNAME |
||
24 | End Get |
||
25 | Set(value As String) |
||
26 | _DWGNAME = value |
||
27 | End Set |
||
28 | End Property |
||
29 | |||
30 | Public Property Size() As String |
||
31 | Get |
||
32 | Return _SIZE |
||
33 | End Get |
||
34 | Set(value As String) |
||
35 | _SIZE = value |
||
36 | End Set |
||
37 | End Property |
||
38 | |||
39 | Public Property Unit() As String |
||
40 | Get |
||
41 | Return _UNIT |
||
42 | End Get |
||
43 | Set(value As String) |
||
44 | _UNIT = value |
||
45 | End Set |
||
46 | End Property |
||
47 | |||
48 | Public Property Line_nos As List(Of Line_no) |
||
49 | Get |
||
50 | Return _LINE_NO |
||
51 | End Get |
||
52 | Set(value As List(Of Line_no)) |
||
53 | _LINE_NO = value |
||
54 | End Set |
||
55 | End Property |
||
56 | |||
57 | Public Property TrimLine_nos As List(Of Line_no) |
||
58 | Get |
||
59 | Return _TRIM_LINE_NO |
||
60 | End Get |
||
61 | Set(value As List(Of Line_no)) |
||
62 | _TRIM_LINE_NO = value |
||
63 | End Set |
||
64 | End Property |
||
65 | |||
66 | Public Property Eqp_nos As List(Of Eqp_no) |
||
67 | Get |
||
68 | Return _EQP_NO |
||
69 | End Get |
||
70 | Set(value As List(Of Eqp_no)) |
||
71 | _EQP_NO = value |
||
72 | End Set |
||
73 | End Property |
||
74 | e6ef24be | gaqhf | |
75 | Public Property LINES As List(Of Line) |
||
76 | Get |
||
77 | Return _LINES |
||
78 | End Get |
||
79 | Set(value As List(Of Line)) |
||
80 | _LINES = value |
||
81 | End Set |
||
82 | End Property |
||
83 | |||
84 | Public Property LINENUMBERS As List(Of LineNumber) |
||
85 | Get |
||
86 | Return _LINENUMBERS |
||
87 | End Get |
||
88 | Set(value As List(Of LineNumber)) |
||
89 | _LINENUMBERS = value |
||
90 | End Set |
||
91 | End Property |
||
92 | |||
93 | Public Property SYMBOLS As List(Of Symbol) |
||
94 | Get |
||
95 | Return _SYMBOLS |
||
96 | End Get |
||
97 | Set(value As List(Of Symbol)) |
||
98 | _SYMBOLS = value |
||
99 | End Set |
||
100 | End Property |
||
101 | |||
102 | Public Property TRIMLINES As List(Of LineNumber) |
||
103 | Get |
||
104 | Return _TRIMLINES |
||
105 | End Get |
||
106 | Set(value As List(Of LineNumber)) |
||
107 | _TRIMLINES = value |
||
108 | End Set |
||
109 | End Property |
||
110 | 6ba3e887 | Gyusu | End Class |
111 | |||
112 | |||
113 | Public Class Line_no |
||
114 | Private _UID As String = "" |
||
115 | Private _TEXT As String = "" |
||
116 | Private _LOCATION As String = "" |
||
117 | Private _ANGLE As String = "" |
||
118 | Private _SYSTEMPATH As String = "" |
||
119 | |||
120 | Private _Line_Dt As DataTable |
||
121 | Private _Symbol_Dt As DataTable |
||
122 | Private _Attribute_Dt As DataTable |
||
123 | |||
124 | Private _Line As List(Of Line) |
||
125 | Private _Symbol As List(Of Symbol) |
||
126 | Private _Attribute As List(Of Attribute) |
||
127 | |||
128 | Public Property Uid() As String |
||
129 | Get |
||
130 | Return _UID |
||
131 | End Get |
||
132 | Set(value As String) |
||
133 | _UID = value |
||
134 | End Set |
||
135 | End Property |
||
136 | |||
137 | Public Property Text() As String |
||
138 | Get |
||
139 | Return _TEXT |
||
140 | End Get |
||
141 | Set(value As String) |
||
142 | _TEXT = value |
||
143 | End Set |
||
144 | End Property |
||
145 | |||
146 | Public Property Location() As String |
||
147 | Get |
||
148 | Return _LOCATION |
||
149 | End Get |
||
150 | Set(value As String) |
||
151 | _LOCATION = value |
||
152 | End Set |
||
153 | End Property |
||
154 | |||
155 | Public Property Angle() As String |
||
156 | Get |
||
157 | Return _ANGLE |
||
158 | End Get |
||
159 | Set(value As String) |
||
160 | _ANGLE = value |
||
161 | End Set |
||
162 | End Property |
||
163 | |||
164 | Public Property SystemPath() As String |
||
165 | Get |
||
166 | Return _SYSTEMPATH |
||
167 | End Get |
||
168 | Set(value As String) |
||
169 | _SYSTEMPATH = value |
||
170 | End Set |
||
171 | End Property |
||
172 | |||
173 | Public Property Dt_Line As DataTable |
||
174 | Get |
||
175 | Return _Line_Dt |
||
176 | End Get |
||
177 | Set(value As DataTable) |
||
178 | _Line_Dt = value |
||
179 | End Set |
||
180 | End Property |
||
181 | |||
182 | Public Property Dt_Symbol As DataTable |
||
183 | Get |
||
184 | Return _Symbol_Dt |
||
185 | End Get |
||
186 | Set(value As DataTable) |
||
187 | _Symbol_Dt = value |
||
188 | End Set |
||
189 | End Property |
||
190 | |||
191 | Public Property Dt_Attribute As DataTable |
||
192 | Get |
||
193 | Return _Attribute_Dt |
||
194 | End Get |
||
195 | Set(value As DataTable) |
||
196 | _Attribute_Dt = value |
||
197 | End Set |
||
198 | End Property |
||
199 | |||
200 | Public Property Line As List(Of Line) |
||
201 | Get |
||
202 | Return _Line |
||
203 | End Get |
||
204 | Set(value As List(Of Line)) |
||
205 | _Line = value |
||
206 | End Set |
||
207 | End Property |
||
208 | |||
209 | Public Property Symbol As List(Of Symbol) |
||
210 | Get |
||
211 | Return _Symbol |
||
212 | End Get |
||
213 | Set(value As List(Of Symbol)) |
||
214 | _Symbol = value |
||
215 | End Set |
||
216 | End Property |
||
217 | |||
218 | Public Property Attribute As List(Of Attribute) |
||
219 | Get |
||
220 | Return _Attribute |
||
221 | End Get |
||
222 | Set(value As List(Of Attribute)) |
||
223 | _Attribute = value |
||
224 | End Set |
||
225 | End Property |
||
226 | |||
227 | End Class |
||
228 | Public Class Eqp_no |
||
229 | Private _UID As String = "" |
||
230 | Private _TEXT As String = "" |
||
231 | Private _LOCATION As String = "" |
||
232 | Private _ANGLE As String = "" |
||
233 | Private _SYSTEMPATH As String = "" |
||
234 | |||
235 | Private _Eqp_Dt As DataTable |
||
236 | Private _Attribute_Dt As DataTable |
||
237 | |||
238 | |||
239 | Public Property Uid() As String |
||
240 | Get |
||
241 | Return _UID |
||
242 | End Get |
||
243 | Set(value As String) |
||
244 | _UID = value |
||
245 | End Set |
||
246 | End Property |
||
247 | |||
248 | Public Property Text() As String |
||
249 | Get |
||
250 | Return _TEXT |
||
251 | End Get |
||
252 | Set(value As String) |
||
253 | _TEXT = value |
||
254 | End Set |
||
255 | End Property |
||
256 | |||
257 | Public Property Location() As String |
||
258 | Get |
||
259 | Return _LOCATION |
||
260 | End Get |
||
261 | Set(value As String) |
||
262 | _LOCATION = value |
||
263 | End Set |
||
264 | End Property |
||
265 | |||
266 | Public Property Angle() As String |
||
267 | Get |
||
268 | Return _ANGLE |
||
269 | End Get |
||
270 | Set(value As String) |
||
271 | _ANGLE = value |
||
272 | End Set |
||
273 | End Property |
||
274 | |||
275 | Public Property SystemPath() As String |
||
276 | Get |
||
277 | Return _SYSTEMPATH |
||
278 | End Get |
||
279 | Set(value As String) |
||
280 | _SYSTEMPATH = value |
||
281 | End Set |
||
282 | End Property |
||
283 | Public Property Dt_Equipment As DataTable |
||
284 | Get |
||
285 | Return _Eqp_Dt |
||
286 | End Get |
||
287 | Set(value As DataTable) |
||
288 | _Eqp_Dt = value |
||
289 | End Set |
||
290 | End Property |
||
291 | |||
292 | Public Property Dt_Attribute As DataTable |
||
293 | Get |
||
294 | Return _Attribute_Dt |
||
295 | End Get |
||
296 | Set(value As DataTable) |
||
297 | _Attribute_Dt = value |
||
298 | End Set |
||
299 | End Property |
||
300 | |||
301 | End Class |
||
302 | |||
303 | Public Class Symbol |
||
304 | e6ef24be | gaqhf | Private _UID As String |
305 | Private _NAME As String |
||
306 | Private _TYPE As String |
||
307 | Private _ORIGINALPOINT As String |
||
308 | Private _CONNECTORS As List(Of Connector) |
||
309 | Private _LOCATION As String |
||
310 | Private _SIZE As String |
||
311 | Private _ANGLE As String |
||
312 | Private _PARENT As String |
||
313 | Private _CHILD As String |
||
314 | Private _HASINSTRUMENTLABEL As String |
||
315 | Private _AREA As String |
||
316 | Private _CURRENTPOINTMODEINDEX As String |
||
317 | |||
318 | Private _LINENUMBER As LineNumber |
||
319 | |||
320 | |||
321 | Public Property NAME As String |
||
322 | Get |
||
323 | Return _NAME |
||
324 | End Get |
||
325 | Set(value As String) |
||
326 | _NAME = value |
||
327 | End Set |
||
328 | End Property |
||
329 | |||
330 | Public Property TYPE As String |
||
331 | Get |
||
332 | Return _TYPE |
||
333 | End Get |
||
334 | Set(value As String) |
||
335 | _TYPE = value |
||
336 | End Set |
||
337 | End Property |
||
338 | |||
339 | Public Property ORIGINALPOINT As String |
||
340 | Get |
||
341 | Return _ORIGINALPOINT |
||
342 | End Get |
||
343 | Set(value As String) |
||
344 | _ORIGINALPOINT = value |
||
345 | End Set |
||
346 | End Property |
||
347 | |||
348 | Public Property CONNECTORS As List(Of Connector) |
||
349 | Get |
||
350 | Return _CONNECTORS |
||
351 | End Get |
||
352 | Set(value As List(Of Connector)) |
||
353 | _CONNECTORS = value |
||
354 | End Set |
||
355 | End Property |
||
356 | |||
357 | Public Property LOCATION As String |
||
358 | Get |
||
359 | Return _LOCATION |
||
360 | End Get |
||
361 | Set(value As String) |
||
362 | _LOCATION = value |
||
363 | End Set |
||
364 | End Property |
||
365 | |||
366 | Public Property SIZE As String |
||
367 | Get |
||
368 | Return _SIZE |
||
369 | End Get |
||
370 | Set(value As String) |
||
371 | _SIZE = value |
||
372 | End Set |
||
373 | End Property |
||
374 | |||
375 | Public Property ANGLE As String |
||
376 | Get |
||
377 | Return _ANGLE |
||
378 | End Get |
||
379 | Set(value As String) |
||
380 | _ANGLE = value |
||
381 | End Set |
||
382 | End Property |
||
383 | |||
384 | Public Property PARENT As String |
||
385 | Get |
||
386 | Return _PARENT |
||
387 | End Get |
||
388 | Set(value As String) |
||
389 | _PARENT = value |
||
390 | End Set |
||
391 | End Property |
||
392 | |||
393 | Public Property CHILD As String |
||
394 | Get |
||
395 | Return _CHILD |
||
396 | End Get |
||
397 | Set(value As String) |
||
398 | _CHILD = value |
||
399 | End Set |
||
400 | End Property |
||
401 | |||
402 | Public Property HASINSTRUMENTLABEL As String |
||
403 | Get |
||
404 | Return _HASINSTRUMENTLABEL |
||
405 | End Get |
||
406 | Set(value As String) |
||
407 | _HASINSTRUMENTLABEL = value |
||
408 | End Set |
||
409 | End Property |
||
410 | |||
411 | Public Property AREA As String |
||
412 | Get |
||
413 | Return _AREA |
||
414 | End Get |
||
415 | Set(value As String) |
||
416 | _AREA = value |
||
417 | End Set |
||
418 | End Property |
||
419 | |||
420 | Public Property CURRENTPOINTMODEINDEX As String |
||
421 | Get |
||
422 | Return _CURRENTPOINTMODEINDEX |
||
423 | End Get |
||
424 | Set(value As String) |
||
425 | _CURRENTPOINTMODEINDEX = value |
||
426 | End Set |
||
427 | End Property |
||
428 | |||
429 | Public Property UID As String |
||
430 | Get |
||
431 | Return _UID |
||
432 | End Get |
||
433 | Set(value As String) |
||
434 | _UID = value |
||
435 | End Set |
||
436 | End Property |
||
437 | 6ba3e887 | Gyusu | |
438 | e6ef24be | gaqhf | Public Property LINENUMBER As LineNumber |
439 | Get |
||
440 | Return _LINENUMBER |
||
441 | End Get |
||
442 | Set(value As LineNumber) |
||
443 | _LINENUMBER = value |
||
444 | End Set |
||
445 | End Property |
||
446 | 6ba3e887 | Gyusu | End Class |
447 | |||
448 | Public Class Line |
||
449 | e6ef24be | gaqhf | Private _UID As String |
450 | Private _STARTPOINT As String |
||
451 | Private _ENDPOINT As String |
||
452 | Private _TYPE As String |
||
453 | Private _AREA As String |
||
454 | Private _CONNECTORS As List(Of Connector) |
||
455 | |||
456 | Private _LINENUMBER As LineNumber |
||
457 | |||
458 | Public Property STARTPOINT As String |
||
459 | Get |
||
460 | Return _STARTPOINT |
||
461 | End Get |
||
462 | Set(value As String) |
||
463 | _STARTPOINT = value |
||
464 | End Set |
||
465 | End Property |
||
466 | 6ba3e887 | Gyusu | |
467 | e6ef24be | gaqhf | Public Property ENDPOINT As String |
468 | Get |
||
469 | Return _ENDPOINT |
||
470 | End Get |
||
471 | Set(value As String) |
||
472 | _ENDPOINT = value |
||
473 | End Set |
||
474 | End Property |
||
475 | |||
476 | Public Property TYPE As String |
||
477 | Get |
||
478 | Return _TYPE |
||
479 | End Get |
||
480 | Set(value As String) |
||
481 | _TYPE = value |
||
482 | End Set |
||
483 | End Property |
||
484 | |||
485 | Public Property AREA As String |
||
486 | Get |
||
487 | Return _AREA |
||
488 | End Get |
||
489 | Set(value As String) |
||
490 | _AREA = value |
||
491 | End Set |
||
492 | End Property |
||
493 | |||
494 | Public Property CONNECTORS As List(Of Connector) |
||
495 | Get |
||
496 | Return _CONNECTORS |
||
497 | End Get |
||
498 | Set(value As List(Of Connector)) |
||
499 | _CONNECTORS = value |
||
500 | End Set |
||
501 | End Property |
||
502 | |||
503 | Public Property UID As String |
||
504 | Get |
||
505 | Return _UID |
||
506 | End Get |
||
507 | Set(value As String) |
||
508 | _UID = value |
||
509 | End Set |
||
510 | End Property |
||
511 | |||
512 | Public Property LINENUMBER As LineNumber |
||
513 | Get |
||
514 | Return _LINENUMBER |
||
515 | End Get |
||
516 | Set(value As LineNumber) |
||
517 | _LINENUMBER = value |
||
518 | End Set |
||
519 | End Property |
||
520 | End Class |
||
521 | |||
522 | Public Class LineNumber |
||
523 | Private _UID As String |
||
524 | Private _SYMBOLRUNITEMS As List(Of String) |
||
525 | Private _LINERUNITEMS As List(Of String) |
||
526 | |||
527 | |||
528 | Public Property UID As String |
||
529 | Get |
||
530 | Return _UID |
||
531 | End Get |
||
532 | Set(value As String) |
||
533 | _UID = value |
||
534 | End Set |
||
535 | End Property |
||
536 | |||
537 | Public Property SYMBOLRUNITEMS As List(Of String) |
||
538 | Get |
||
539 | Return _SYMBOLRUNITEMS |
||
540 | End Get |
||
541 | Set(value As List(Of String)) |
||
542 | _SYMBOLRUNITEMS = value |
||
543 | End Set |
||
544 | End Property |
||
545 | |||
546 | Public Property LINERUNITEMS As List(Of String) |
||
547 | Get |
||
548 | Return _LINERUNITEMS |
||
549 | End Get |
||
550 | Set(value As List(Of String)) |
||
551 | _LINERUNITEMS = value |
||
552 | End Set |
||
553 | End Property |
||
554 | 6ba3e887 | Gyusu | End Class |
555 | |||
556 | Public Class Attribute |
||
557 | |||
558 | End Class |
||
559 | |||
560 | e6ef24be | gaqhf | Public Class Connector |
561 | Private _CONNECTEDITEM As String |
||
562 | Private _CONNECTPOINT As String |
||
563 | Private _SCENECONNECTPOINT As String |
||
564 | |||
565 | Public Property CONNECTEDITEM As String |
||
566 | Get |
||
567 | Return _CONNECTEDITEM |
||
568 | End Get |
||
569 | Set(value As String) |
||
570 | _CONNECTEDITEM = value |
||
571 | End Set |
||
572 | End Property |
||
573 | |||
574 | Public Property CONNECTPOINT As String |
||
575 | Get |
||
576 | Return _CONNECTPOINT |
||
577 | End Get |
||
578 | Set(value As String) |
||
579 | _CONNECTPOINT = value |
||
580 | End Set |
||
581 | End Property |
||
582 | |||
583 | Public Property SCENECONNECTPOINT As String |
||
584 | Get |
||
585 | Return _SCENECONNECTPOINT |
||
586 | End Get |
||
587 | Set(value As String) |
||
588 | _SCENECONNECTPOINT = value |
||
589 | End Set |
||
590 | End Property |
||
591 | End Class |