개정판 87f22597
dev issue #1230 : edit AvevaThread.cs
Change-Id: I40100799655315bbb4ae9f681083a75caba420c4
DTI_PID/APIDConverter/AutoModeling.cs | ||
---|---|---|
356 | 356 |
{ |
357 | 357 |
AttributeInfo info = avevaInfo.AttributeInfo.Find(x => x.UID == attribute.UID); |
358 | 358 |
if (info != null && !string.IsNullOrEmpty(info.APID_ATTRIBUTE)) |
359 |
datas.Add(new Tuple<string, string>(info.APID_ATTRIBUTE, attribute.VALUE)); |
|
359 |
{ |
|
360 |
if (info.APID_ATTRIBUTE_TYPE == AvevaAttributeType.UDA) |
|
361 |
datas.Add(new Tuple<string, string>("UDA" + info.APID_ATTRIBUTE, attribute.VALUE)); |
|
362 |
else |
|
363 |
datas.Add(new Tuple<string, string>(info.APID_ATTRIBUTE, attribute.VALUE)); |
|
364 |
} |
|
360 | 365 |
} |
361 | 366 |
if (datas.Count > 0) |
362 | 367 |
{ |
... | ... | |
376 | 381 |
{ |
377 | 382 |
AttributeInfo info = avevaInfo.AttributeInfo.Find(x => x.UID == attribute.UID); |
378 | 383 |
if (info != null && !string.IsNullOrEmpty(info.APID_ATTRIBUTE)) |
379 |
datas.Add(new Tuple<string, string>(info.APID_ATTRIBUTE, attribute.VALUE)); |
|
384 |
{ |
|
385 |
if (info.APID_ATTRIBUTE_TYPE == AvevaAttributeType.UDA) |
|
386 |
datas.Add(new Tuple<string, string>("UDA" + info.APID_ATTRIBUTE, attribute.VALUE)); |
|
387 |
else |
|
388 |
datas.Add(new Tuple<string, string>(info.APID_ATTRIBUTE, attribute.VALUE)); |
|
389 |
} |
|
380 | 390 |
} |
381 | 391 |
if (datas.Count > 0) |
382 | 392 |
{ |
내보내기 Unified diff