개정판 dfac4553
dev issue #000 : Join run (분리형 Line)
Change-Id: I946e42e64fc3c4b0a2453283fa37843e5485820b
DTI_PID/SPPIDConverter/Util/SPPIDUtil.cs | ||
---|---|---|
533 | 533 |
} |
534 | 534 |
return bStart; |
535 | 535 |
} |
536 |
|
|
537 |
public static bool IsSegmentLine(Document document, Line line) |
|
538 |
{ |
|
539 |
bool result = false; |
|
540 |
|
|
541 |
SpecBreak specBreak = document.SpecBreaks.Find(x => |
|
542 |
x.DownStreamUID == line.UID || x.UpStreamUID == line.UID); |
|
543 |
|
|
544 |
EndBreak endBreak = document.EndBreaks.Find(x => |
|
545 |
x.OWNER == line.UID || x.PROPERTIES.Find(y => y.ATTRIBUTE == "Connected Item").VALUE == line.UID); |
|
546 |
|
|
547 |
if (specBreak != null || endBreak != null) |
|
548 |
result = true; |
|
549 |
|
|
550 |
return result; |
|
551 |
} |
|
536 | 552 |
} |
537 | 553 |
} |
내보내기 Unified diff