프로젝트

일반

사용자정보

개정판 bca86986

IDbca869866ff5e064be5c9036fd598e22fc65f2f6
상위 0d8062b2
하위 60a617ec

gaqhf 이(가) 약 6년 전에 추가함

dev issue #000 : mapping logic

Change-Id: I9cb888f07e99b902f23fc46081be2ffa69449229

차이점 보기:

DTI_PID/BaseModel/Project_DB.cs
11 11
{
12 12
    public class Project_DB
13 13
    {
14
        const string SPPID_DB_INFO_TABLE = "SPPID_CONNECTION_INFO";
14
        const string SPPID_DB_INFO_TABLE = "T_SPPID_CONNECTION_INFO";
15
        const string SPPID_SYMBOL_MAPPING_TABLE = "T_SPPID_SYMBOL_MAPPING";
16
        const string SPPID_ATTRIBUTE_MAPPING_TABLE = "T_SPPID_ATTRIBUTE_MAPPING";
15 17

  
16
        public static void Conn()
17
        {
18
            Project_Info projectInfo = Project_Info.GetInstance();
19
            using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath)))
20
            {
21
                connection.Open();
22
            }
23
        }
18
        const string LineProperties_TABLE = "LineProperties";
19
        const string LineTypes_TABLE = "LineTypes";
20
        const string SymbolType_TABLE = "SymbolType";
21
        const string SymbolAttribute_TABLE = "SymbolAttribute";
22
        const string Symbol_TABLE = "Symbol";
24 23

  
25 24
        public static bool ConnTestAndCreateTable()
26 25
        {
......
128 127
                        cmd.CommandText = string.Format("CREATE TABLE {0} (JsonString TEXT)", SPPID_DB_INFO_TABLE);
129 128
                        cmd.ExecuteNonQuery();
130 129
                    }
130
                    if (dt.Select(string.Format("NAME = '{0}'", SPPID_SYMBOL_MAPPING_TABLE)).Length == 0)
131
                    {
132
                        cmd.CommandText = string.Format("CREATE TABLE {0} (UID TEXT PRIMARY KEY, NAME TEXT, SPPID_SYMBOL_PATH TEXT)", SPPID_SYMBOL_MAPPING_TABLE);
133
                        cmd.ExecuteNonQuery();
134
                    }
135
                    if (dt.Select(string.Format("NAME = '{0}'", SPPID_ATTRIBUTE_MAPPING_TABLE)).Length == 0)
136
                    {
137
                        cmd.CommandText = string.Format("CREATE TABLE {0} (UID TEXT PRIMARY KEY, SPPID_ATTRIBUTE TEXT)", SPPID_ATTRIBUTE_MAPPING_TABLE);
138
                        cmd.ExecuteNonQuery();
139
                    }
131 140
                }
132 141
            }
133 142
        }
143

  
144
        public static DataTable SelectProjectSymbol()
145
        {
146
            DataTable dt = new DataTable();
147
            Project_Info projectInfo = Project_Info.GetInstance();
148
            using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath)))
149
            {
150
                try
151
                {
152
                    connection.Open();
153
                    using (SQLiteCommand cmd = connection.CreateCommand())
154
                    {
155
                        cmd.CommandText = string.Format(@"
156
                            SELECT s.UID, s.Name, st.Type, sp.SPPID_SYMBOL_PATH FROM {1} as st, {0} as s 
157
                                LEFT OUTER JOIN {2} as sp 
158
                                    ON s.UID = SP.UID 
159
                            WHERE s.SymbolType_UID = st.UID 
160
                            ORDER BY st.TYPE ASC;", Symbol_TABLE, SymbolType_TABLE, SPPID_SYMBOL_MAPPING_TABLE);
161
                        using (SQLiteDataReader dr = cmd.ExecuteReader())
162
                            dt.Load(dr);
163
                    }
164
                    connection.Close();
165
                }
166
                catch (Exception ex)
167
                {
168

  
169
                }
170
                finally
171
                {
172
                    connection.Dispose();
173
                }
174
            }
175

  
176
            return dt;
177
        }
178

  
179
        public static DataTable SelectProjectLine()
180
        {
181
            DataTable dt = new DataTable();
182
            Project_Info projectInfo = Project_Info.GetInstance();
183
            using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath)))
184
            {
185
                try
186
                {
187
                    connection.Open();
188
                    using (SQLiteCommand cmd = connection.CreateCommand())
189
                    {
190
                        cmd.CommandText = string.Format(@"
191
                            SELECT l.UID, l.Name, sp.SPPID_SYMBOL_PATH FROM {0} as l 
192
                                LEFT OUTER JOIN {1} as sp 
193
                                    ON l.UID = SP.UID ;", LineTypes_TABLE, SPPID_SYMBOL_MAPPING_TABLE);
194
                        using (SQLiteDataReader dr = cmd.ExecuteReader())
195
                            dt.Load(dr);
196
                    }
197
                    connection.Close();
198
                }
199
                catch (Exception ex)
200
                {
201

  
202
                }
203
                finally
204
                {
205
                    connection.Dispose();
206
                }
207
            }
208

  
209
            return dt;
210
        }
211

  
212
        public static DataTable SelectProjectLineProperties()
213
        {
214
            DataTable dt = new DataTable();
215
            Project_Info projectInfo = Project_Info.GetInstance();
216
            using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath)))
217
            {
218
                try
219
                {
220
                    connection.Open();
221
                    using (SQLiteCommand cmd = connection.CreateCommand())
222
                    {
223
                        cmd.CommandText = string.Format(@"
224
                            SELECT lp.UID, lp.DisplayName, sp.SPPID_SYMBOL_PATH, spa.SPPID_ATTRIBUTE
225
                            FROM {0} as lp 
226
                                 LEFT OUTER JOIN {1} as sp 
227
                                      ON lp.UID = sp.UID
228
                                 LEFT OUTER JOIN {2} as spa 
229
                                      ON lp.UID = spa.UID;", LineProperties_TABLE, SPPID_SYMBOL_MAPPING_TABLE, SPPID_ATTRIBUTE_MAPPING_TABLE);
230
                        using (SQLiteDataReader dr = cmd.ExecuteReader())
231
                            dt.Load(dr);
232
                    }
233
                    connection.Close();
234
                }
235
                catch (Exception ex)
236
                {
237

  
238
                }
239
                finally
240
                {
241
                    connection.Dispose();
242
                }
243
            }
244

  
245
            return dt;
246
        }
247

  
248
        public static DataTable SelectProjectAssociation()
249
        {
250
            DataTable dt = new DataTable();
251
            Project_Info projectInfo = Project_Info.GetInstance();
252
            using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath)))
253
            {
254
                try
255
                {
256
                    connection.Open();
257
                    using (SQLiteCommand cmd = connection.CreateCommand())
258
                    {
259
                        cmd.CommandText = string.Format(@"
260
                            SELECT sa.UID, sa.DisplayAttribute, st.TYPE, spa.SPPID_ATTRIBUTE, sp.SPPID_SYMBOL_PATH 
261
                            FROM {1} as sa, {0} as st 
262
                                 LEFT OUTER JOIN {2} as sp 
263
                                      ON sa.UID = SP.UID 
264
                                LEFT OUTER JOIN {3} as spa 
265
                                     ON sa.UID = spa.UID
266
                            WHERE sa.SymbolType_UID = st.UID;", SymbolType_TABLE, SymbolAttribute_TABLE, SPPID_SYMBOL_MAPPING_TABLE, SPPID_ATTRIBUTE_MAPPING_TABLE);
267
                        using (SQLiteDataReader dr = cmd.ExecuteReader())
268
                            dt.Load(dr);
269
                    }
270
                    connection.Close();
271
                }
272
                catch (Exception ex)
273
                {
274

  
275
                }
276
                finally
277
                {
278
                    connection.Dispose();
279
                }
280
            }
281

  
282
            return dt;
283
        }
284

  
285

  
286

  
287
        public static bool InsertSymbolMapping(List<Tuple<string, string, string>> datas)
288
        {
289
            Project_Info projectInfo = Project_Info.GetInstance();
290
            using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath)))
291
            {
292
                try
293
                {
294
                    connection.Open();
295
                    using (SQLiteCommand cmd = connection.CreateCommand())
296
                    {
297
                        foreach (var item in datas)
298
                        {
299
                            cmd.Parameters.Clear();
300
                            cmd.CommandText = string.Format("INSERT OR REPLACE INTO {0} (UID, NAME, SPPID_SYMBOL_PATH) VALUES (@UID, @NAME, @SPPID_SYMBOL_PATH)", SPPID_SYMBOL_MAPPING_TABLE);
301
                            cmd.Parameters.AddWithValue("@UID", item.Item1);
302
                            cmd.Parameters.AddWithValue("@NAME", item.Item2);
303
                            cmd.Parameters.AddWithValue("@SPPID_SYMBOL_PATH", item.Item3);
304
                            cmd.ExecuteNonQuery();
305
                        }
306
                    }
307
                    connection.Close();
308
                }
309
                catch (Exception ex)
310
                {
311
                    return false;
312
                }
313
                finally
314
                {
315
                    connection.Dispose();
316
                }
317
            }
318

  
319
            return true;
320
        }
321

  
322
        public static bool InsertAttributeMapping(List<Tuple<string, string>> datas)
323
        {
324
            Project_Info projectInfo = Project_Info.GetInstance();
325
            using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath)))
