프로젝트

일반

사용자정보

통계
| 브랜치(Branch): | 개정판:

hytos / DTI_PID / SPPIDConverter / SPPIDModel / ETCSetting.cs @ fbea6028

이력 | 보기 | 이력해설 | 다운로드 (1.18 KB)

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 fbea6028 gaqhf
        public string VendorPackageSymbolPath { get; set; }
20 b2d1c1aa gaqhf
        public string FlowMarkSymbolPath { get; set; }
21 88365b05 gaqhf
22 1a3a74a8 gaqhf
        public Model.Location TextLocation { get; set; }
23
        public Model.Location NoteLocation { get; set; }
24
        public Model.Location LineNumberLocation { get; set; }
25
26 88365b05 gaqhf
        public static ETCSetting GetInstance()
27
        {
28
            if (setting == null)
29
                setting = new ETCSetting();
30
31
            return setting;
32
        }
33 e00e891d gaqhf
34
        public static void Clear()
35
        {
36
            setting = new ETCSetting();
37
        }
38 88365b05 gaqhf
    }
39
}
클립보드 이미지 추가 (최대 크기: 500 MB)