개정판 53c81765
dev issue #708 : SpecBreakModeling (심볼만)
Change-Id: Ic16888c4aacc51d926299d2858ec06d0c590be79
DTI_PID/SPPIDConverter/SPPIDModel/SPPID_Document.cs | ||
---|---|---|
64 | 64 |
item.SPPID = new SPPIDSymbolInfo(); |
65 | 65 |
} |
66 | 66 |
|
67 |
foreach (var item in SpecBreaks) |
|
68 |
{ |
|
69 |
if (item.SPPID == null) |
|
70 |
item.SPPID = new SPPIDSymbolInfo(); |
|
71 |
} |
|
72 |
|
|
67 | 73 |
foreach (var item in LINENUMBERS) |
68 | 74 |
{ |
69 | 75 |
if (item.SPPID == null) |
... | ... | |
133 | 139 |
item.SPPID.ORIGINAL_Y = y; |
134 | 140 |
} |
135 | 141 |
|
142 |
foreach (var item in SpecBreaks) |
|
143 |
{ |
|
144 |
double x = double.NaN; |
|
145 |
double y = double.NaN; |
|
146 |
SPPIDUtil.ConvertPointBystring(item.ORIGINALPOINT, ref x, ref y); |
|
147 |
SPPIDUtil.ConvertSPPIDPoint(ref x, ref y, SIZE_WIDTH, SIZE_HEIGHT, SPPIDDocumentX, SPPIDDocumentY); |
|
148 |
|
|
149 |
item.SPPID.ORIGINAL_X = x; |
|
150 |
item.SPPID.ORIGINAL_Y = y; |
|
151 |
} |
|
152 |
|
|
136 | 153 |
foreach (var item in LINENUMBERS) |
137 | 154 |
{ |
138 | 155 |
double x = double.NaN; |
... | ... | |
386 | 403 |
return false; |
387 | 404 |
} |
388 | 405 |
|
406 |
foreach (var item in SpecBreaks) |
|
407 |
{ |
|
408 |
item.SPPID.MAPPINGNAME = @"\Piping\Segment Breaks\Piping Materials Class.sym"; |
|
409 |
} |
|
410 |
|
|
389 | 411 |
foreach (var item in LINENUMBERS) |
390 | 412 |
{ |
391 | 413 |
if (LineNumberMappings.Count > 0) |
내보내기 Unified diff