개정판 d23fe61b
dev issue #000 : id2 ValidationCheck flow direction 추가 및 Inconsistancy index 추가
Change-Id: Ie15719b8423f98fc28a5000818419b96104e91e6
DTI_PID/SPPIDConverter/Util/SPPIDUtil.cs | ||
---|---|---|
549 | 549 |
|
550 | 550 |
return result; |
551 | 551 |
} |
552 |
|
|
553 |
public static bool IsSegmentLine(Document document, Line line1, Line line2) |
|
554 |
{ |
|
555 |
bool result = false; |
|
556 |
SpecBreak startSpecBreak = document.SpecBreaks.Find(x => |
|
557 |
(x.DownStreamUID == line1.UID || x.UpStreamUID == line1.UID) && |
|
558 |
(x.DownStreamUID == line2.UID || x.UpStreamUID == line2.UID)); |
|
559 |
|
|
560 |
EndBreak startEndBreak = document.EndBreaks.Find(x => |
|
561 |
(x.OWNER == line1.UID || x.PROPERTIES.Find(y => y.ATTRIBUTE == "Connected Item").VALUE == line1.UID) && |
|
562 |
(x.OWNER == line2.UID || x.PROPERTIES.Find(y => y.ATTRIBUTE == "Connected Item").VALUE == line2.UID)); |
|
563 |
|
|
564 |
if (startSpecBreak != null || startEndBreak != null) |
|
565 |
result = true; |
|
566 |
|
|
567 |
return result; |
|
568 |
} |
|
552 | 569 |
} |
553 | 570 |
} |
내보내기 Unified diff