프로젝트

일반

사용자정보

통계
| 개정판:

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

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

1
using Converter.SPPID.SPPIDModel;
2
using DevExpress.XtraSpreadsheet.Model;
3
using System;
4
using System.Collections.Generic;
5
using System.Linq;
6
using System.Text;
7
using System.Threading.Tasks;
8

    
9
namespace Converter.SPPID
10
{
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
        public string VendorPackageSymbolPath { get; set; }
22
        public string FlowMarkSymbolPath { get; set; }
23
        public string BorderFilePath { get; set; }
24
        public string UnitSetting { get; set; }
25

    
26
        public Model.Location TextLocation { get; set; }
27
        public Model.Location NoteLocation { get; set; }
28
        public Model.Location LineNumberLocation { get; set; }
29

    
30
        public List<BulkAttribute> BulkAttributes { get; set; } 
31

    
32
        public ETCSetting()
33
        {
34
            BulkAttributes = new List<BulkAttribute>();
35
        }
36

    
37
        public static ETCSetting GetInstance()
38
        {
39
            if (setting == null)
40
                setting = new ETCSetting();
41

    
42
            return setting;
43
        }
44

    
45
        public static void Clear()
46
        {
47
            setting = new ETCSetting();
48
        }
49
    }
50
}
클립보드 이미지 추가 (최대 크기: 500 MB)