프로젝트

일반

사용자정보

통계
| 개정판:

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

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

1 86c0a45e gaqhf
using Converter.SPPID.SPPIDModel;
2
using DevExpress.XtraSpreadsheet.Model;
3
using System;
4 88365b05 gaqhf
using System.Collections.Generic;
5
using System.Linq;
6
using System.Text;
7
using System.Threading.Tasks;
8
9 b8e2644e gaqhf
namespace Converter.SPPID
10 88365b05 gaqhf
{
11
    public class ETCSetting
12
    {
13
        private static ETCSetting setting;
14
        private string _TextSymbolPath;
15
        private string _NoteSymbolPath;
16
        private string _DrainValveSize;
17
18
        public string TextSymbolPath { get => _TextSymbolPath; set => _TextSymbolPath = value; }
19
        public string NoteSymbolPath { get => _NoteSymbolPath; set => _NoteSymbolPath = value; }
20
        public string DrainValveSize { get => _DrainValveSize; set => _DrainValveSize = value; }
21 fbea6028 gaqhf
        public string VendorPackageSymbolPath { get; set; }
22 b2d1c1aa gaqhf
        public string FlowMarkSymbolPath { get; set; }
23 b7b123ba gaqhf
        public string BorderFilePath { get; set; }
24 c9264d17 gaqhf
        public string UnitSetting { get; set; }
25 88365b05 gaqhf
26 1a3a74a8 gaqhf
        public Model.Location TextLocation { get; set; }
27
        public Model.Location NoteLocation { get; set; }
28
        public Model.Location LineNumberLocation { get; set; }
29
30 86c0a45e gaqhf
        public List<BulkAttribute> BulkAttributes { get; set; } 
31
32
        public ETCSetting()
33
        {
34
            BulkAttributes = new List<BulkAttribute>();
35
        }
36
37 88365b05 gaqhf
        public static ETCSetting GetInstance()
38
        {
39
            if (setting == null)
40
                setting = new ETCSetting();
41
42
            return setting;
43
        }
44 e00e891d gaqhf
45
        public static void Clear()
46
        {
47
            setting = new ETCSetting();
48
        }
49 88365b05 gaqhf
    }
50
}
클립보드 이미지 추가 (최대 크기: 500 MB)