326
            {
327
                try
328
                {
329
                    connection.Open();
330
                    using (SQLiteCommand cmd = connection.CreateCommand())
331
                    {
332
                        foreach (var item in datas)
333
                        {
334
                            cmd.Parameters.Clear();
335
                            cmd.CommandText = string.Format("INSERT OR REPLACE INTO {0} (UID, SPPID_ATTRIBUTE) VALUES (@UID, @SPPID_ATTRIBUTE)", SPPID_ATTRIBUTE_MAPPING_TABLE);
336
                            cmd.Parameters.AddWithValue("@UID", item.Item1);
337
                            cmd.Parameters.AddWithValue("@SPPID_ATTRIBUTE", item.Item2);
338
                            cmd.ExecuteNonQuery();
339
                        }
340
                    }
341
                    connection.Close();
342
                }
343
                catch (Exception ex)
344
                {
345
                    return false;
346
                }
347
                finally
348
                {
349
                    connection.Dispose();
350
                }
351
            }
352

  
353
            return true;
354
        }
134 355
    }
135 356
}
DTI_PID/BaseModel/Project_Info.cs
15 15
        private bool _Enable;
16 16
        private string _DBFilePath;
17 17
        private string _TempDirPath;
18
        private string _ImageDirPath;
18 19

  
19 20
        public string DefaultPath {
20 21
            get { return _DefaultPath; }
......
23 24
                _Name = Path.GetFileName(value);
24 25
                _DBFilePath = value + @"\db\ITI_PID.db";
25 26
                _TempDirPath = value + @"\Temp\";
27
                _ImageDirPath = value + @"\image\";
26 28
            }
27 29
        }
28 30

  
......
35 37
        {
36 38
            get { return _DBFilePath; }
37 39
        }
38

  
39 40
        public string TempDirPath
40 41
        {
41 42
            get { return _TempDirPath; }
42 43
        }
43 44

  
45
        public string ImageDirPath
46
        {
47
            get { return _ImageDirPath; }
48
        }
49

  
44 50
        public bool Enable { get => _Enable; set => _Enable = value; }
45 51

  
46 52

  
DTI_PID/SPPIDConverter_AutoModeling/ConverterForm.cs
19 19
using Converter.AutoModeling.SPPID.DB;
20 20
using Converter.AutoModeling.SPPID.Util;
21 21
using Converter.AutoModeling.SPPID.Form;
22
using Converter.AutoModeling.SPPID.Model;
22 23

  
23 24
namespace Converter.AutoModeling.SPPID
24 25
{
25 26
    public partial class ConverterForm : DevExpress.XtraBars.Ribbon.RibbonForm
26 27
    {
27
        private Dictionary<string, Document> _DicDocuments = new Dictionary<string, Document>();
28
        private DataTable converterDT = new DataTable();
28
        private Dictionary<string, SPPID_Document> _DicDocuments = new Dictionary<string, SPPID_Document>();
29
        private DataTable _ConverterDT = new DataTable();
30
        private DataTable _SPPIDSymbolPathDT = new DataTable();
29 31
        private RepositoryItemComboBox templateComboBox;
30 32

  
33

  
34
        private DataTable _ID2SymbolDT = new DataTable();
35
        private DataTable _ID2LineDT = new DataTable();
36
        private DataTable _ID2AssociationDT = new DataTable();
37
        private DataTable _ID2LinePropertyDT = new DataTable();
38

  
39
        private List<SymbolMapping> symbolMappings = new List<SymbolMapping>();
40
        private List<LineMapping> lineMappings = new List<LineMapping>();
41
        private List<LineNumberMapping> lineNumberMappings = new List<LineNumberMapping>();
42
        private List<AssociationMapping> associationMappings = new List<AssociationMapping>();
43

  
31 44
        public ConverterForm()
32 45
        {
33 46
            InitializeComponent();
......
35 48
            CultureInfo culture = CultureInfo.GetCultureInfo("ko");
36 49
            Msg.Culture = culture;
37 50

  
51
            InitUsedDataTable();
38 52
            InitGridControl();
39 53
            InitID2Project();
40 54
        }
41 55

  
42
        private void InitGridControl()
56
        private void InitUsedDataTable()
43 57
        {
44
            #region Converter Page
45
            gridViewConverter.OptionsSelection.MultiSelect = true;
46
            gridViewConverter.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CheckBoxRowSelect;
47

  
48
            DataColumn col = converterDT.Columns.Add("colDrawingFileName");
58
            // Converter Table
59
            DataColumn col = _ConverterDT.Columns.Add("colDrawingFileName");
49 60
            col.Caption = "Drawing File Name";
50
            col = converterDT.Columns.Add("colDrawingFilePath");
61
            col = _ConverterDT.Columns.Add("colDrawingFilePath");
51 62
            col.Caption = "DrawingFilePath";
52
            col = converterDT.Columns.Add("colUnit");
63
            col = _ConverterDT.Columns.Add("colUnit");
53 64
            col.Caption = "Unit";
54
            col = converterDT.Columns.Add("colTemplate");
65
            col = _ConverterDT.Columns.Add("colTemplate");
55 66
            col.Caption = "Template";
56
            col = converterDT.Columns.Add("colDrawingNumber");
67
            col = _ConverterDT.Columns.Add("colDrawingNumber");
57 68
            col.Caption = "Drawing Number";
58
            col = converterDT.Columns.Add("colDrawingName");
69
            col = _ConverterDT.Columns.Add("colDrawingName");
59 70
            col.Caption = "Drawing Name";
60
            col = converterDT.Columns.Add("colStatus");
71
            col = _ConverterDT.Columns.Add("colStatus");
61 72
            col.Caption = "Status";
62
            col = converterDT.Columns.Add("colUID");
63
            gridControlConverter.DataSource = converterDT;
73
            col = _ConverterDT.Columns.Add("colUID");
74

  
75
            col = _ID2LineDT.Columns.Add("UID");
76
            col = _ID2LineDT.Columns.Add("Name");
77
            col.Caption = "Name";
78
            col = _ID2LineDT.Columns.Add("Type");
79
            col.Caption = "Type";
80
            col = _ID2LineDT.Columns.Add("SPPID_SYMBOL_PATH");
81
            col.Caption = "SPPID Symbol Path";
82
            col = _ID2LineDT.Columns.Add("Clear");
83
            col.Caption = "";
84
        }
85

  
86
        private void InitGridControl()
87
        {
88
            #region Converter Page
89
            gridViewConverter.OptionsSelection.MultiSelect = true;
90
            gridViewConverter.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CheckBoxRowSelect;
91
            
92
            gridControlConverter.DataSource = _ConverterDT;
64 93

  
65 94
            templateComboBox = new RepositoryItemComboBox();
66 95
            templateComboBox.TextEditStyle = TextEditStyles.DisableTextEditor;
......
114 143
                labelID2ProjectStatus.AppearanceItemCaption.ForeColor = Color.Blue;
115 144
                layoutControlGroupSPPIDDB.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Always;
116 145
                layoutControlGroupItemMapping.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Always;
117

  
118
                InitSPPIDDB();
119
                return true;
120 146
            }
121 147
            else
122 148
            {
......
128 154
                labelID2ProjectStatus.AppearanceItemCaption.ForeColor = Color.Red;
129 155
                layoutControlGroupSPPIDDB.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
130 156
                layoutControlGroupItemMapping.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
157
            }
131 158

  
132
                InitSPPIDDB();
133
                return false;
159
            InitMapping();
160
            InitSPPIDDB();
161

  
162
            return _ProjectInfo.Enable;
163
        }
164

  
165
        private void InitMapping()
166
        {
167
            Project_Info _ProjectInfo = Project_Info.GetInstance();
168
            if (_ProjectInfo.Enable)
169
            {
170
                InitID2Symbol();
171
                InitID2Line();
172
                InitID2LineNumber();
173
                InitID2Association();
174
            }
175
        }
176

  
177
        private void InitID2Symbol()
178
        {
179
            using (DataTable symbolDT = Project_DB.SelectProjectSymbol())
180
            {
181
                symbolMappings.Clear();
182
                _ID2SymbolDT = symbolDT;
183
                _ID2SymbolDT.Columns.Add("Clear");
184
                _ID2SymbolDT.Columns["Clear"].Caption = "";
185
                foreach (DataRow row in symbolDT.Rows)
186
                {
187
                    symbolMappings.Add(new SymbolMapping()
188
                    {
189
                        UID = row["UID"] == null ? "" : row["UID"].ToString(),
190
                        SYMBOLNAME = row["Name"] == null ? "" : row["Name"].ToString(),
191
                        SPPIDSYMBOLNAME = row["SPPID_SYMBOL_PATH"] == null ? "" : row["SPPID_SYMBOL_PATH"].ToString(),
192
                    });
193
                }
194
            }
195
        }
196

  
197
        private void InitID2Line()
198
        {
199
            using (DataTable lineTypes = Project_DB.SelectProjectLine())
200
            {
201
                lineMappings.Clear();
202
                _ID2LineDT.Rows.Clear();
203
                foreach (DataRow row in lineTypes.Rows)
204
                {
205
                    DataRow newRow = _ID2LineDT.NewRow();
206
                    newRow["UID"] = row["UID"] == null ? "" : row["UID"].ToString();
207
                    newRow["Name"] = row["Name"] == null ? "" : row["Name"].ToString();
208
                    newRow["Type"] = "Line";
209
                    newRow["SPPID_SYMBOL_PATH"] = row["SPPID_SYMBOL_PATH"] == null ? "" : row["SPPID_SYMBOL_PATH"].ToString();
210
                    _ID2LineDT.Rows.Add(newRow);
211

  
212
                    lineMappings.Add(new LineMapping()
213
                    {
214
                        UID = row["UID"] == null ? "" : row["UID"].ToString(),
215
                        LINENAME = row["Name"] == null ? "" : row["Name"].ToString(),
216
                        SPPIDSYMBOLNAME = row["SPPID_SYMBOL_PATH"] == null ? "" : row["SPPID_SYMBOL_PATH"].ToString(),
217
                    });
218
                }
219
            }
220
        }
221

  
222
        private void InitID2LineNumber()
223
        {
224
            using (DataTable linePropertiesDT = Project_DB.SelectProjectLineProperties())
225
            {
226
                lineNumberMappings.Clear();
227
                _ID2LinePropertyDT = linePropertiesDT;
228
                _ID2LinePropertyDT.Columns.Add("Type");
229
                foreach (DataRow row in linePropertiesDT.Rows)
230
                {
231
                    row["Type"] = "Line Property";
232
                    lineNumberMappings.Add(new LineNumberMapping()
233
                    {
234
                        UID = row["UID"] == null ? "" : row["UID"].ToString(),
235
                        DisplayName = row["DisplayName"] == null ? "" : row["DisplayName"].ToString(),
236
                        SPPIDATTRIBUTENAME = row["SPPID_ATTRIBUTE"] == null ? "" : row["SPPID_ATTRIBUTE"].ToString(),
237
                        SPPIDSYMBOLNAME = row["SPPID_SYMBOL_PATH"] == null ? "" : row["SPPID_SYMBOL_PATH"].ToString()
238
                    });
239
                }
240
            }
241
        }
242

  
243
        private void InitID2Association()
244
        {
245
            using (DataTable associationDT = Project_DB.SelectProjectAssociation())
246
            {
247
                associationMappings.Clear();
248
                _ID2AssociationDT = associationDT;
249
                _ID2AssociationDT.Columns.Add("Clear");
250
                _ID2AssociationDT.Columns["Clear"].Caption = "";
251
                foreach (DataRow row in associationDT.Rows)
252
                {
253
                    associationMappings.Add(new AssociationMapping()
254
                    {
255
                        UID = row["UID"] == null ? "" : row["UID"].ToString(),
256
                        DisplayAttribute = row["DisplayAttribute"] == null ? "" : row["DisplayAttribute"].ToString(),
257
                        Type = row["Type"] == null ? "" : row["Type"].ToString(),
258
                        SPPIDATTRIBUTENAME = row["SPPID_ATTRIBUTE"] == null ? "" : row["SPPID_ATTRIBUTE"].ToString(),
259
                        SPPIDSYMBOLNAME = row["SPPID_SYMBOL_PATH"] == null ? "" : row["SPPID_SYMBOL_PATH"].ToString()
260
                    });
261
                }
134 262
            }
135 263
        }
136 264

  
......
153 281
                labelSPPIDPlantName.AppearanceItemCaption.ForeColor = Color.Blue;
154 282
                labelSPPIDDBStatus.Text = Msg.ConnectionSuccessful;
155 283
                labelSPPIDDBStatus.AppearanceItemCaption.ForeColor = Color.Blue;
284
                //SPPID_DB.get
156 285
            }
