개정판 335b7a24
dev issue #000 : add Branch Logic and Line Join Logic
Change-Id: I7fcee5115816a1d1d1b218321b40a2670fa6358b
DTI_PID/SPPIDConverter/Util/SPPIDUtil.cs | ||
---|---|---|
258 | 258 |
|
259 | 259 |
return null; |
260 | 260 |
} |
261 |
public static List<Line> FindLinesByModelId(Document document, string ModelItemId) |
|
262 |
{ |
|
263 |
List<Line> lines = new List<Line>(); |
|
264 |
foreach (Line item in document.LINES) |
|
265 |
{ |
|
266 |
if (item.SPPID.ModelItemId == ModelItemId) |
|
267 |
lines.Add(item); |
|
268 |
} |
|
269 |
|
|
270 |
return lines; |
|
271 |
} |
|
261 | 272 |
#endregion |
262 | 273 |
} |
263 | 274 |
} |
내보내기 Unified diff