hytos / DTI_PID / SPPIDConverter / Model / ETCSetting.cs @ 1f0ae149
이력 | 보기 | 이력해설 | 다운로드 (915 Bytes)
1 | 88365b05 | gaqhf | using System; |
---|---|---|---|
2 | using System.Collections.Generic; |
||
3 | using System.Linq; |
||
4 | using System.Text; |
||
5 | using System.Threading.Tasks; |
||
6 | |||
7 | b8e2644e | gaqhf | namespace Converter.SPPID |
8 | 88365b05 | gaqhf | { |
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 | |||
20 | public static ETCSetting GetInstance() |
||
21 | { |
||
22 | if (setting == null) |
||
23 | setting = new ETCSetting(); |
||
24 | |||
25 | return setting; |
||
26 | } |
||
27 | e00e891d | gaqhf | |
28 | public static void Clear() |
||
29 | { |
||
30 | setting = new ETCSetting(); |
||
31 | } |
||
32 | 88365b05 | gaqhf | } |
33 | } |