157 286
            else
158 287
            {
......
160 289
                labelSPPIDPlantName.AppearanceItemCaption.ForeColor = Color.Red;
161 290
                labelSPPIDDBStatus.Text = Msg.ConnectionFail;
162 291
                labelSPPIDDBStatus.AppearanceItemCaption.ForeColor = Color.Red;
292

  
163 293
            }
294

  
295
            InitSPPIDSymbolTreeTable();
164 296
        }
165 297

  
166
        private bool IsID2Project(string path)
298
        private void InitSPPIDSymbolTreeTable()
167 299
        {
168
            bool result = false;
169
            string[] directories = Directory.GetDirectories(path, "*", SearchOption.TopDirectoryOnly);
170
            for (int i = 0; i < directories.Length; i++)
171
                directories[i] = Path.GetFileName(directories[i]);
172
            List<string> dirList = directories.ToList();
173

  
174
            if (dirList.Contains("db") &&
175
                dirList.Contains("Temp") &&
176
                dirList.Contains("image"))
300
            SPPID_DBInfo _SPPIDInfo = SPPID_DBInfo.GetInstance();
301

  
302
            _SPPIDSymbolPathDT = new DataTable();
303
            _SPPIDSymbolPathDT.Columns.Add("ID");
304
            _SPPIDSymbolPathDT.Columns.Add("Parent");
305
            _SPPIDSymbolPathDT.Columns.Add("Name");
306
            _SPPIDSymbolPathDT.Columns.Add("FullPath");
307

  
308
            if (_SPPIDInfo.Enable)
177 309
            {
178
                result = true;
310
                string symbolPath = SPPID_DB.GetPlantPID_T_OPTIONSETTING_Value("Catalog Explorer root path");
311
                DirectoryInfo info = new DirectoryInfo(symbolPath);
312
                _SPPIDSymbolPathDT.Rows.Add(new object[] { "0", "-1", info.Name });
313
                loop(info, "0", symbolPath);
179 314
            }
315
        }
180 316

  
181
            return result;
317
        private void loop(DirectoryInfo parentInfo, string parentUID, string defaultPath)
318
        {
319
            DirectoryInfo[] infos = parentInfo.GetDirectories();
320
            foreach (DirectoryInfo info in infos)
321
            {
322
                string uid = Guid.NewGuid().ToString();
323
                _SPPIDSymbolPathDT.Rows.Add(new object[] { uid, parentUID, info.Name });
324
                loop(info, uid, defaultPath);
325

  
326
                FileInfo[] files = info.GetFiles("*.sym");
327
                foreach (FileInfo fileInfo in files)
328
                {
329
                    _SPPIDSymbolPathDT.Rows.Add(new object[] { Guid.NewGuid().ToString(), uid, fileInfo.Name, fileInfo.FullName.Replace(defaultPath, "") });
330
                }
331
            }
182 332
        }
183 333

  
184 334
        private void UnitButton_ButtonClick(object sender, ButtonPressedEventArgs e)
......
208 358
            {
209 359
                foreach (string fileName in xtraOpenFileDialog.FileNames)
210 360
                {
211
                    Document document = new Document(fileName);
212
                    DataRow[] rows = converterDT.Select(string.Format("colDrawingFilePath = '{0}'", fileName));
361
                    SPPID_Document document = new SPPID_Document(fileName);
362
                    document.SymbolMappings = symbolMappings;
363
                    DataRow[] rows = _ConverterDT.Select(string.Format("colDrawingFilePath = '{0}'", fileName));
213 364
                    DataRow row;
214 365
                    if (rows.Length == 0)
215 366
                    {
216
                        row = converterDT.NewRow();
367
                        row = _ConverterDT.NewRow();
217 368
                        row["colDrawingFileName"] = Path.GetFileNameWithoutExtension(fileName);
218 369
                        row["colDrawingFilePath"] = fileName;
219 370
                        row["colDrawingNumber"] = document.DWGNAME;
......
223 374
                        else
224 375
                            row["colStatus"] = "Error";
225 376
                        row["colUID"] = "";
226
                        converterDT.Rows.Add(row);
377
                        _ConverterDT.Rows.Add(row);
227 378
                    }
228 379
                    if (!_DicDocuments.ContainsKey(fileName))
229 380
                        _DicDocuments.Add(fileName, null);
......
254 405
                return;
255 406
            }
256 407

  
257
            MappingForm form = new MappingForm();
408
            MappingForm form = new MappingForm(_ID2SymbolDT,_SPPIDSymbolPathDT, _ID2LineDT, _ID2LinePropertyDT, _ID2AssociationDT);
258 409
            form.ShowDialog();
410
            InitMapping();
259 411
        }
260 412
    }
