개정판 d9794a6c
dev issue #1163 : overlap symbol remodeling
Change-Id: I00cd01da3731196836242712e7cf970a7071f071
DTI_PID/SPPIDConverter/SPPIDModel/GridSetting.cs | ||
---|---|---|
18 | 18 |
public GridUnit Unit { get; set; } |
19 | 19 |
public int MinSymbolGridCellCount { get; set; } |
20 | 20 |
public int DrainValveCellCount { get; set; } |
21 |
public double Length { get; set; } |
|
21 | 22 |
|
22 | 23 |
public static GridSetting GetInstance() |
23 | 24 |
{ |
24 | 25 |
if (setting == null) |
25 | 26 |
setting = new GridSetting(); |
26 | 27 |
|
28 |
if (setting.Unit == GridUnit.Inch) |
|
29 |
{ |
|
30 |
setting.Length = setting.Density * 0.0254; |
|
31 |
} |
|
32 |
|
|
27 | 33 |
return setting; |
28 | 34 |
} |
29 | 35 |
|
내보내기 Unified diff