hytos / DTI_PID / SPPIDConverter / SPPIDModel / ETCSetting.cs @ b7b123ba
이력 | 보기 | 이력해설 | 다운로드 (1.23 KB)
1 |
using System; |
---|---|
2 |
using System.Collections.Generic; |
3 |
using System.Linq; |
4 |
using System.Text; |
5 |
using System.Threading.Tasks; |
6 |
|
7 |
namespace Converter.SPPID |
8 |
{ |
9 |
public class ETCSetting |
10 |
{ |
11 |
private static ETCSetting setting; |
12 |
private string _TextSymbolPath; |
13 |
private string _NoteSymbolPath; |
14 |
private string _DrainValveSize; |
15 |
|
16 |
public string TextSymbolPath { get => _TextSymbolPath; set => _TextSymbolPath = value; } |
17 |
public string NoteSymbolPath { get => _NoteSymbolPath; set => _NoteSymbolPath = value; } |
18 |
public string DrainValveSize { get => _DrainValveSize; set => _DrainValveSize = value; } |
19 |
public string VendorPackageSymbolPath { get; set; } |
20 |
public string FlowMarkSymbolPath { get; set; } |
21 |
public string BorderFilePath { get; set; } |
22 |
|
23 |
public Model.Location TextLocation { get; set; } |
24 |
public Model.Location NoteLocation { get; set; } |
25 |
public Model.Location LineNumberLocation { get; set; } |
26 |
|
27 |
public static ETCSetting GetInstance() |
28 |
{ |
29 |
if (setting == null) |
30 |
setting = new ETCSetting(); |
31 |
|
32 |
return setting; |
33 |
} |
34 |
|
35 |
public static void Clear() |
36 |
{ |
37 |
setting = new ETCSetting(); |
38 |
} |
39 |
} |
40 |
} |