261 413
}
DTI_PID/SPPIDConverter_AutoModeling/Form/MappingForm.Designer.cs
30 30
        {
31 31
            this.ribbonControl = new DevExpress.XtraBars.Ribbon.RibbonControl();
32 32
            this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
33
            this.textBoxLineNumberPath = new DevExpress.XtraEditors.ButtonEdit();
34
            this.gridControlLineNumber = new DevExpress.XtraGrid.GridControl();
35
            this.gridViewLineNumber = new DevExpress.XtraGrid.Views.Grid.GridView();
36
            this.btnClose = new DevExpress.XtraEditors.SimpleButton();
37
            this.gridControlAssociation = new DevExpress.XtraGrid.GridControl();
38
            this.gridViewAssociation = new DevExpress.XtraGrid.Views.Grid.GridView();
39
            this.gridControlLine = new DevExpress.XtraGrid.GridControl();
40
            this.gridViewLine = new DevExpress.XtraGrid.Views.Grid.GridView();
41
            this.gridControlSymbol = new DevExpress.XtraGrid.GridControl();
42
            this.gridViewSymbol = new DevExpress.XtraGrid.Views.Grid.GridView();
33 43
            this.pictureEditSPPIDSymbol = new DevExpress.XtraEditors.PictureEdit();
34 44
            this.btnSave = new DevExpress.XtraEditors.SimpleButton();
35 45
            this.treeListSPPIDTreeList = new DevExpress.XtraTreeList.TreeList();
36
            this.treeListID2TreeList = new DevExpress.XtraTreeList.TreeList();
37
            this.textBoxID2SymbolType = new DevExpress.XtraEditors.TextEdit();
38
            this.textBoxID2SymbolName = new DevExpress.XtraEditors.TextEdit();
39 46
            this.pictureEditID2Symbol = new DevExpress.XtraEditors.PictureEdit();
40 47
            this.pictureEditMapped = new DevExpress.XtraEditors.PictureEdit();
41 48
            this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
42
            this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup();
43
            this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
44
            this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem();
45
            this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem();
46
            this.splitterItem1 = new DevExpress.XtraLayout.SplitterItem();
47
            this.layoutControlGroup3 = new DevExpress.XtraLayout.LayoutControlGroup();
48
            this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
49
            this.layoutControlGroup4 = new DevExpress.XtraLayout.LayoutControlGroup();
50
            this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
51
            this.splitterItem4 = new DevExpress.XtraLayout.SplitterItem();
52 49
            this.layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup();
53 50
            this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem();
54 51
            this.splitterItem2 = new DevExpress.XtraLayout.SplitterItem();
55 52
            this.layoutControlGroup5 = new DevExpress.XtraLayout.LayoutControlGroup();
56 53
            this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem();
57 54
            this.splitterItem5 = new DevExpress.XtraLayout.SplitterItem();
58
            this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
59 55
            this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem();
60 56
            this.splitterItem3 = new DevExpress.XtraLayout.SplitterItem();
57
            this.tabbedControlGroup = new DevExpress.XtraLayout.TabbedControlGroup();
58
            this.GroupLineNumber = new DevExpress.XtraLayout.LayoutControlGroup();
59
            this.layoutControlGroup8 = new DevExpress.XtraLayout.LayoutControlGroup();
60
            this.layoutControlItem13 = new DevExpress.XtraLayout.LayoutControlItem();
61
            this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
62
            this.GroupSymbol = new DevExpress.XtraLayout.LayoutControlGroup();
63
            this.splitterItem1 = new DevExpress.XtraLayout.SplitterItem();
64
            this.layoutControlGroup3 = new DevExpress.XtraLayout.LayoutControlGroup();
65
            this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
66
            this.layoutControlGroup4 = new DevExpress.XtraLayout.LayoutControlGroup();
67
            this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
68
            this.splitterItem4 = new DevExpress.XtraLayout.SplitterItem();
69
            this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup();
70
            this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem();
71
            this.GroupLine = new DevExpress.XtraLayout.LayoutControlGroup();
72
            this.layoutControlGroup6 = new DevExpress.XtraLayout.LayoutControlGroup();
73
            this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem();
74
            this.GroupAssociation = new DevExpress.XtraLayout.LayoutControlGroup();
75
            this.layoutControlGroup7 = new DevExpress.XtraLayout.LayoutControlGroup();
76
            this.layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem();
77
            this.layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem();
78
            this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
79
            this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem();
61 80
            ((System.ComponentModel.ISupportInitialize)(this.ribbonControl)).BeginInit();
62 81
            ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
63 82
            this.layoutControl1.SuspendLayout();
83
            ((System.ComponentModel.ISupportInitialize)(this.textBoxLineNumberPath.Properties)).BeginInit();
84
            ((System.ComponentModel.ISupportInitialize)(this.gridControlLineNumber)).BeginInit();
85
            ((System.ComponentModel.ISupportInitialize)(this.gridViewLineNumber)).BeginInit();
86
            ((System.ComponentModel.ISupportInitialize)(this.gridControlAssociation)).BeginInit();
87
            ((System.ComponentModel.ISupportInitialize)(this.gridViewAssociation)).BeginInit();
88
            ((System.ComponentModel.ISupportInitialize)(this.gridControlLine)).BeginInit();
89
            ((System.ComponentModel.ISupportInitialize)(this.gridViewLine)).BeginInit();
90
            ((System.ComponentModel.ISupportInitialize)(this.gridControlSymbol)).BeginInit();
91
            ((System.ComponentModel.ISupportInitialize)(this.gridViewSymbol)).BeginInit();
64 92
            ((System.ComponentModel.ISupportInitialize)(this.pictureEditSPPIDSymbol.Properties)).BeginInit();
65 93
            ((System.ComponentModel.ISupportInitialize)(this.treeListSPPIDTreeList)).BeginInit();
66
            ((System.ComponentModel.ISupportInitialize)(this.treeListID2TreeList)).BeginInit();
67
            ((System.ComponentModel.ISupportInitialize)(this.textBoxID2SymbolType.Properties)).BeginInit();
68
            ((System.ComponentModel.ISupportInitialize)(this.textBoxID2SymbolName.Properties)).BeginInit();
69 94
            ((System.ComponentModel.ISupportInitialize)(this.pictureEditID2Symbol.Properties)).BeginInit();
70 95
            ((System.ComponentModel.ISupportInitialize)(this.pictureEditMapped.Properties)).BeginInit();
71 96
            ((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit();
72
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit();
73
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
74
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit();
75
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit();
76
            ((System.ComponentModel.ISupportInitialize)(this.splitterItem1)).BeginInit();
77
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).BeginInit();
78
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
79
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup4)).BeginInit();
80
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
81
            ((System.ComponentModel.ISupportInitialize)(this.splitterItem4)).BeginInit();
82 97
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).BeginInit();
83 98
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit();
84 99
            ((System.ComponentModel.ISupportInitialize)(this.splitterItem2)).BeginInit();
85 100
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup5)).BeginInit();
86 101
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit();
87 102
            ((System.ComponentModel.ISupportInitialize)(this.splitterItem5)).BeginInit();
88
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
89 103
            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).BeginInit();
90 104
            ((System.ComponentModel.ISupportInitialize)(this.splitterItem3)).BeginInit();
105
            ((System.ComponentModel.ISupportInitialize)(this.tabbedControlGroup)).BeginInit();
106
            ((System.ComponentModel.ISupportInitialize)(this.GroupLineNumber)).BeginInit();
107
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup8)).BeginInit();
108
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).BeginInit();
109
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
110
            ((System.ComponentModel.ISupportInitialize)(this.GroupSymbol)).BeginInit();
111
            ((System.ComponentModel.ISupportInitialize)(this.splitterItem1)).BeginInit();
112
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).BeginInit();
113
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
114
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup4)).BeginInit();
115
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
116
            ((System.ComponentModel.ISupportInitialize)(this.splitterItem4)).BeginInit();
117
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit();
118
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit();
119
            ((System.ComponentModel.ISupportInitialize)(this.GroupLine)).BeginInit();
120
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup6)).BeginInit();
121
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).BeginInit();
122
            ((System.ComponentModel.ISupportInitialize)(this.GroupAssociation)).BeginInit();
123
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup7)).BeginInit();
124
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).BeginInit();
125
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).BeginInit();
126
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
127
            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit();
91 128
            this.SuspendLayout();
92 129
            // 
93 130
            // ribbonControl
......
102 139
            this.ribbonControl.ShowDisplayOptionsMenuButton = DevExpress.Utils.DefaultBoolean.False;
103 140
            this.ribbonControl.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.ShowOnMultiplePages;
104 141
            this.ribbonControl.ShowToolbarCustomizeItem = false;
105
            this.ribbonControl.Size = new System.Drawing.Size(1016, 32);
142
            this.ribbonControl.Size = new System.Drawing.Size(1094, 32);
106 143
            this.ribbonControl.Toolbar.ShowCustomizeItem = false;
107 144
            // 
108 145
            // layoutControl1
109 146
            // 
147
            this.layoutControl1.Controls.Add(this.textBoxLineNumberPath);
148
            this.layoutControl1.Controls.Add(this.gridControlLineNumber);
149
            this.layoutControl1.Controls.Add(this.btnClose);
150
            this.layoutControl1.Controls.Add(this.gridControlAssociation);
151
            this.layoutControl1.Controls.Add(this.gridControlLine);
152
            this.layoutControl1.Controls.Add(this.gridControlSymbol);
110 153
            this.layoutControl1.Controls.Add(this.pictureEditSPPIDSymbol);
111 154
            this.layoutControl1.Controls.Add(this.btnSave);
112 155
            this.layoutControl1.Controls.Add(this.treeListSPPIDTreeList);
113
            this.layoutControl1.Controls.Add(this.treeListID2TreeList);
114
            this.layoutControl1.Controls.Add(this.textBoxID2SymbolType);
115
            this.layoutControl1.Controls.Add(this.textBoxID2SymbolName);
116 156
            this.layoutControl1.Controls.Add(this.pictureEditID2Symbol);
117 157
            this.layoutControl1.Controls.Add(this.pictureEditMapped);
118 158
            this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill;
119 159
            this.layoutControl1.Location = new System.Drawing.Point(0, 32);
120 160
            this.layoutControl1.Name = "layoutControl1";
121 161
            this.layoutControl1.Root = this.Root;
122
            this.layoutControl1.Size = new System.Drawing.Size(1016, 741);
162
            this.layoutControl1.Size = new System.Drawing.Size(1094, 738);
123 163
            this.layoutControl1.TabIndex = 2;
124 164
            this.layoutControl1.Text = "layoutControl1";
125 165
            // 
166
            // textBoxLineNumberPath
167
            // 
168
            this.textBoxLineNumberPath.Location = new System.Drawing.Point(206, 79);
169
            this.textBoxLineNumberPath.MenuManager = this.ribbonControl;
170
            this.textBoxLineNumberPath.Name = "textBoxLineNumberPath";
171
            this.textBoxLineNumberPath.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
172
            new DevExpress.XtraEditors.Controls.EditorButton()});
173
            this.textBoxLineNumberPath.Properties.ReadOnly = true;
174
            this.textBoxLineNumberPath.Size = new System.Drawing.Size(493, 20);
175
            this.textBoxLineNumberPath.StyleController = this.layoutControl1;
176
            this.textBoxLineNumberPath.TabIndex = 23;
177
            this.textBoxLineNumberPath.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.textBoxLineNumberPath_ButtonClick);
178
            // 
179
            // gridControlLineNumber
180
            // 
181
            this.gridControlLineNumber.Location = new System.Drawing.Point(36, 103);
182
            this.gridControlLineNumber.MainView = this.gridViewLineNumber;
183
            this.gridControlLineNumber.MenuManager = this.ribbonControl;
184
            this.gridControlLineNumber.Name = "gridControlLineNumber";
185
            this.gridControlLineNumber.Size = new System.Drawing.Size(663, 559);
