개정판 30ba9ae0
dev issue #000 : fix Log && ValidationCheck
Change-Id: I1a2436b89fd7d74081a481a0ce8e2c9eb999a859
DTI_PID/SPPIDConverter/BaseModel/Document.cs | ||
---|---|---|
742 | 742 |
} |
743 | 743 |
#endregion |
744 | 744 |
|
745 |
#region Association Check |
|
746 |
foreach (var item in TEXTINFOS) |
|
747 |
{ |
|
748 |
if (item.ASSOCIATION) |
|
749 |
{ |
|
750 |
object owner = SPPIDUtil.FindObjectByUID(this, item.OWNER); |
|
751 |
if (owner == null) |
|
752 |
{ |
|
753 |
validationStringBuilder.AppendLine("Check text owner!"); |
|
754 |
validationStringBuilder.AppendLine("Text UID : " + item.UID); |
|
755 |
foreach (var associationItem in SYMBOLS.FindAll(x => x.ATTRIBUTES.Find(y => y.ASSOCITEM == item.UID) != null)) |
|
756 |
validationStringBuilder.AppendLine("Association UID : " + associationItem.UID); |
|
757 |
|
|
758 |
validationStringBuilder.AppendLine(); |
|
759 |
validationResult = true; |
|
760 |
} |
|
761 |
} |
|
762 |
} |
|
763 |
#endregion |
|
764 |
|
|
745 | 765 |
if (validationResult) |
746 | 766 |
{ |
747 | 767 |
_Enable = false; |
내보내기 Unified diff