186
            this.gridControlLineNumber.TabIndex = 21;
187
            this.gridControlLineNumber.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
188
            this.gridViewLineNumber});
189
            // 
190
            // gridViewLineNumber
191
            // 
192
            this.gridViewLineNumber.GridControl = this.gridControlLineNumber;
193
            this.gridViewLineNumber.Name = "gridViewLineNumber";
194
            this.gridViewLineNumber.OptionsView.ShowGroupPanel = false;
195
            this.gridViewLineNumber.ShowingEditor += new System.ComponentModel.CancelEventHandler(this.gridView_ShowingEditor);
196
            // 
197
            // btnClose
198
            // 
199
            this.btnClose.ImageOptions.SvgImage = global::Converter.AutoModeling.SPPID.Properties.Resources.close;
200
            this.btnClose.Location = new System.Drawing.Point(996, 690);
201
            this.btnClose.Name = "btnClose";
202
            this.btnClose.Size = new System.Drawing.Size(86, 36);
203
            this.btnClose.StyleController = this.layoutControl1;
204
            this.btnClose.TabIndex = 20;
205
            this.btnClose.Text = "  Close  ";
206
            this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
207
            // 
208
            // gridControlAssociation
209
            // 
210
            this.gridControlAssociation.Location = new System.Drawing.Point(36, 79);
211
            this.gridControlAssociation.MainView = this.gridViewAssociation;
212
            this.gridControlAssociation.MenuManager = this.ribbonControl;
213
            this.gridControlAssociation.Name = "gridControlAssociation";
214
            this.gridControlAssociation.Size = new System.Drawing.Size(663, 583);
215
            this.gridControlAssociation.TabIndex = 19;
216
            this.gridControlAssociation.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
217
            this.gridViewAssociation});
218
            // 
219
            // gridViewAssociation
220
            // 
221
            this.gridViewAssociation.GridControl = this.gridControlAssociation;
222
            this.gridViewAssociation.Name = "gridViewAssociation";
223
            this.gridViewAssociation.OptionsView.ShowGroupPanel = false;
224
            this.gridViewAssociation.ShowingEditor += new System.ComponentModel.CancelEventHandler(this.gridView_ShowingEditor);
225
            // 
226
            // gridControlLine
227
            // 
228
            this.gridControlLine.Location = new System.Drawing.Point(36, 79);
229
            this.gridControlLine.MainView = this.gridViewLine;
230
            this.gridControlLine.MenuManager = this.ribbonControl;
231
            this.gridControlLine.Name = "gridControlLine";
232
            this.gridControlLine.Size = new System.Drawing.Size(663, 583);
233
            this.gridControlLine.TabIndex = 18;
234
            this.gridControlLine.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
235
            this.gridViewLine});
236
            // 
237
            // gridViewLine
238
            // 
239
            this.gridViewLine.GridControl = this.gridControlLine;
240
            this.gridViewLine.Name = "gridViewLine";
241
            this.gridViewLine.OptionsView.ShowGroupPanel = false;
242
            this.gridViewLine.ShowingEditor += new System.ComponentModel.CancelEventHandler(this.gridView_ShowingEditor);
243
            // 
244
            // gridControlSymbol
245
            // 
246
            this.gridControlSymbol.Location = new System.Drawing.Point(36, 79);
247
            this.gridControlSymbol.MainView = this.gridViewSymbol;
248
            this.gridControlSymbol.MenuManager = this.ribbonControl;
249
            this.gridControlSymbol.Name = "gridControlSymbol";
250
            this.gridControlSymbol.Size = new System.Drawing.Size(663, 265);
251
            this.gridControlSymbol.TabIndex = 16;
252
            this.gridControlSymbol.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
253
            this.gridViewSymbol});
254
            // 
255
            // gridViewSymbol
256
            // 
257
            this.gridViewSymbol.GridControl = this.gridControlSymbol;
258
            this.gridViewSymbol.Name = "gridViewSymbol";
259
            this.gridViewSymbol.OptionsBehavior.ReadOnly = true;
260
            this.gridViewSymbol.OptionsCustomization.AllowGroup = false;
261
            this.gridViewSymbol.OptionsView.ShowGroupPanel = false;
262
            this.gridViewSymbol.ShowingEditor += new System.ComponentModel.CancelEventHandler(this.gridView_ShowingEditor);
263
            // 
126 264
            // pictureEditSPPIDSymbol
127 265
            // 
128
            this.pictureEditSPPIDSymbol.Location = new System.Drawing.Point(709, 403);
266
            this.pictureEditSPPIDSymbol.Location = new System.Drawing.Point(761, 401);
129 267
            this.pictureEditSPPIDSymbol.MenuManager = this.ribbonControl;
130 268
            this.pictureEditSPPIDSymbol.Name = "pictureEditSPPIDSymbol";
131 269
            this.pictureEditSPPIDSymbol.Properties.ShowCameraMenuItem = DevExpress.XtraEditors.Controls.CameraMenuItemVisibility.Auto;
132
            this.pictureEditSPPIDSymbol.Size = new System.Drawing.Size(271, 252);
270
            this.pictureEditSPPIDSymbol.Properties.SizeMode = DevExpress.XtraEditors.Controls.PictureSizeMode.Squeeze;
271
            this.pictureEditSPPIDSymbol.Size = new System.Drawing.Size(297, 251);
133 272
            this.pictureEditSPPIDSymbol.StyleController = this.layoutControl1;
134 273
            this.pictureEditSPPIDSymbol.TabIndex = 15;
135 274
            // 
136 275
            // btnSave
137 276
            // 
138
            this.btnSave.ImageOptions.SvgImage = global::Converter.AutoModeling.SPPID.Properties.Resources.saveandclose;
139
            this.btnSave.Location = new System.Drawing.Point(868, 693);
277
            this.btnSave.ImageOptions.SvgImage = global::Converter.AutoModeling.SPPID.Properties.Resources.save;
278
            this.btnSave.Location = new System.Drawing.Point(893, 690);
140 279
            this.btnSave.Name = "btnSave";
141
            this.btnSave.Size = new System.Drawing.Size(136, 36);
280
            this.btnSave.Size = new System.Drawing.Size(84, 36);
142 281
            this.btnSave.StyleController = this.layoutControl1;
143 282
            this.btnSave.TabIndex = 13;
144
            this.btnSave.Text = "  Save && Close  ";
283
            this.btnSave.Text = "  Save  ";
284
            this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
145 285
            // 
146 286
            // treeListSPPIDTreeList
147 287
            // 
148 288
            this.treeListSPPIDTreeList.Cursor = System.Windows.Forms.Cursors.Default;
149
            this.treeListSPPIDTreeList.Location = new System.Drawing.Point(697, 45);
289
            this.treeListSPPIDTreeList.Location = new System.Drawing.Point(749, 45);
150 290
            this.treeListSPPIDTreeList.Name = "treeListSPPIDTreeList";
151
            this.treeListSPPIDTreeList.Size = new System.Drawing.Size(295, 311);
291
            this.treeListSPPIDTreeList.Size = new System.Drawing.Size(321, 309);
152 292
            this.treeListSPPIDTreeList.TabIndex = 12;
153
            // 
154
            // treeListID2TreeList
155
            // 
156
            this.treeListID2TreeList.Cursor = System.Windows.Forms.Cursors.Default;
157
            this.treeListID2TreeList.Location = new System.Drawing.Point(24, 45);
158
            this.treeListID2TreeList.Name = "treeListID2TreeList";
159
            this.treeListID2TreeList.OptionsSelection.EnableAppearanceFocusedCell = false;
160
            this.treeListID2TreeList.Size = new System.Drawing.Size(635, 253);
161
            this.treeListID2TreeList.TabIndex = 11;
162
            // 
163
            // textBoxID2SymbolType
164
            // 
165
            this.textBoxID2SymbolType.Location = new System.Drawing.Point(124, 657);
166
            this.textBoxID2SymbolType.MenuManager = this.ribbonControl;
167
            this.textBoxID2SymbolType.Name = "textBoxID2SymbolType";
168
            this.textBoxID2SymbolType.Size = new System.Drawing.Size(535, 20);
169
            this.textBoxID2SymbolType.StyleController = this.layoutControl1;
170
            this.textBoxID2SymbolType.TabIndex = 9;
171
            // 
172
            // textBoxID2SymbolName
173
            // 
174
            this.textBoxID2SymbolName.Location = new System.Drawing.Point(124, 633);
175
            this.textBoxID2SymbolName.MenuManager = this.ribbonControl;
176
            this.textBoxID2SymbolName.Name = "textBoxID2SymbolName";
177
            this.textBoxID2SymbolName.Size = new System.Drawing.Size(535, 20);
178
            this.textBoxID2SymbolName.StyleController = this.layoutControl1;
179
            this.textBoxID2SymbolName.TabIndex = 8;
293
            this.treeListSPPIDTreeList.DoubleClick += new System.EventHandler(this.treeListSPPIDTreeList_DoubleClick);
180 294
            // 
181 295
            // pictureEditID2Symbol
182 296
            // 
183
            this.pictureEditID2Symbol.Location = new System.Drawing.Point(36, 345);
297
            this.pictureEditID2Symbol.Location = new System.Drawing.Point(36, 403);
184 298
            this.pictureEditID2Symbol.MenuManager = this.ribbonControl;
185 299
            this.pictureEditID2Symbol.Name = "pictureEditID2Symbol";
186 300
            this.pictureEditID2Symbol.Properties.ShowCameraMenuItem = DevExpress.XtraEditors.Controls.CameraMenuItemVisibility.Auto;
187
            this.pictureEditID2Symbol.Size = new System.Drawing.Size(290, 272);
301
            this.pictureEditID2Symbol.Properties.SizeMode = DevExpress.XtraEditors.Controls.PictureSizeMode.Squeeze;
302
            this.pictureEditID2Symbol.Size = new System.Drawing.Size(316, 259);
188 303
            this.pictureEditID2Symbol.StyleController = this.layoutControl1;
189 304
            this.pictureEditID2Symbol.TabIndex = 4;
190 305
            // 
191 306
            // pictureEditMapped
192 307
            // 
193
            this.pictureEditMapped.Location = new System.Drawing.Point(364, 345);
308
            this.pictureEditMapped.Location = new System.Drawing.Point(390, 403);
194 309
            this.pictureEditMapped.MenuManager = this.ribbonControl;
195 310
            this.pictureEditMapped.Name = "pictureEditMapped";
196 311
            this.pictureEditMapped.Properties.ShowCameraMenuItem = DevExpress.XtraEditors.Controls.CameraMenuItemVisibility.Auto;
197
            this.pictureEditMapped.Size = new System.Drawing.Size(283, 272);
312
            this.pictureEditMapped.Properties.SizeMode = DevExpress.XtraEditors.Controls.PictureSizeMode.Squeeze;
313
            this.pictureEditMapped.Size = new System.Drawing.Size(309, 259);
198 314
            this.pictureEditMapped.StyleController = this.layoutControl1;
199 315
            this.pictureEditMapped.TabIndex = 5;
200 316
            // 
......
203 319
            this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
204 320
            this.Root.GroupBordersVisible = false;
205 321
            this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
206
            this.layoutControlGroup1,
207 322
            this.layoutControlGroup2,
208
            this.layoutControlItem4,
209 323
            this.emptySpaceItem2,
210
            this.splitterItem3});
324
            this.splitterItem3,
325
            this.tabbedControlGroup,
326
            this.layoutControlItem12,
327
            this.layoutControlItem4,
328
            this.emptySpaceItem1});
211 329
            this.Root.Name = "Root";
212
            this.Root.Size = new System.Drawing.Size(1016, 741);
330
            this.Root.Size = new System.Drawing.Size(1094, 738);
213 331
            this.Root.TextVisible = false;
214 332
            // 
215
            // layoutControlGroup1
333
            // layoutControlGroup2
216 334
            // 
217
            this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
218
            this.layoutControlItem3,
219
            this.layoutControlItem5,
220
            this.layoutControlItem7,
221
            this.splitterItem1,
222
            this.layoutControlGroup3,
223
            this.layoutControlGroup4,
224
            this.splitterItem4});
225
            this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0);
226
            this.layoutControlGroup1.Name = "layoutControlGroup1";
227
            this.layoutControlGroup1.Size = new System.Drawing.Size(663, 681);
228
            this.layoutControlGroup1.Text = "ID2 Symbol";
335
            this.layoutControlGroup2.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
336
            this.layoutControlItem8,
337
            this.splitterItem2,
338
            this.layoutControlGroup5,
339
            this.splitterItem5});
340
            this.layoutControlGroup2.Location = new System.Drawing.Point(725, 0);
341
            this.layoutControlGroup2.Name = "layoutControlGroup2";
342
            this.layoutControlGroup2.Size = new System.Drawing.Size(349, 678);
343
            this.layoutControlGroup2.Text = "SPPID Symbol";
229 344
            // 
230
            // layoutControlItem3
345
            // layoutControlItem8
231 346
            // 
232
            this.layoutControlItem3.Control = this.textBoxID2SymbolName;
233
            this.layoutControlItem3.Location = new System.Drawing.Point(0, 588);
234
            this.layoutControlItem3.Name = "layoutControlItem3";
235
            this.layoutControlItem3.Size = new System.Drawing.Size(639, 24);
236
            this.layoutControlItem3.Text = "ID2 Symbol Name";
237
            this.layoutControlItem3.TextSize = new System.Drawing.Size(97, 14);
347
            this.layoutControlItem8.Control = this.treeListSPPIDTreeList;
348
            this.layoutControlItem8.Location = new System.Drawing.Point(0, 0);
349
            this.layoutControlItem8.Name = "layoutControlItem8";
350
            this.layoutControlItem8.Size = new System.Drawing.Size(325, 313);
351
            this.layoutControlItem8.TextSize = new System.Drawing.Size(0, 0);
352
            this.layoutControlItem8.TextVisible = false;
238 353
            // 
239
            // layoutControlItem5
354
            // splitterItem2
240 355
            // 
241
            this.layoutControlItem5.Control = this.textBoxID2SymbolType;
242
            this.layoutControlItem5.Location = new System.Drawing.Point(0, 612);
243
            this.layoutControlItem5.Name = "layoutControlItem5";
244
            this.layoutControlItem5.Size = new System.Drawing.Size(639, 24);
245
            this.layoutControlItem5.Text = "ID2 Symbol Type";
246
            this.layoutControlItem5.TextSize = new System.Drawing.Size(97, 14);
356
            this.splitterItem2.AllowHotTrack = true;
357
            this.splitterItem2.Location = new System.Drawing.Point(0, 623);
358
            this.splitterItem2.Name = "splitterItem2";
359
            this.splitterItem2.Size = new System.Drawing.Size(325, 10);
247 360
            // 
248
            // layoutControlItem7
361
            // layoutControlGroup5
249 362
            // 
250
            this.layoutControlItem7.Control = this.treeListID2TreeList;
251
            this.layoutControlItem7.Location = new System.Drawing.Point(0, 0);
252
            this.layoutControlItem7.Name = "layoutControlItem7";
253
            this.layoutControlItem7.Size = new System.Drawing.Size(639, 257);
254
            this.layoutControlItem7.TextSize = new System.Drawing.Size(0, 0);
255
            this.layoutControlItem7.TextVisible = false;
363
            this.layoutControlGroup5.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
364
            this.layoutControlItem9});
365
            this.layoutControlGroup5.Location = new System.Drawing.Point(0, 323);
366
            this.layoutControlGroup5.Name = "layoutControlGroup5";
367
            this.layoutControlGroup5.Size = new System.Drawing.Size(325, 300);
368
            this.layoutControlGroup5.Text = "SPPID Image";
369
            // 
370
            // layoutControlItem9
371
            // 
372
            this.layoutControlItem9.Control = this.pictureEditSPPIDSymbol;
373
            this.layoutControlItem9.Location = new System.Drawing.Point(0, 0);
374
            this.layoutControlItem9.Name = "layoutControlItem9";
375
            this.layoutControlItem9.Size = new System.Drawing.Size(301, 255);
376
            this.layoutControlItem9.TextSize = new System.Drawing.Size(0, 0);
377
            this.layoutControlItem9.TextVisible = false;
378
            // 
379
            // splitterItem5
380
            // 
381
            this.splitterItem5.AllowHotTrack = true;
382
            this.splitterItem5.Location = new System.Drawing.Point(0, 313);
383
            this.splitterItem5.Name = "splitterItem5";
384
            this.splitterItem5.Size = new System.Drawing.Size(325, 10);
385
            // 
386
            // emptySpaceItem2
387
            // 
388
            this.emptySpaceItem2.AllowHotTrack = false;
389
            this.emptySpaceItem2.Location = new System.Drawing.Point(0, 678);
390
            this.emptySpaceItem2.Name = "emptySpaceItem2";
391
            this.emptySpaceItem2.Size = new System.Drawing.Size(881, 40);
392
            this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0);
393
            // 
394
            // splitterItem3
395
            // 
396
            this.splitterItem3.AllowHotTrack = true;
397
            this.splitterItem3.Location = new System.Drawing.Point(715, 0);
398
            this.splitterItem3.Name = "splitterItem3";
399
            this.splitterItem3.Size = new System.Drawing.Size(10, 678);
400
            // 
401
            // tabbedControlGroup
402
            // 
403
            this.tabbedControlGroup.Location = new System.Drawing.Point(0, 0);
404
            this.tabbedControlGroup.Name = "tabbedControlGroup";
405
            this.tabbedControlGroup.SelectedTabPage = this.GroupLineNumber;
406
            this.tabbedControlGroup.Size = new System.Drawing.Size(715, 678);
407
            this.tabbedControlGroup.TabPages.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
408
            this.GroupSymbol,
409
            this.GroupLine,
410
            this.GroupLineNumber,
411
            this.GroupAssociation});
412
            // 
413
            // GroupLineNumber
414
            // 
415
            this.GroupLineNumber.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
416
            this.layoutControlGroup8});
417
            this.GroupLineNumber.Location = new System.Drawing.Point(0, 0);
418
            this.GroupLineNumber.Name = "GroupLineNumber";
419
            this.GroupLineNumber.Size = new System.Drawing.Size(691, 632);
420
            this.GroupLineNumber.Text = "Line Number";
421
            // 
422
            // layoutControlGroup8
423
            // 
424
            this.layoutControlGroup8.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
425
            this.layoutControlItem13,
426
            this.layoutControlItem3});
427
            this.layoutControlGroup8.Location = new System.Drawing.Point(0, 0);
428
            this.layoutControlGroup8.Name = "layoutControlGroup8";
429
            this.layoutControlGroup8.Size = new System.Drawing.Size(691, 632);
430
            this.layoutControlGroup8.Text = "ID2 Line Number";
431
            // 
432
            // layoutControlItem13
433
            // 
434
            this.layoutControlItem13.Control = this.gridControlLineNumber;
435
            this.layoutControlItem13.Location = new System.Drawing.Point(0, 24);
436
            this.layoutControlItem13.Name = "layoutControlItem13";
437
            this.layoutControlItem13.Size = new System.Drawing.Size(667, 563);
438
            this.layoutControlItem13.TextSize = new System.Drawing.Size(0, 0);
439
            this.layoutControlItem13.TextVisible = false;
440
            // 
441
            // layoutControlItem3
442
            // 
443
            this.layoutControlItem3.Control = this.textBoxLineNumberPath;
444
            this.layoutControlItem3.Location = new System.Drawing.Point(0, 0);
445
            this.layoutControlItem3.Name = "layoutControlItem3";
446
            this.layoutControlItem3.Size = new System.Drawing.Size(667, 24);
447
            this.layoutControlItem3.Text = "SPPID Line Number Label Path";
448
            this.layoutControlItem3.TextSize = new System.Drawing.Size(167, 14);
449
            // 
450
            // GroupSymbol
451
            // 
452
            this.GroupSymbol.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
453
            this.splitterItem1,
454
            this.layoutControlGroup3,
455
            this.layoutControlGroup4,
456
            this.splitterItem4,
457
            this.layoutControlGroup1});
458
            this.GroupSymbol.Location = new System.Drawing.Point(0, 0);
459
            this.GroupSymbol.Name = "GroupSymbol";
460
            this.GroupSymbol.Size = new System.Drawing.Size(691, 632);
461
            this.GroupSymbol.Text = "Symbol";
256 462
            // 
257 463
            // splitterItem1
258 464
            // 
259 465
            this.splitterItem1.AllowHotTrack = true;
260
            this.splitterItem1.Location = new System.Drawing.Point(0, 257);
466
            this.splitterItem1.Location = new System.Drawing.Point(0, 314);
261 467
            this.splitterItem1.Name = "splitterItem1";
262
            this.splitterItem1.Size = new System.Drawing.Size(639, 10);
468
            this.splitterItem1.Size = new System.Drawing.Size(691, 10);
263 469
            // 
264 470
            // layoutControlGroup3
265 471
            // 
266 472
            this.layoutControlGroup3.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
267 473
            this.layoutControlItem1});
268
            this.layoutControlGroup3.Location = new System.Drawing.Point(0, 267);
474
            this.layoutControlGroup3.Location = new System.Drawing.Point(0, 324);
269 475
            this.layoutControlGroup3.Name = "layoutControlGroup3";
270
            this.layoutControlGroup3.Size = new System.Drawing.Size(318, 321);
476
            this.layoutControlGroup3.Size = new System.Drawing.Size(344, 308);
271 477
            this.layoutControlGroup3.Text = "ID2 Image";
272 478
            // 
273 479
            // layoutControlItem1
......
275 481
            this.layoutControlItem1.Control = this.pictureEditID2Symbol;
276 482
            this.layoutControlItem1.Location = new System.Drawing.Point(0, 0);
277 483
            this.layoutControlItem1.Name = "layoutControlItem1";
278
            this.layoutControlItem1.Size = new System.Drawing.Size(294, 276);
484
            this.layoutControlItem1.Size = new System.Drawing.Size(320, 263);
279 485
            this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0);
280 486
            this.layoutControlItem1.TextVisible = false;
281 487
            // 
......
283 489
            // 
284 490
            this.layoutControlGroup4.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
285 491
            this.layoutControlItem2});
286
            this.layoutControlGroup4.Location = new System.Drawing.Point(328, 267);
492
            this.layoutControlGroup4.Location = new System.Drawing.Point(354, 324);
287 493
            this.layoutControlGroup4.Name = "layoutControlGroup4";
288
            this.layoutControlGroup4.Size = new System.Drawing.Size(311, 321);
494
            this.layoutControlGroup4.Size = new System.Drawing.Size(337, 308);
289 495
            this.layoutControlGroup4.Text = "Mapped Image";
290 496
            // 
291 497
            // layoutControlItem2
......
293 499
            this.layoutControlItem2.Control = this.pictureEditMapped;
294 500
            this.layoutControlItem2.Location = new System.Drawing.Point(0, 0);
295 501
            this.layoutControlItem2.Name = "layoutControlItem2";
296
            this.layoutControlItem2.Size = new System.Drawing.Size(287, 276);
502
            this.layoutControlItem2.Size = new System.Drawing.Size(313, 263);
297 503
            this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0);
298 504
            this.layoutControlItem2.TextVisible = false;
299 505
            // 
300 506
            // splitterItem4
301 507
            // 
302 508
            this.splitterItem4.AllowHotTrack = true;
303
            this.splitterItem4.Location = new System.Drawing.Point(318, 267);
509
            this.splitterItem4.Location = new System.Drawing.Point(344, 324);
304 510
            this.splitterItem4.Name = "splitterItem4";
305
            this.splitterItem4.Size = new System.Drawing.Size(10, 321);
511
            this.splitterItem4.Size = new System.Drawing.Size(10, 308);
306 512
            // 
307
            // layoutControlGroup2
308
            // 
309
            this.layoutControlGroup2.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
310
            this.layoutControlItem8,
311
            this.splitterItem2,
312
            this.layoutControlGroup5,
313
            this.splitterItem5});
314
            this.layoutControlGroup2.Location = new System.Drawing.Point(673, 0);
315
            this.layoutControlGroup2.Name = "layoutControlGroup2";
316
            this.layoutControlGroup2.Size = new System.Drawing.Size(323, 681);
317
            this.layoutControlGroup2.Text = "SPPID Symbol";
318
            // 
319
            // layoutControlItem8
320
            // 
321
            this.layoutControlItem8.Control = this.treeListSPPIDTreeList;
322
            this.layoutControlItem8.Location = new System.Drawing.Point(0, 0);
323
            this.layoutControlItem8.Name = "layoutControlItem8";
324
            this.layoutControlItem8.Size = new System.Drawing.Size(299, 315);
325
            this.layoutControlItem8.TextSize = new System.Drawing.Size(0, 0);
326
            this.layoutControlItem8.TextVisible = false;
327
            // 
328
            // splitterItem2
329
            // 
330
            this.splitterItem2.AllowHotTrack = true;
331
            this.splitterItem2.Location = new System.Drawing.Point(0, 626);
332
            this.splitterItem2.Name = "splitterItem2";
333
            this.splitterItem2.Size = new System.Drawing.Size(299, 10);
334
            // 
335
            // layoutControlGroup5
336
            // 
337
            this.layoutControlGroup5.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
338
            this.layoutControlItem9});
339
            this.layoutControlGroup5.Location = new System.Drawing.Point(0, 325);
340
            this.layoutControlGroup5.Name = "layoutControlGroup5";
341
            this.layoutControlGroup5.Size = new System.Drawing.Size(299, 301);
342
            this.layoutControlGroup5.Text = "SPPID Image";
343
            // 
344
            // layoutControlItem9
345
            // 
346
            this.layoutControlItem9.Control = this.pictureEditSPPIDSymbol;
347
            this.layoutControlItem9.Location = new System.Drawing.Point(0, 0);
348
            this.layoutControlItem9.Name = "layoutControlItem9";
349
            this.layoutControlItem9.Size = new System.Drawing.Size(275, 256);
350
            this.layoutControlItem9.TextSize = new System.Drawing.Size(0, 0);
351
            this.layoutControlItem9.TextVisible = false;
352
            // 
353
            // splitterItem5
513
            // layoutControlGroup1
354 514
            // 
355
            this.splitterItem5.AllowHotTrack = true;
356
            this.splitterItem5.Location = new System.Drawing.Point(0, 315);
357
            this.splitterItem5.Name = "splitterItem5";
358
            this.splitterItem5.Size = new System.Drawing.Size(299, 10);
515
            this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
516
            this.layoutControlItem6});
517
            this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0);
518
            this.layoutControlGroup1.Name = "layoutControlGroup1";
519
            this.layoutControlGroup1.Size = new System.Drawing.Size(691, 314);
520
            this.layoutControlGroup1.Text = "ID2 Symbol List";
521
            // 
522
            // layoutControlItem6
523
            // 
524
            this.layoutControlItem6.Control = this.gridControlSymbol;
525
            this.layoutControlItem6.Location = new System.Drawing.Point(0, 0);
526
            this.layoutControlItem6.Name = "layoutControlItem6";
527
            this.layoutControlItem6.Size = new System.Drawing.Size(667, 269);
528
            this.layoutControlItem6.TextSize = new System.Drawing.Size(0, 0);
529
            this.layoutControlItem6.TextVisible = false;
530
            // 
531
            // GroupLine
532
            // 
533
            this.GroupLine.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
534
            this.layoutControlGroup6});
535
            this.GroupLine.Location = new System.Drawing.Point(0, 0);
536
            this.GroupLine.Name = "GroupLine";
537
            this.GroupLine.Size = new System.Drawing.Size(691, 632);
538
            this.GroupLine.Text = "Line";
539
            // 
540
            // layoutControlGroup6
541
            // 
542
            this.layoutControlGroup6.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
543
            this.layoutControlItem10});
544
            this.layoutControlGroup6.Location = new System.Drawing.Point(0, 0);
545
            this.layoutControlGroup6.Name = "layoutControlGroup6";
546
            this.layoutControlGroup6.Size = new System.Drawing.Size(691, 632);
547
            this.layoutControlGroup6.Text = "ID2 Line List";
548
            // 
549
            // layoutControlItem10
550
            // 
551
            this.layoutControlItem10.Control = this.gridControlLine;
552
            this.layoutControlItem10.Location = new System.Drawing.Point(0, 0);
553
            this.layoutControlItem10.Name = "layoutControlItem10";
554
            this.layoutControlItem10.Size = new System.Drawing.Size(667, 587);
555
            this.layoutControlItem10.TextSize = new System.Drawing.Size(0, 0);
556
            this.layoutControlItem10.TextVisible = false;
557
            // 
558
            // GroupAssociation
559
            // 
560
            this.GroupAssociation.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
561
            this.layoutControlGroup7});
562
            this.GroupAssociation.Location = new System.Drawing.Point(0, 0);
563
            this.GroupAssociation.Name = "GroupAssociation";
564
            this.GroupAssociation.Size = new System.Drawing.Size(691, 632);
565
            this.GroupAssociation.Text = "Association";
566
            // 
567
            // layoutControlGroup7
568
            // 
569
            this.layoutControlGroup7.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
570
            this.layoutControlItem11});
571
            this.layoutControlGroup7.Location = new System.Drawing.Point(0, 0);
572
            this.layoutControlGroup7.Name = "layoutControlGroup7";
573
            this.layoutControlGroup7.Size = new System.Drawing.Size(691, 632);
574
            this.layoutControlGroup7.Text = "ID2 Association List";
575
            // 
576
            // layoutControlItem11
577
            // 
578
            this.layoutControlItem11.Control = this.gridControlAssociation;
579
            this.layoutControlItem11.Location = new System.Drawing.Point(0, 0);
580
            this.layoutControlItem11.Name = "layoutControlItem11";
581
            this.layoutControlItem11.Size = new System.Drawing.Size(667, 587);
582
            this.layoutControlItem11.TextSize = new System.Drawing.Size(0, 0);
583
            this.layoutControlItem11.TextVisible = false;
584
            // 
585
            // layoutControlItem12
586
            // 
587
            this.layoutControlItem12.Control = this.btnClose;
588
            this.layoutControlItem12.Location = new System.Drawing.Point(984, 678);
589
            this.layoutControlItem12.MaxSize = new System.Drawing.Size(90, 40);
590
            this.layoutControlItem12.MinSize = new System.Drawing.Size(90, 40);
591
            this.layoutControlItem12.Name = "layoutControlItem12";
592
            this.layoutControlItem12.Size = new System.Drawing.Size(90, 40);
593
            this.layoutControlItem12.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
594
            this.layoutControlItem12.TextSize = new System.Drawing.Size(0, 0);
595
            this.layoutControlItem12.TextVisible = false;
359 596
            // 
360 597
            // layoutControlItem4
361 598
            // 
362 599
            this.layoutControlItem4.Control = this.btnSave;
363
            this.layoutControlItem4.Location = new System.Drawing.Point(856, 681);
364
            this.layoutControlItem4.MaxSize = new System.Drawing.Size(140, 40);
365
            this.layoutControlItem4.MinSize = new System.Drawing.Size(140, 40);
600
            this.layoutControlItem4.Location = new System.Drawing.Point(881, 678);
601
            this.layoutControlItem4.MaxSize = new System.Drawing.Size(88, 40);
602
            this.layoutControlItem4.MinSize = new System.Drawing.Size(88, 40);
366 603
            this.layoutControlItem4.Name = "layoutControlItem4";
367
            this.layoutControlItem4.Size = new System.Drawing.Size(140, 40);
604
            this.layoutControlItem4.Size = new System.Drawing.Size(88, 40);
368 605
            this.layoutControlItem4.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
369 606
            this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0);
370 607
            this.layoutControlItem4.TextVisible = false;
371 608
            // 
372
            // emptySpaceItem2
609
            // emptySpaceItem1
373 610
            // 
374
            this.emptySpaceItem2.AllowHotTrack = false;
375
            this.emptySpaceItem2.Location = new System.Drawing.Point(0, 681);
376
            this.emptySpaceItem2.Name = "emptySpaceItem2";
377
            this.emptySpaceItem2.Size = new System.Drawing.Size(856, 40);
378
            this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0);
379
            // 
380
            // splitterItem3
381
            // 
382
            this.splitterItem3.AllowHotTrack = true;
383
            this.splitterItem3.Location = new System.Drawing.Point(663, 0);
384
            this.splitterItem3.Name = "splitterItem3";
385
            this.splitterItem3.Size = new System.Drawing.Size(10, 681);
611
            this.emptySpaceItem1.AllowHotTrack = false;
612
            this.emptySpaceItem1.Location = new System.Drawing.Point(969, 678);
613
            this.emptySpaceItem1.MaxSize = new System.Drawing.Size(15, 40);
614
            this.emptySpaceItem1.MinSize = new System.Drawing.Size(15, 40);
615
            this.emptySpaceItem1.Name = "emptySpaceItem1";
616
            this.emptySpaceItem1.Size = new System.Drawing.Size(15, 40);
617
            this.emptySpaceItem1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
618
            this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0);
386 619
            // 
387 620
            // MappingForm
388 621
            // 
389 622
            this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
390 623
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
391
            this.ClientSize = new System.Drawing.Size(1016, 773);
624
            this.ClientSize = new System.Drawing.Size(1094, 770);
392 625
            this.Controls.Add(this.layoutControl1);
393 626
            this.Controls.Add(this.ribbonControl);
394 627
            this.Name = "MappingForm";
......
396 629
            this.ShowIcon = false;
397 630
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
398 631
            this.Text = "Item Mapping";
632
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
399 633
            ((System.ComponentModel.ISupportInitialize)(this.ribbonControl)).EndInit();
400 634
            ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
401 635
            this.layoutControl1.ResumeLayout(false);
636
            ((System.ComponentModel.ISupportInitialize)(this.textBoxLineNumberPath.Properties)).EndInit();
637
            ((System.ComponentModel.ISupportInitialize)(this.gridControlLineNumber)).EndInit();
638
            ((System.ComponentModel.ISupportInitialize)(this.gridViewLineNumber)).EndInit();
639
            ((System.ComponentModel.ISupportInitialize)(this.gridControlAssociation)).EndInit();
640
            ((System.ComponentModel.ISupportInitialize)(this.gridViewAssociation)).EndInit();
641
            ((System.ComponentModel.ISupportInitialize)(this.gridControlLine)).EndInit();
642
            ((System.ComponentModel.ISupportInitialize)(this.gridViewLine)).EndInit();
643
            ((System.ComponentModel.ISupportInitialize)(this.gridControlSymbol)).EndInit();
644
            ((System.ComponentModel.ISupportInitialize)(this.gridViewSymbol)).EndInit();
402 645
            ((System.ComponentModel.ISupportInitialize)(this.pictureEditSPPIDSymbol.Properties)).EndInit();
403 646
            ((System.ComponentModel.ISupportInitialize)(this.treeListSPPIDTreeList)).EndInit();
404
            ((System.ComponentModel.ISupportInitialize)(this.treeListID2TreeList)).EndInit();
405
            ((System.ComponentModel.ISupportInitialize)(this.textBoxID2SymbolType.Properties)).EndInit();
406
            ((System.ComponentModel.ISupportInitialize)(this.textBoxID2SymbolName.Properties)).EndInit();
407 647
            ((System.ComponentModel.ISupportInitialize)(this.pictureEditID2Symbol.Properties)).EndInit();
408 648
            ((System.ComponentModel.ISupportInitialize)(this.pictureEditMapped.Properties)).EndInit();
409 649
            ((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit();
410
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit();
411
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
412
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit();
413
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit();
414
            ((System.ComponentModel.ISupportInitialize)(this.splitterItem1)).EndInit();
415
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).EndInit();
416
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
417
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup4)).EndInit();
418
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
419
            ((System.ComponentModel.ISupportInitialize)(this.splitterItem4)).EndInit();
420 650
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).EndInit();
421 651
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit();
422 652
            ((System.ComponentModel.ISupportInitialize)(this.splitterItem2)).EndInit();
423 653
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup5)).EndInit();
424 654
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit();
425 655
            ((System.ComponentModel.ISupportInitialize)(this.splitterItem5)).EndInit();
426
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit();
427 656
            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).EndInit();
428 657
            ((System.ComponentModel.ISupportInitialize)(this.splitterItem3)).EndInit();
658
            ((System.ComponentModel.ISupportInitialize)(this.tabbedControlGroup)).EndInit();
659
            ((System.ComponentModel.ISupportInitialize)(this.GroupLineNumber)).EndInit();
660
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup8)).EndInit();
661
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).EndInit();
662
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
663
            ((System.ComponentModel.ISupportInitialize)(this.GroupSymbol)).EndInit();
664
            ((System.ComponentModel.ISupportInitialize)(this.splitterItem1)).EndInit();
665
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).EndInit();
666
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
667
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup4)).EndInit();
668
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
669
            ((System.ComponentModel.ISupportInitialize)(this.splitterItem4)).EndInit();
670
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit();
671
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit();
672
            ((System.ComponentModel.ISupportInitialize)(this.GroupLine)).EndInit();
673
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup6)).EndInit();
674
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).EndInit();
675
            ((System.ComponentModel.ISupportInitialize)(this.GroupAssociation)).EndInit();
676
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup7)).EndInit();
677
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).EndInit();
678
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).EndInit();
679
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit();
680
            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit();
429 681
            this.ResumeLayout(false);
430 682
            this.PerformLayout();
431 683

  
......
438 690
        private DevExpress.XtraLayout.LayoutControlGroup Root;
439 691
        private DevExpress.XtraEditors.PictureEdit pictureEditID2Symbol;
440 692
        private DevExpress.XtraEditors.PictureEdit pictureEditMapped;
441
        private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup1;
442
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
443 693
        private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup2;
444
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2;
445
        private DevExpress.XtraEditors.TextEdit textBoxID2SymbolName;
446
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3;
447
        private DevExpress.XtraEditors.TextEdit textBoxID2SymbolType;
448
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5;
449 694
        private DevExpress.XtraTreeList.TreeList treeListSPPIDTreeList;
450
        private DevExpress.XtraTreeList.TreeList treeListID2TreeList;
451
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7;
... 이 차이점은 표시할 수 있는 최대 줄수를 초과해서 이 차이점은 잘렸습니다.

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)