프로젝트

일반

사용자정보

개정판 86c0a45e

ID86c0a45ee993098566030aed2546d8549347a3b3
상위 edde144e
하위 fef5b613

gaqhf 이(가) 4년 이상 전에 추가함

dev issue #000 : add bulk attribute

Change-Id: I1ec51677e3f1513a79bd8a3cf667f13d1070d6f2

차이점 보기:

DTI_PID/SPPIDConverter/AutoModeling.cs
99 99
                    Log.Write("Start Modeling");
100 100
                    SplashScreenManager.ShowForm(typeof(SPPIDSplashScreen), true, true);
101 101
                    SplashScreenManager.Default.SendCommand(SPPIDSplashScreen.SplashScreenCommand.SetParent, (IntPtr)radApp.HWnd);
102
                    SplashScreenManager.Default.SendCommand(SPPIDSplashScreen.SplashScreenCommand.SetAllStepCount, 24);
102
                    SplashScreenManager.Default.SendCommand(SPPIDSplashScreen.SplashScreenCommand.SetAllStepCount, 25);
103 103
                    SplashScreenManager.Default.SendCommand(SPPIDSplashScreen.SplashScreenCommand.SetDocumentName, DocumentLabelText);
104 104

  
105 105
                    // VendorPackage Modeling
......
142 142
                    RunCorrectAssociationText();
143 143
                    // ETC
144 144
                    RunETC();
145

  
145
                    // BulkAttribute
146
                    RunBulkAttribute();
146 147
                    // Result Logging
147 148
                    document.CheckModelingResult();
148 149
                }
......
1046 1047
                SplashScreenManager.Default.SendCommand(SPPIDSplashScreen.SplashScreenCommand.UpProgress, null);
1047 1048
            }
1048 1049
        }
1050
        private void RunBulkAttribute()
1051
        {
1052
            SplashScreenManager.Default.SendCommand(SPPIDSplashScreen.SplashScreenCommand.SetAllProgress, 2);
1053
            SplashScreenManager.Default.SendCommand(SPPIDSplashScreen.SplashScreenCommand.SetStep, "Bulk Attribute");
1054
            SPPIDUtil.BulkAttribute(dataSource, _ETCSetting.BulkAttributes, BulkAttributeItemType.PipeRun);
1055
            SplashScreenManager.Default.SendCommand(SPPIDSplashScreen.SplashScreenCommand.UpProgress, null);
1056
            SPPIDUtil.BulkAttribute(dataSource, _ETCSetting.BulkAttributes, BulkAttributeItemType.Symbol);
1057
            SplashScreenManager.Default.SendCommand(SPPIDSplashScreen.SplashScreenCommand.UpProgress, null);
1058
        }
1049 1059
        /// <summary>
1050 1060
        /// 도면 생성 메서드
1051 1061
        /// </summary>
DTI_PID/SPPIDConverter/DB/SPPID_DB.cs
296 296

  
297 297
            return plantList;
298 298
        }
299
        
299

  
300
        public static DataTable GetSPPIDCodeList()
301
        {
302
            List<string> attributes = new List<string>();
303
            SPPID_DBInfo dbInfo = SPPID_DBInfo.GetInstance();
304
            DataTable dt = null;
305
            string connString = string.Empty;
306
            try
307
            {
308
                if (dbInfo.DBType == "ORACLE")
309
                {
310
                    connString = string.Format(oracleConnString, dbInfo.ServerIP, dbInfo.Port, dbInfo.Service);
311
                    connString = "Data Source=" + connString + ";User Id=" + dbInfo.DBUser + ";Password=" + dbInfo.DBPassword;
312

  
313
                    using (OracleConnection conn = new OracleConnection(connString))
314
                    {
315
                        conn.Open();
316
                        if (conn.State == System.Data.ConnectionState.Open)
317
                        {
318
                            string sQuery = string.Format(CultureInfo.CurrentCulture,
319
                                @"SELECT attribute_name, attribute_datatype FROM {0}.attributes WHERE attribute_codelisted = 'T'"
320
                                , dbInfo.PlantPIDDic);
321
                            using (OracleCommand cmd = new OracleCommand(sQuery, conn))
322
                            using (OracleDataAdapter adapter = new OracleDataAdapter())
323
                            {
324
                                adapter.SelectCommand = cmd;
325
                                dt = new DataTable();
326
                                adapter.Fill(dt);
327
                                foreach (DataColumn item in dt.Columns)
328
                                    item.ColumnName = item.ColumnName.ToUpper();
329
                            }
330
                        }
331
                    }
332
                }
333
                else if (dbInfo.DBType == "SQLSERVER")
334
                {
335
                    connString = string.Format("server = {0}; uid = {1}; pwd = {2}; database = {3};", dbInfo.Service, dbInfo.DBUser, dbInfo.DBPassword, dbInfo.PlantPIDDic_DataBase);
336
                    using (SqlConnection conn = new SqlConnection(connString))
337
                    {
338
                        conn.Open();
339
                        if (conn.State == ConnectionState.Open)
340
                        {
341
                            string sQuery = string.Format(CultureInfo.CurrentCulture,
342
                                @"SELECT attribute_name, attribute_datatype FROM {0}.attributes WHERE attribute_codelisted = 'T'"
343
                                , dbInfo.PlantPIDDic);
344
                            using (SqlCommand cmd = new SqlCommand(sQuery, conn))
345
                            using (SqlDataAdapter adapter = new SqlDataAdapter())
346
                            {
347
                                adapter.SelectCommand = cmd;
348
                                dt = new DataTable();
349
                                adapter.Fill(dt);
350
                                foreach (DataColumn item in dt.Columns)
351
                                    item.ColumnName = item.ColumnName.ToUpper();
352
                            }
353
                        }
354
                    }
355
                }
356

  
357
            }
358
            catch (Exception ex)
359
            {
360
                System.Windows.Forms.MessageBox.Show("Connection String : " + connString + "\r\n" + ex.Message + "\r\n" + ex.StackTrace);
361
            }
362

  
363
            return dt;
364
        }
300 365
        public static DataTable GetSPPIDAttribute()
301 366
        {
302 367
            List<string> attributes = new List<string>();
DTI_PID/SPPIDConverter/Form/MappingForm.Designer.cs
31 31
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MappingForm));
32 32
            this.ribbonControl = new DevExpress.XtraBars.Ribbon.RibbonControl();
33 33
            this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
34
            this.gridControlBulkAttribute = new DevExpress.XtraGrid.GridControl();
35
            this.gridViewBulkAttribute = new DevExpress.XtraGrid.Views.Grid.GridView();
34 36
            this.radioGroupUnit = new DevExpress.XtraEditors.RadioGroup();
35 37
            this.gridControlDrawingAttribute = new DevExpress.XtraGrid.GridControl();
36 38
            this.gridViewDrawingAttribute = new DevExpress.XtraGrid.Views.Grid.GridView();
......
81 83
            this.splitterItem3 = new DevExpress.XtraLayout.SplitterItem();
82 84
            this.tabbedControlGroup = new DevExpress.XtraLayout.TabbedControlGroup();
83 85
            this.GroupETCSetting = new DevExpress.XtraLayout.LayoutControlGroup();
84
            this.emptySpaceItem3 = new DevExpress.XtraLayout.EmptySpaceItem();
85 86
            this.layoutControlGroup9 = new DevExpress.XtraLayout.LayoutControlGroup();
86 87
            this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem();
87 88
            this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem();
......
97 98
            this.layoutControlItem29 = new DevExpress.XtraLayout.LayoutControlItem();
98 99
            this.layoutControlGroup16 = new DevExpress.XtraLayout.LayoutControlGroup();
99 100
            this.layoutControlItem31 = new DevExpress.XtraLayout.LayoutControlItem();
101
            this.layoutControlGroup17 = new DevExpress.XtraLayout.LayoutControlGroup();
102
            this.layoutControlItem32 = new DevExpress.XtraLayout.LayoutControlItem();
100 103
            this.GroupSymbol = new DevExpress.XtraLayout.LayoutControlGroup();
101 104
            this.splitterItem1 = new DevExpress.XtraLayout.SplitterItem();
102 105
            this.layoutControlGroup3 = new DevExpress.XtraLayout.LayoutControlGroup();
......
136 139
            ((System.ComponentModel.ISupportInitialize)(this.ribbonControl)).BeginInit();
137 140
            ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
138 141
            this.layoutControl1.SuspendLayout();
142
            ((System.ComponentModel.ISupportInitialize)(this.gridControlBulkAttribute)).BeginInit();
143
            ((System.ComponentModel.ISupportInitialize)(this.gridViewBulkAttribute)).BeginInit();
139 144
            ((System.ComponentModel.ISupportInitialize)(this.radioGroupUnit.Properties)).BeginInit();
140 145
            ((System.ComponentModel.ISupportInitialize)(this.gridControlDrawingAttribute)).BeginInit();
141 146
            ((System.ComponentModel.ISupportInitialize)(this.gridViewDrawingAttribute)).BeginInit();
......
180 185
            ((System.ComponentModel.ISupportInitialize)(this.splitterItem3)).BeginInit();
181 186
            ((System.ComponentModel.ISupportInitialize)(this.tabbedControlGroup)).BeginInit();
182 187
            ((System.ComponentModel.ISupportInitialize)(this.GroupETCSetting)).BeginInit();
183
            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).BeginInit();
184 188
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup9)).BeginInit();
185 189
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit();
186 190
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit();
......
196 200
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem29)).BeginInit();
197 201
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup16)).BeginInit();
198 202
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem31)).BeginInit();
203
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup17)).BeginInit();
204
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem32)).BeginInit();
199 205
            ((System.ComponentModel.ISupportInitialize)(this.GroupSymbol)).BeginInit();
200 206
            ((System.ComponentModel.ISupportInitialize)(this.splitterItem1)).BeginInit();
201 207
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).BeginInit();
......
246 252
            this.ribbonControl.ShowDisplayOptionsMenuButton = DevExpress.Utils.DefaultBoolean.False;
247 253
            this.ribbonControl.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.ShowOnMultiplePages;
248 254
            this.ribbonControl.ShowToolbarCustomizeItem = false;
249
            this.ribbonControl.Size = new System.Drawing.Size(1135, 27);
255
            this.ribbonControl.Size = new System.Drawing.Size(1163, 27);
250 256
            this.ribbonControl.Toolbar.ShowCustomizeItem = false;
251 257
            // 
252 258
            // layoutControl1
253 259
            // 
260
            this.layoutControl1.Controls.Add(this.gridControlBulkAttribute);
254 261
            this.layoutControl1.Controls.Add(this.radioGroupUnit);
255 262
            this.layoutControl1.Controls.Add(this.gridControlDrawingAttribute);
256 263
            this.layoutControl1.Controls.Add(this.textBoxVendorSymbolPath);
......
286 293
            this.layoutControl1.Location = new System.Drawing.Point(0, 27);
287 294
            this.layoutControl1.Name = "layoutControl1";
288 295
            this.layoutControl1.Root = this.Root;
289
            this.layoutControl1.Size = new System.Drawing.Size(1135, 792);
296
            this.layoutControl1.Size = new System.Drawing.Size(1163, 843);
290 297
            this.layoutControl1.TabIndex = 2;
291 298
            this.layoutControl1.Text = "layoutControl1";
292 299
            // 
300
            // gridControlBulkAttribute
301
            // 
302
            this.gridControlBulkAttribute.Location = new System.Drawing.Point(36, 527);
303
            this.gridControlBulkAttribute.MainView = this.gridViewBulkAttribute;
304
            this.gridControlBulkAttribute.MenuManager = this.ribbonControl;
305
            this.gridControlBulkAttribute.Name = "gridControlBulkAttribute";
306
            this.gridControlBulkAttribute.Size = new System.Drawing.Size(764, 240);
307
            this.gridControlBulkAttribute.TabIndex = 44;
308
            this.gridControlBulkAttribute.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
309
            this.gridViewBulkAttribute});
310
            // 
311
            // gridViewBulkAttribute
312
            // 
313
            this.gridViewBulkAttribute.GridControl = this.gridControlBulkAttribute;
314
            this.gridViewBulkAttribute.Name = "gridViewBulkAttribute";
315
            this.gridViewBulkAttribute.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.True;
316
            this.gridViewBulkAttribute.OptionsView.ShowGroupPanel = false;
317
            this.gridViewBulkAttribute.CustomRowCellEditForEditing += new DevExpress.XtraGrid.Views.Grid.CustomRowCellEditEventHandler(this.gridViewBulkAttribute_CustomRowCellEditForEditing);
318
            this.gridViewBulkAttribute.KeyDown += new System.Windows.Forms.KeyEventHandler(this.gridViewBulkAttribute_KeyDown);
319
            // 
293 320
            // radioGroupUnit
294 321
            // 
295 322
            this.radioGroupUnit.Location = new System.Drawing.Point(36, 437);
......
298 325
            this.radioGroupUnit.Properties.Items.AddRange(new DevExpress.XtraEditors.Controls.RadioGroupItem[] {
299 326
            new DevExpress.XtraEditors.Controls.RadioGroupItem("Metric", "Metric"),
300 327
            new DevExpress.XtraEditors.Controls.RadioGroupItem("Imperial", "Imperial")});
301
            this.radioGroupUnit.Size = new System.Drawing.Size(744, 25);
328
            this.radioGroupUnit.Size = new System.Drawing.Size(764, 43);
302 329
            this.radioGroupUnit.StyleController = this.layoutControl1;
303 330
            this.radioGroupUnit.TabIndex = 43;
304 331
            // 
305 332
            // gridControlDrawingAttribute
306 333
            // 
307
            this.gridControlDrawingAttribute.Location = new System.Drawing.Point(36, 543);
334
            this.gridControlDrawingAttribute.Location = new System.Drawing.Point(36, 578);
308 335
            this.gridControlDrawingAttribute.MainView = this.gridViewDrawingAttribute;
309 336
            this.gridControlDrawingAttribute.MenuManager = this.ribbonControl;
310 337
            this.gridControlDrawingAttribute.Name = "gridControlDrawingAttribute";
311
            this.gridControlDrawingAttribute.Size = new System.Drawing.Size(744, 173);
338
            this.gridControlDrawingAttribute.Size = new System.Drawing.Size(764, 189);
312 339
            this.gridControlDrawingAttribute.TabIndex = 42;
313 340
            this.gridControlDrawingAttribute.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
314 341
            this.gridViewDrawingAttribute});
......
326 353
            this.textBoxVendorSymbolPath.Name = "textBoxVendorSymbolPath";
327 354
            this.textBoxVendorSymbolPath.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
328 355
            new DevExpress.XtraEditors.Controls.EditorButton()});
329
            this.textBoxVendorSymbolPath.Size = new System.Drawing.Size(596, 20);
356
            this.textBoxVendorSymbolPath.Size = new System.Drawing.Size(616, 20);
330 357
            this.textBoxVendorSymbolPath.StyleController = this.layoutControl1;
331 358
            this.textBoxVendorSymbolPath.TabIndex = 40;
332 359
            this.textBoxVendorSymbolPath.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.textBoxETC_ButtonClick);
......
334 361
            // btnImportData
335 362
            // 
336 363
            this.btnImportData.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnImportData.ImageOptions.SvgImage")));
337
            this.btnImportData.Location = new System.Drawing.Point(825, 690);
364
            this.btnImportData.Location = new System.Drawing.Point(845, 741);
338 365
            this.btnImportData.Name = "btnImportData";
339
            this.btnImportData.Size = new System.Drawing.Size(286, 38);
366
            this.btnImportData.Size = new System.Drawing.Size(294, 38);
340 367
            this.btnImportData.StyleController = this.layoutControl1;
341 368
            this.btnImportData.TabIndex = 39;
342 369
            this.btnImportData.Text = "Import Mapping Data";
......
345 372
            // btnExportData
346 373
            // 
347 374
            this.btnExportData.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnExportData.ImageOptions.SvgImage")));
348
            this.btnExportData.Location = new System.Drawing.Point(825, 648);
375
            this.btnExportData.Location = new System.Drawing.Point(845, 699);
349 376
            this.btnExportData.Name = "btnExportData";
350
            this.btnExportData.Size = new System.Drawing.Size(286, 38);
377
            this.btnExportData.Size = new System.Drawing.Size(294, 38);
351 378
            this.btnExportData.StyleController = this.layoutControl1;
352 379
            this.btnExportData.TabIndex = 38;
353 380
            this.btnExportData.Text = "Export Mapping Data";
......
356 383
            // btnExportExcel
357 384
            // 
358 385
            this.btnExportExcel.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnExportExcel.ImageOptions.Image")));
359
            this.btnExportExcel.Location = new System.Drawing.Point(825, 606);
386
            this.btnExportExcel.Location = new System.Drawing.Point(845, 657);
360 387
            this.btnExportExcel.Name = "btnExportExcel";
361
            this.btnExportExcel.Size = new System.Drawing.Size(286, 38);
388
            this.btnExportExcel.Size = new System.Drawing.Size(294, 38);
362 389
            this.btnExportExcel.StyleController = this.layoutControl1;
363 390
            this.btnExportExcel.TabIndex = 37;
364 391
            this.btnExportExcel.Text = "Export Mapping Info to Excel";
......
371 398
            0,
372 399
            0,
373 400
            0});
374
            this.spinEditDrainValveCellCount.Location = new System.Drawing.Point(557, 156);
401
            this.spinEditDrainValveCellCount.Location = new System.Drawing.Point(567, 156);
375 402
            this.spinEditDrainValveCellCount.MenuManager = this.ribbonControl;
376 403
            this.spinEditDrainValveCellCount.Name = "spinEditDrainValveCellCount";
377 404
            this.spinEditDrainValveCellCount.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
378 405
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
379 406
            this.spinEditDrainValveCellCount.Properties.IsFloatValue = false;
380 407
            this.spinEditDrainValveCellCount.Properties.Mask.EditMask = "N00";
381
            this.spinEditDrainValveCellCount.Size = new System.Drawing.Size(211, 20);
408
            this.spinEditDrainValveCellCount.Size = new System.Drawing.Size(221, 20);
382 409
            this.spinEditDrainValveCellCount.StyleController = this.layoutControl1;
383 410
            this.spinEditDrainValveCellCount.TabIndex = 35;
384 411
            // 
......
396 423
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
397 424
            this.spinEditMinSymbolGridCellCount.Properties.IsFloatValue = false;
398 425
            this.spinEditMinSymbolGridCellCount.Properties.Mask.EditMask = "N00";
399
            this.spinEditMinSymbolGridCellCount.Size = new System.Drawing.Size(209, 20);
426
            this.spinEditMinSymbolGridCellCount.Size = new System.Drawing.Size(219, 20);
400 427
            this.spinEditMinSymbolGridCellCount.StyleController = this.layoutControl1;
401 428
            this.spinEditMinSymbolGridCellCount.TabIndex = 34;
402 429
            // 
403 430
            // comboBoxEditUnit
404 431
            // 
405 432
            this.comboBoxEditUnit.EditValue = "Inch";
406
            this.comboBoxEditUnit.Location = new System.Drawing.Point(557, 101);
433
            this.comboBoxEditUnit.Location = new System.Drawing.Point(567, 101);
407 434
            this.comboBoxEditUnit.MenuManager = this.ribbonControl;
408 435
            this.comboBoxEditUnit.Name = "comboBoxEditUnit";
409 436
            this.comboBoxEditUnit.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
410 437
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
411 438
            this.comboBoxEditUnit.Properties.Items.AddRange(new object[] {
412 439
            "Inch"});
413
            this.comboBoxEditUnit.Size = new System.Drawing.Size(223, 20);
440
            this.comboBoxEditUnit.Size = new System.Drawing.Size(233, 20);
414 441
            this.comboBoxEditUnit.StyleController = this.layoutControl1;
415 442
            this.comboBoxEditUnit.TabIndex = 33;
416 443
            // 
......
431 458
            0,
432 459
            0,
433 460
            131072});
434
            this.spinEditDensity.Size = new System.Drawing.Size(221, 20);
461
            this.spinEditDensity.Size = new System.Drawing.Size(231, 20);
435 462
            this.spinEditDensity.StyleController = this.layoutControl1;
436 463
            this.spinEditDensity.TabIndex = 32;
437 464
            // 
438 465
            // checkComboBoxLineNumberLocation
439 466
            // 
440
            this.checkComboBoxLineNumberLocation.Location = new System.Drawing.Point(546, 78);
467
            this.checkComboBoxLineNumberLocation.Location = new System.Drawing.Point(557, 78);
441 468
            this.checkComboBoxLineNumberLocation.MenuManager = this.ribbonControl;
442 469
            this.checkComboBoxLineNumberLocation.Name = "checkComboBoxLineNumberLocation";
443 470
            this.checkComboBoxLineNumberLocation.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
444 471
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
445
            this.checkComboBoxLineNumberLocation.Size = new System.Drawing.Size(234, 20);
472
            this.checkComboBoxLineNumberLocation.Size = new System.Drawing.Size(243, 20);
446 473
            this.checkComboBoxLineNumberLocation.StyleController = this.layoutControl1;
447 474
            this.checkComboBoxLineNumberLocation.TabIndex = 30;
448 475
            // 
449 476
            // checkComboBoxNoteLocation
450 477
            // 
451
            this.checkComboBoxNoteLocation.Location = new System.Drawing.Point(538, 169);
478
            this.checkComboBoxNoteLocation.Location = new System.Drawing.Point(549, 169);
452 479
            this.checkComboBoxNoteLocation.MenuManager = this.ribbonControl;
453 480
            this.checkComboBoxNoteLocation.Name = "checkComboBoxNoteLocation";
454 481
            this.checkComboBoxNoteLocation.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
455 482
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
456
            this.checkComboBoxNoteLocation.Size = new System.Drawing.Size(242, 20);
483
            this.checkComboBoxNoteLocation.Size = new System.Drawing.Size(251, 20);
457 484
            this.checkComboBoxNoteLocation.StyleController = this.layoutControl1;
458 485
            this.checkComboBoxNoteLocation.TabIndex = 29;
459 486
            // 
460 487
            // checkComboBoxTextLocation
461 488
            // 
462
            this.checkComboBoxTextLocation.Location = new System.Drawing.Point(538, 145);
489
            this.checkComboBoxTextLocation.Location = new System.Drawing.Point(549, 145);
463 490
            this.checkComboBoxTextLocation.MenuManager = this.ribbonControl;
464 491
            this.checkComboBoxTextLocation.Name = "checkComboBoxTextLocation";
465 492
            this.checkComboBoxTextLocation.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
466 493
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
467
            this.checkComboBoxTextLocation.Size = new System.Drawing.Size(242, 20);
494
            this.checkComboBoxTextLocation.Size = new System.Drawing.Size(251, 20);
468 495
            this.checkComboBoxTextLocation.StyleController = this.layoutControl1;
469 496
            this.checkComboBoxTextLocation.TabIndex = 28;
470 497
            // 
471 498
            // btnImageRefresh
472 499
            // 
473 500
            this.btnImageRefresh.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnImageRefresh.ImageOptions.SvgImage")));
474
            this.btnImageRefresh.Location = new System.Drawing.Point(825, 564);
501
            this.btnImageRefresh.Location = new System.Drawing.Point(845, 615);
475 502
            this.btnImageRefresh.Name = "btnImageRefresh";
476
            this.btnImageRefresh.Size = new System.Drawing.Size(286, 38);
503
            this.btnImageRefresh.Size = new System.Drawing.Size(294, 38);
477 504
            this.btnImageRefresh.StyleController = this.layoutControl1;
478 505
            this.btnImageRefresh.TabIndex = 27;
479 506
            this.btnImageRefresh.Text = "Refresh SPPID Image";
......
484 511
            this.textBoxDrainValveSize.Location = new System.Drawing.Point(184, 303);
485 512
            this.textBoxDrainValveSize.MenuManager = this.ribbonControl;
486 513
            this.textBoxDrainValveSize.Name = "textBoxDrainValveSize";
487
            this.textBoxDrainValveSize.Size = new System.Drawing.Size(596, 20);
514
            this.textBoxDrainValveSize.Size = new System.Drawing.Size(616, 20);
488 515
            this.textBoxDrainValveSize.StyleController = this.layoutControl1;
489 516
            this.textBoxDrainValveSize.TabIndex = 26;
490 517
            // 
......
495 522
            this.textBoxNoteSymbolPath.Name = "textBoxNoteSymbolPath";
496 523
            this.textBoxNoteSymbolPath.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
497 524
            new DevExpress.XtraEditors.Controls.EditorButton()});
498
            this.textBoxNoteSymbolPath.Size = new System.Drawing.Size(267, 20);
525
            this.textBoxNoteSymbolPath.Size = new System.Drawing.Size(278, 20);
499 526
            this.textBoxNoteSymbolPath.StyleController = this.layoutControl1;
500 527
            this.textBoxNoteSymbolPath.TabIndex = 25;
501 528
            this.textBoxNoteSymbolPath.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.textBoxETC_ButtonClick);
......
507 534
            this.textBoxTextSymbolPath.Name = "textBoxTextSymbolPath";
508 535
            this.textBoxTextSymbolPath.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
509 536
            new DevExpress.XtraEditors.Controls.EditorButton()});
510
            this.textBoxTextSymbolPath.Size = new System.Drawing.Size(267, 20);
537
            this.textBoxTextSymbolPath.Size = new System.Drawing.Size(278, 20);
511 538
            this.textBoxTextSymbolPath.StyleController = this.layoutControl1;
512 539
            this.textBoxTextSymbolPath.TabIndex = 24;
513 540
            this.textBoxTextSymbolPath.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.textBoxETC_ButtonClick);
......
520 547
            this.textBoxLineNumberPath.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
521 548
            new DevExpress.XtraEditors.Controls.EditorButton()});
522 549
            this.textBoxLineNumberPath.Properties.ReadOnly = true;
523
            this.textBoxLineNumberPath.Size = new System.Drawing.Size(251, 20);
550
            this.textBoxLineNumberPath.Size = new System.Drawing.Size(262, 20);
524 551
            this.textBoxLineNumberPath.StyleController = this.layoutControl1;
525 552
            this.textBoxLineNumberPath.TabIndex = 23;
526 553
            this.textBoxLineNumberPath.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.textBoxLineNumberPath_ButtonClick);
......
531 558
            this.gridControlLineNumber.MainView = this.gridViewLineNumber;
532 559
            this.gridControlLineNumber.MenuManager = this.ribbonControl;
533 560
            this.gridControlLineNumber.Name = "gridControlLineNumber";
534
            this.gridControlLineNumber.Size = new System.Drawing.Size(744, 614);
561
            this.gridControlLineNumber.Size = new System.Drawing.Size(764, 665);
535 562
            this.gridControlLineNumber.TabIndex = 21;
536 563
            this.gridControlLineNumber.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
537 564
            this.gridViewLineNumber});
......
546 573
            // btnClose
547 574
            // 
548 575
            this.btnClose.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnClose.ImageOptions.SvgImage")));
549
            this.btnClose.Location = new System.Drawing.Point(1037, 744);
576
            this.btnClose.Location = new System.Drawing.Point(1065, 795);
550 577
            this.btnClose.Name = "btnClose";
551 578
            this.btnClose.Size = new System.Drawing.Size(86, 36);
552 579
            this.btnClose.StyleController = this.layoutControl1;
......
560 587
            this.gridControlAttribute.MainView = this.gridViewAttribute;
561 588
            this.gridControlAttribute.MenuManager = this.ribbonControl;
562 589
            this.gridControlAttribute.Name = "gridControlAttribute";
563
            this.gridControlAttribute.Size = new System.Drawing.Size(744, 413);
590
            this.gridControlAttribute.Size = new System.Drawing.Size(764, 448);
564 591
            this.gridControlAttribute.TabIndex = 19;
565 592
            this.gridControlAttribute.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
566 593
            this.gridViewAttribute});
......
578 605
            this.gridControlLine.MainView = this.gridViewLine;
579 606
            this.gridControlLine.MenuManager = this.ribbonControl;
580 607
            this.gridControlLine.Name = "gridControlLine";
581
            this.gridControlLine.Size = new System.Drawing.Size(744, 638);
608
            this.gridControlLine.Size = new System.Drawing.Size(764, 689);
582 609
            this.gridControlLine.TabIndex = 18;
583 610
            this.gridControlLine.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
584 611
            this.gridViewLine});
......
596 623
            this.gridControlSymbol.MainView = this.gridViewSymbol;
597 624
            this.gridControlSymbol.MenuManager = this.ribbonControl;
598 625
            this.gridControlSymbol.Name = "gridControlSymbol";
599
            this.gridControlSymbol.Size = new System.Drawing.Size(744, 280);
626
            this.gridControlSymbol.Size = new System.Drawing.Size(764, 304);
600 627
            this.gridControlSymbol.TabIndex = 16;
601 628
            this.gridControlSymbol.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
602 629
            this.gridViewSymbol});
......
612 639
            // 
613 640
            // pictureEditSPPIDSymbol
614 641
            // 
615
            this.pictureEditSPPIDSymbol.Location = new System.Drawing.Point(837, 328);
642
            this.pictureEditSPPIDSymbol.Location = new System.Drawing.Point(857, 347);
616 643
            this.pictureEditSPPIDSymbol.MenuManager = this.ribbonControl;
617 644
            this.pictureEditSPPIDSymbol.Name = "pictureEditSPPIDSymbol";
618 645
            this.pictureEditSPPIDSymbol.Properties.ShowCameraMenuItem = DevExpress.XtraEditors.Controls.CameraMenuItemVisibility.Auto;
619 646
            this.pictureEditSPPIDSymbol.Properties.SizeMode = DevExpress.XtraEditors.Controls.PictureSizeMode.Squeeze;
620
            this.pictureEditSPPIDSymbol.Size = new System.Drawing.Size(262, 220);
647
            this.pictureEditSPPIDSymbol.Size = new System.Drawing.Size(270, 252);
621 648
            this.pictureEditSPPIDSymbol.StyleController = this.layoutControl1;
622 649
            this.pictureEditSPPIDSymbol.TabIndex = 15;
623 650
            // 
624 651
            // btnSave
625 652
            // 
626 653
            this.btnSave.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnSave.ImageOptions.SvgImage")));
627
            this.btnSave.Location = new System.Drawing.Point(934, 744);
654
            this.btnSave.Location = new System.Drawing.Point(962, 795);
628 655
            this.btnSave.Name = "btnSave";
629 656
            this.btnSave.Size = new System.Drawing.Size(84, 36);
630 657
            this.btnSave.StyleController = this.layoutControl1;
......
635 662
            // treeListSPPIDTreeList
636 663
            // 
637 664
            this.treeListSPPIDTreeList.Cursor = System.Windows.Forms.Cursors.Default;
638
            this.treeListSPPIDTreeList.Location = new System.Drawing.Point(825, 43);
665
            this.treeListSPPIDTreeList.Location = new System.Drawing.Point(845, 43);
639 666
            this.treeListSPPIDTreeList.Name = "treeListSPPIDTreeList";
640 667
            this.treeListSPPIDTreeList.OptionsView.ShowAutoFilterRow = true;
641
            this.treeListSPPIDTreeList.Size = new System.Drawing.Size(286, 245);
668
            this.treeListSPPIDTreeList.Size = new System.Drawing.Size(294, 264);
642 669
            this.treeListSPPIDTreeList.TabIndex = 12;
643 670
            this.treeListSPPIDTreeList.FocusedNodeChanged += new DevExpress.XtraTreeList.FocusedNodeChangedEventHandler(this.treeListSPPIDTreeList_FocusedNodeChanged);
644 671
            this.treeListSPPIDTreeList.DoubleClick += new System.EventHandler(this.treeListSPPIDTreeList_DoubleClick);
645 672
            // 
646 673
            // pictureEditID2Symbol
647 674
            // 
648
            this.pictureEditID2Symbol.Location = new System.Drawing.Point(36, 410);
675
            this.pictureEditID2Symbol.Location = new System.Drawing.Point(36, 434);
649 676
            this.pictureEditID2Symbol.MenuManager = this.ribbonControl;
650 677
            this.pictureEditID2Symbol.Name = "pictureEditID2Symbol";
651 678
            this.pictureEditID2Symbol.Properties.ShowCameraMenuItem = DevExpress.XtraEditors.Controls.CameraMenuItemVisibility.Auto;
652 679
            this.pictureEditID2Symbol.Properties.SizeMode = DevExpress.XtraEditors.Controls.PictureSizeMode.Squeeze;
653
            this.pictureEditID2Symbol.Size = new System.Drawing.Size(354, 306);
680
            this.pictureEditID2Symbol.Size = new System.Drawing.Size(364, 333);
654 681
            this.pictureEditID2Symbol.StyleController = this.layoutControl1;
655 682
            this.pictureEditID2Symbol.TabIndex = 4;
656 683
            // 
657 684
            // pictureEditMapped
658 685
            // 
659
            this.pictureEditMapped.Location = new System.Drawing.Point(423, 410);
686
            this.pictureEditMapped.Location = new System.Drawing.Point(433, 434);
660 687
            this.pictureEditMapped.MenuManager = this.ribbonControl;
661 688
            this.pictureEditMapped.Name = "pictureEditMapped";
662 689
            this.pictureEditMapped.Properties.ShowCameraMenuItem = DevExpress.XtraEditors.Controls.CameraMenuItemVisibility.Auto;
663 690
            this.pictureEditMapped.Properties.SizeMode = DevExpress.XtraEditors.Controls.PictureSizeMode.Squeeze;
664
            this.pictureEditMapped.Size = new System.Drawing.Size(357, 306);
691
            this.pictureEditMapped.Size = new System.Drawing.Size(367, 333);
665 692
            this.pictureEditMapped.StyleController = this.layoutControl1;
666 693
            this.pictureEditMapped.TabIndex = 5;
667 694
            // 
......
672 699
            this.checkEditSnapGrid.MenuManager = this.ribbonControl;
673 700
            this.checkEditSnapGrid.Name = "checkEditSnapGrid";
674 701
            this.checkEditSnapGrid.Properties.Caption = "Use Snap Grid";
675
            this.checkEditSnapGrid.Size = new System.Drawing.Size(744, 19);
702
            this.checkEditSnapGrid.Size = new System.Drawing.Size(764, 19);
676 703
            this.checkEditSnapGrid.StyleController = this.layoutControl1;
677 704
            this.checkEditSnapGrid.TabIndex = 31;
678 705
            this.checkEditSnapGrid.CheckedChanged += new System.EventHandler(this.checkEditSnapGrid_CheckedChanged);
......
684 711
            this.textBoxFlowMarkSymbolPath.Name = "textBoxFlowMarkSymbolPath";
685 712
            this.textBoxFlowMarkSymbolPath.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
686 713
            new DevExpress.XtraEditors.Controls.EditorButton()});
687
            this.textBoxFlowMarkSymbolPath.Size = new System.Drawing.Size(596, 20);
714
            this.textBoxFlowMarkSymbolPath.Size = new System.Drawing.Size(616, 20);
688 715
            this.textBoxFlowMarkSymbolPath.StyleController = this.layoutControl1;
689 716
            this.textBoxFlowMarkSymbolPath.TabIndex = 36;
690 717
            this.textBoxFlowMarkSymbolPath.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.textBoxETC_ButtonClick);
......
696 723
            this.btnBorder.Name = "btnBorder";
697 724
            this.btnBorder.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
698 725
            new DevExpress.XtraEditors.Controls.EditorButton()});
699
            this.btnBorder.Size = new System.Drawing.Size(596, 20);
726
            this.btnBorder.Size = new System.Drawing.Size(616, 20);
700 727
            this.btnBorder.StyleController = this.layoutControl1;
701 728
            this.btnBorder.TabIndex = 41;
702 729
            this.btnBorder.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.btnBorder_ButtonClick);
......
714 741
            this.layoutControlItem4,
715 742
            this.emptySpaceItem1});
716 743
            this.Root.Name = "Root";
717
            this.Root.Size = new System.Drawing.Size(1135, 792);
744
            this.Root.Size = new System.Drawing.Size(1163, 843);
718 745
            this.Root.TextVisible = false;
719 746
            // 
720 747
            // layoutControlGroup2
......
727 754
            this.layoutControlItem25,
728 755
            this.layoutControlItem26,
729 756
            this.layoutControlItem27});
730
            this.layoutControlGroup2.Location = new System.Drawing.Point(801, 0);
757
            this.layoutControlGroup2.Location = new System.Drawing.Point(821, 0);
731 758
            this.layoutControlGroup2.Name = "layoutControlGroup2";
732
            this.layoutControlGroup2.Size = new System.Drawing.Size(314, 732);
759
            this.layoutControlGroup2.Size = new System.Drawing.Size(322, 783);
733 760
            this.layoutControlGroup2.Text = "SPPID Symbol";
734 761
            // 
735 762
            // layoutControlItem8
......
737 764
            this.layoutControlItem8.Control = this.treeListSPPIDTreeList;
738 765
            this.layoutControlItem8.Location = new System.Drawing.Point(0, 0);
739 766
            this.layoutControlItem8.Name = "layoutControlItem8";
740
            this.layoutControlItem8.Size = new System.Drawing.Size(290, 249);
767
            this.layoutControlItem8.Size = new System.Drawing.Size(298, 268);
741 768
            this.layoutControlItem8.TextSize = new System.Drawing.Size(0, 0);
742 769
            this.layoutControlItem8.TextVisible = false;
743 770
            // 
......
745 772
            // 
746 773
            this.layoutControlGroup5.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
747 774
            this.layoutControlItem9});
748
            this.layoutControlGroup5.Location = new System.Drawing.Point(0, 254);
775
            this.layoutControlGroup5.Location = new System.Drawing.Point(0, 273);
749 776
            this.layoutControlGroup5.Name = "layoutControlGroup5";
750
            this.layoutControlGroup5.Size = new System.Drawing.Size(290, 267);
777
            this.layoutControlGroup5.Size = new System.Drawing.Size(298, 299);
751 778
            this.layoutControlGroup5.Text = "SPPID Image";
752 779
            // 
753 780
            // layoutControlItem9
......
755 782
            this.layoutControlItem9.Control = this.pictureEditSPPIDSymbol;
756 783
            this.layoutControlItem9.Location = new System.Drawing.Point(0, 0);
757 784
            this.layoutControlItem9.Name = "layoutControlItem9";
758
            this.layoutControlItem9.Size = new System.Drawing.Size(266, 224);
785
            this.layoutControlItem9.Size = new System.Drawing.Size(274, 256);
759 786
            this.layoutControlItem9.TextSize = new System.Drawing.Size(0, 0);
760 787
            this.layoutControlItem9.TextVisible = false;
761 788
            // 
762 789
            // splitterItem5
763 790
            // 
764 791
            this.splitterItem5.AllowHotTrack = true;
765
            this.splitterItem5.Location = new System.Drawing.Point(0, 249);
792
            this.splitterItem5.Location = new System.Drawing.Point(0, 268);
766 793
            this.splitterItem5.Name = "splitterItem5";
767
            this.splitterItem5.Size = new System.Drawing.Size(290, 5);
794
            this.splitterItem5.Size = new System.Drawing.Size(298, 5);
768 795
            // 
769 796
            // layoutControlItem15
770 797
            // 
771 798
            this.layoutControlItem15.Control = this.btnImageRefresh;
772
            this.layoutControlItem15.Location = new System.Drawing.Point(0, 521);
799
            this.layoutControlItem15.Location = new System.Drawing.Point(0, 572);
773 800
            this.layoutControlItem15.Name = "layoutControlItem15";
774
            this.layoutControlItem15.Size = new System.Drawing.Size(290, 42);
801
            this.layoutControlItem15.Size = new System.Drawing.Size(298, 42);
775 802
            this.layoutControlItem15.TextSize = new System.Drawing.Size(0, 0);
776 803
            this.layoutControlItem15.TextVisible = false;
777 804
            // 
778 805
            // layoutControlItem25
779 806
            // 
780 807
            this.layoutControlItem25.Control = this.btnExportExcel;
781
            this.layoutControlItem25.Location = new System.Drawing.Point(0, 563);
808
            this.layoutControlItem25.Location = new System.Drawing.Point(0, 614);
782 809
            this.layoutControlItem25.Name = "layoutControlItem25";
783
            this.layoutControlItem25.Size = new System.Drawing.Size(290, 42);
810
            this.layoutControlItem25.Size = new System.Drawing.Size(298, 42);
784 811
            this.layoutControlItem25.TextSize = new System.Drawing.Size(0, 0);
785 812
            this.layoutControlItem25.TextVisible = false;
786 813
            // 
787 814
            // layoutControlItem26
788 815
            // 
789 816
            this.layoutControlItem26.Control = this.btnExportData;
790
            this.layoutControlItem26.Location = new System.Drawing.Point(0, 605);
817
            this.layoutControlItem26.Location = new System.Drawing.Point(0, 656);
791 818
            this.layoutControlItem26.Name = "layoutControlItem26";
792
            this.layoutControlItem26.Size = new System.Drawing.Size(290, 42);
819
            this.layoutControlItem26.Size = new System.Drawing.Size(298, 42);
793 820
            this.layoutControlItem26.TextSize = new System.Drawing.Size(0, 0);
794 821
            this.layoutControlItem26.TextVisible = false;
795 822
            // 
796 823
            // layoutControlItem27
797 824
            // 
798 825
            this.layoutControlItem27.Control = this.btnImportData;
799
            this.layoutControlItem27.Location = new System.Drawing.Point(0, 647);
826
            this.layoutControlItem27.Location = new System.Drawing.Point(0, 698);
800 827
            this.layoutControlItem27.Name = "layoutControlItem27";
801
            this.layoutControlItem27.Size = new System.Drawing.Size(290, 42);
828
            this.layoutControlItem27.Size = new System.Drawing.Size(298, 42);
802 829
            this.layoutControlItem27.TextSize = new System.Drawing.Size(0, 0);
803 830
            this.layoutControlItem27.TextVisible = false;
804 831
            // 
805 832
            // emptySpaceItem2
806 833
            // 
807 834
            this.emptySpaceItem2.AllowHotTrack = false;
808
            this.emptySpaceItem2.Location = new System.Drawing.Point(0, 732);
835
            this.emptySpaceItem2.Location = new System.Drawing.Point(0, 783);
809 836
            this.emptySpaceItem2.Name = "emptySpaceItem2";
810
            this.emptySpaceItem2.Size = new System.Drawing.Size(922, 40);
837
            this.emptySpaceItem2.Size = new System.Drawing.Size(950, 40);
811 838
            this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0);
812 839
            // 
813 840
            // splitterItem3
814 841
            // 
815 842
            this.splitterItem3.AllowHotTrack = true;
816
            this.splitterItem3.Location = new System.Drawing.Point(796, 0);
843
            this.splitterItem3.Location = new System.Drawing.Point(816, 0);
817 844
            this.splitterItem3.Name = "splitterItem3";
818
            this.splitterItem3.Size = new System.Drawing.Size(5, 732);
845
            this.splitterItem3.Size = new System.Drawing.Size(5, 783);
819 846
            // 
820 847
            // tabbedControlGroup
821 848
            // 
822 849
            this.tabbedControlGroup.Location = new System.Drawing.Point(0, 0);
823 850
            this.tabbedControlGroup.Name = "tabbedControlGroup";
824 851
            this.tabbedControlGroup.SelectedTabPage = this.GroupSymbol;
825
            this.tabbedControlGroup.Size = new System.Drawing.Size(796, 732);
852
            this.tabbedControlGroup.Size = new System.Drawing.Size(816, 783);
826 853
            this.tabbedControlGroup.TabPages.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
827 854
            this.GroupSymbol,
828 855
            this.GroupLine,
......
834 861
            // GroupETCSetting
835 862
            // 
836 863
            this.GroupETCSetting.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
837
            this.emptySpaceItem3,
838 864
            this.layoutControlGroup9,
839 865
            this.layoutControlGroup10,
840 866
            this.layoutControlGroup12,
841 867
            this.layoutControlGroup13,
842 868
            this.layoutControlGroup14,
843
            this.layoutControlGroup16});
869
            this.layoutControlGroup16,
870
            this.layoutControlGroup17});
844 871
            this.GroupETCSetting.Location = new System.Drawing.Point(0, 0);
845 872
            this.GroupETCSetting.Name = "GroupETCSetting";
846
            this.GroupETCSetting.Size = new System.Drawing.Size(772, 685);
873
            this.GroupETCSetting.Size = new System.Drawing.Size(792, 736);
847 874
            this.GroupETCSetting.Text = "ETC Setting";
848 875
            // 
849
            // emptySpaceItem3
850
            // 
851
            this.emptySpaceItem3.AllowHotTrack = false;
852
            this.emptySpaceItem3.Location = new System.Drawing.Point(0, 431);
853
            this.emptySpaceItem3.Name = "emptySpaceItem3";
854
            this.emptySpaceItem3.Size = new System.Drawing.Size(772, 254);
855
            this.emptySpaceItem3.TextSize = new System.Drawing.Size(0, 0);
856
            // 
857 876
            // layoutControlGroup9
858 877
            // 
859 878
            this.layoutControlGroup9.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
......
863 882
            this.layoutControlItem17});
864 883
            this.layoutControlGroup9.Location = new System.Drawing.Point(0, 67);
865 884
            this.layoutControlGroup9.Name = "layoutControlGroup9";
866
            this.layoutControlGroup9.Size = new System.Drawing.Size(772, 91);
885
            this.layoutControlGroup9.Size = new System.Drawing.Size(792, 91);
867 886
            this.layoutControlGroup9.Text = "Text && Note Setting";
868 887
            // 
869 888
            // layoutControlItem5
......
871 890
            this.layoutControlItem5.Control = this.textBoxTextSymbolPath;
872 891
            this.layoutControlItem5.Location = new System.Drawing.Point(0, 0);
873 892
            this.layoutControlItem5.Name = "layoutControlItem5";
874
            this.layoutControlItem5.Size = new System.Drawing.Size(419, 24);
893
            this.layoutControlItem5.Size = new System.Drawing.Size(430, 24);
875 894
            this.layoutControlItem5.Text = "SPPID Text Symbol Path";
876 895
            this.layoutControlItem5.TextSize = new System.Drawing.Size(145, 14);
877 896
            // 
......
880 899
            this.layoutControlItem7.Control = this.textBoxNoteSymbolPath;
881 900
            this.layoutControlItem7.Location = new System.Drawing.Point(0, 24);
882 901
            this.layoutControlItem7.Name = "layoutControlItem7";
883
            this.layoutControlItem7.Size = new System.Drawing.Size(419, 24);
902
            this.layoutControlItem7.Size = new System.Drawing.Size(430, 24);
884 903
            this.layoutControlItem7.Text = "SPPID Note Symbol Path";
885 904
            this.layoutControlItem7.TextSize = new System.Drawing.Size(145, 14);
886 905
            // 
887 906
            // layoutControlItem16
888 907
            // 
889 908
            this.layoutControlItem16.Control = this.checkComboBoxTextLocation;
890
            this.layoutControlItem16.Location = new System.Drawing.Point(419, 0);
909
            this.layoutControlItem16.Location = new System.Drawing.Point(430, 0);
891 910
            this.layoutControlItem16.Name = "layoutControlItem16";
892
            this.layoutControlItem16.Size = new System.Drawing.Size(329, 24);
911
            this.layoutControlItem16.Size = new System.Drawing.Size(338, 24);
893 912
            this.layoutControlItem16.Text = "Label Location";
894 913
            this.layoutControlItem16.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize;
895 914
            this.layoutControlItem16.TextSize = new System.Drawing.Size(78, 14);
......
899 918
            // layoutControlItem17
900 919
            // 
901 920
            this.layoutControlItem17.Control = this.checkComboBoxNoteLocation;
902
            this.layoutControlItem17.Location = new System.Drawing.Point(419, 24);
921
            this.layoutControlItem17.Location = new System.Drawing.Point(430, 24);
903 922
            this.layoutControlItem17.Name = "layoutControlItem17";
904
            this.layoutControlItem17.Size = new System.Drawing.Size(329, 24);
923
            this.layoutControlItem17.Size = new System.Drawing.Size(338, 24);
905 924
            this.layoutControlItem17.Text = "Label Location";
906 925
            this.layoutControlItem17.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize;
907 926
            this.layoutControlItem17.TextSize = new System.Drawing.Size(78, 14);
......
914 933
            this.layoutControlItem14});
915 934
            this.layoutControlGroup10.Location = new System.Drawing.Point(0, 225);
916 935
            this.layoutControlGroup10.Name = "layoutControlGroup10";
917
            this.layoutControlGroup10.Size = new System.Drawing.Size(772, 67);
936
            this.layoutControlGroup10.Size = new System.Drawing.Size(792, 67);
918 937
            this.layoutControlGroup10.Text = "Drain Valve Setting";
919 938
            this.layoutControlGroup10.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
920 939
            // 
......
923 942
            this.layoutControlItem14.Control = this.textBoxDrainValveSize;
924 943
            this.layoutControlItem14.Location = new System.Drawing.Point(0, 0);
925 944
            this.layoutControlItem14.Name = "layoutControlItem14";
926
            this.layoutControlItem14.Size = new System.Drawing.Size(748, 24);
945
            this.layoutControlItem14.Size = new System.Drawing.Size(768, 24);
927 946
            this.layoutControlItem14.Text = "Drain Valve Size";
928 947
            this.layoutControlItem14.TextSize = new System.Drawing.Size(145, 14);
929 948
            // 
......
933 952
            this.layoutControlItem24});
934 953
            this.layoutControlGroup12.Location = new System.Drawing.Point(0, 158);
935 954
            this.layoutControlGroup12.Name = "layoutControlGroup12";
936
            this.layoutControlGroup12.Size = new System.Drawing.Size(772, 67);
955
            this.layoutControlGroup12.Size = new System.Drawing.Size(792, 67);
937 956
            this.layoutControlGroup12.Text = "Flow Mark";
938 957
            // 
939 958
            // layoutControlItem24
......
941 960
            this.layoutControlItem24.Control = this.textBoxFlowMarkSymbolPath;
942 961
            this.layoutControlItem24.Location = new System.Drawing.Point(0, 0);
943 962
            this.layoutControlItem24.Name = "layoutControlItem24";
944
            this.layoutControlItem24.Size = new System.Drawing.Size(748, 24);
963
            this.layoutControlItem24.Size = new System.Drawing.Size(768, 24);
945 964
            this.layoutControlItem24.Text = "Flow Mark Symbol Path";
946 965
            this.layoutControlItem24.TextSize = new System.Drawing.Size(145, 14);
947 966
            // 
......
951 970
            this.layoutControlItem28});
952 971
            this.layoutControlGroup13.Location = new System.Drawing.Point(0, 292);
953 972
            this.layoutControlGroup13.Name = "layoutControlGroup13";
954
            this.layoutControlGroup13.Size = new System.Drawing.Size(772, 67);
973
            this.layoutControlGroup13.Size = new System.Drawing.Size(792, 67);
955 974
            this.layoutControlGroup13.Text = "Vendor Package Symbol";
956 975
            // 
957 976
            // layoutControlItem28
......
959 978
            this.layoutControlItem28.Control = this.textBoxVendorSymbolPath;
960 979
            this.layoutControlItem28.Location = new System.Drawing.Point(0, 0);
961 980
            this.layoutControlItem28.Name = "layoutControlItem28";
962
            this.layoutControlItem28.Size = new System.Drawing.Size(748, 24);
981
            this.layoutControlItem28.Size = new System.Drawing.Size(768, 24);
963 982
            this.layoutControlItem28.Text = "Symbol Path";
964 983
            this.layoutControlItem28.TextSize = new System.Drawing.Size(145, 14);
965 984
            // 
......
969 988
            this.layoutControlItem29});
970 989
            this.layoutControlGroup14.Location = new System.Drawing.Point(0, 0);
971 990
            this.layoutControlGroup14.Name = "layoutControlGroup14";
972
            this.layoutControlGroup14.Size = new System.Drawing.Size(772, 67);
991
            this.layoutControlGroup14.Size = new System.Drawing.Size(792, 67);
973 992
            this.layoutControlGroup14.Text = "Border Setting";
974 993
            // 
975 994
            // layoutControlItem29
......
977 996
            this.layoutControlItem29.Control = this.btnBorder;
978 997
            this.layoutControlItem29.Location = new System.Drawing.Point(0, 0);
979 998
            this.layoutControlItem29.Name = "layoutControlItem29";
980
            this.layoutControlItem29.Size = new System.Drawing.Size(748, 24);
999
            this.layoutControlItem29.Size = new System.Drawing.Size(768, 24);
981 1000
            this.layoutControlItem29.Text = "File Path";
982 1001
            this.layoutControlItem29.TextSize = new System.Drawing.Size(145, 14);
983 1002
            // 
......
987 1006
            this.layoutControlItem31});
988 1007
            this.layoutControlGroup16.Location = new System.Drawing.Point(0, 359);
989 1008
            this.layoutControlGroup16.Name = "layoutControlGroup16";
990
            this.layoutControlGroup16.Size = new System.Drawing.Size(772, 72);
1009
            this.layoutControlGroup16.Size = new System.Drawing.Size(792, 90);
991 1010
            this.layoutControlGroup16.Text = "Unit Setting";
992 1011
            // 
993 1012
            // layoutControlItem31
......
995 1014
            this.layoutControlItem31.Control = this.radioGroupUnit;
996 1015
            this.layoutControlItem31.Location = new System.Drawing.Point(0, 0);
997 1016
            this.layoutControlItem31.Name = "layoutControlItem31";
998
            this.layoutControlItem31.Size = new System.Drawing.Size(748, 29);
1017
            this.layoutControlItem31.Size = new System.Drawing.Size(768, 47);
999 1018
            this.layoutControlItem31.TextSize = new System.Drawing.Size(0, 0);
1000 1019
            this.layoutControlItem31.TextVisible = false;
1001 1020
            // 
1021
            // layoutControlGroup17
1022
            // 
1023
            this.layoutControlGroup17.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
1024
            this.layoutControlItem32});
1025
            this.layoutControlGroup17.Location = new System.Drawing.Point(0, 449);
1026
            this.layoutControlGroup17.Name = "layoutControlGroup17";
1027
            this.layoutControlGroup17.Size = new System.Drawing.Size(792, 287);
1028
            this.layoutControlGroup17.Text = "Attribute Input(Bulk)";
1029
            // 
1030
            // layoutControlItem32
1031
            // 
1032
            this.layoutControlItem32.Control = this.gridControlBulkAttribute;
1033
            this.layoutControlItem32.Location = new System.Drawing.Point(0, 0);
1034
            this.layoutControlItem32.Name = "layoutControlItem32";
1035
            this.layoutControlItem32.Size = new System.Drawing.Size(768, 244);
1036
            this.layoutControlItem32.TextSize = new System.Drawing.Size(0, 0);
1037
            this.layoutControlItem32.TextVisible = false;
1038
            // 
1002 1039
            // GroupSymbol
1003 1040
            // 
1004 1041
            this.GroupSymbol.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
......
1009 1046
            this.layoutControlGroup1});
1010 1047
            this.GroupSymbol.Location = new System.Drawing.Point(0, 0);
1011 1048
            this.GroupSymbol.Name = "GroupSymbol";
1012
            this.GroupSymbol.Size = new System.Drawing.Size(772, 685);
1049
            this.GroupSymbol.Size = new System.Drawing.Size(792, 736);
1013 1050
            this.GroupSymbol.Text = "Symbol";
1014 1051
            // 
1015 1052
            // splitterItem1
1016 1053
            // 
1017 1054
            this.splitterItem1.AllowHotTrack = true;
1018
            this.splitterItem1.Location = new System.Drawing.Point(0, 327);
1055
            this.splitterItem1.Location = new System.Drawing.Point(0, 351);
1019 1056
            this.splitterItem1.Name = "splitterItem1";
1020
            this.splitterItem1.Size = new System.Drawing.Size(772, 5);
1057
            this.splitterItem1.Size = new System.Drawing.Size(792, 5);
1021 1058
            // 
1022 1059
            // layoutControlGroup3
1023 1060
            // 
1024 1061
            this.layoutControlGroup3.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
1025 1062
            this.layoutControlItem1});
1026
            this.layoutControlGroup3.Location = new System.Drawing.Point(0, 332);
1063
            this.layoutControlGroup3.Location = new System.Drawing.Point(0, 356);
1027 1064
            this.layoutControlGroup3.Name = "layoutControlGroup3";
1028
            this.layoutControlGroup3.Size = new System.Drawing.Size(382, 353);
1065
            this.layoutControlGroup3.Size = new System.Drawing.Size(392, 380);
1029 1066
            this.layoutControlGroup3.Text = "ID2 Image";
1030 1067
            // 
1031 1068
            // layoutControlItem1
......
1033 1070
            this.layoutControlItem1.Control = this.pictureEditID2Symbol;
1034 1071
            this.layoutControlItem1.Location = new System.Drawing.Point(0, 0);
1035 1072
            this.layoutControlItem1.Name = "layoutControlItem1";
1036
            this.layoutControlItem1.Size = new System.Drawing.Size(358, 310);
1073
            this.layoutControlItem1.Size = new System.Drawing.Size(368, 337);
1037 1074
            this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0);
1038 1075
            this.layoutControlItem1.TextVisible = false;
1039 1076
            // 
......
1041 1078
            // 
1042 1079
            this.layoutControlGroup4.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
1043 1080
            this.layoutControlItem2});
1044
            this.layoutControlGroup4.Location = new System.Drawing.Point(387, 332);
1081
            this.layoutControlGroup4.Location = new System.Drawing.Point(397, 356);
1045 1082
            this.layoutControlGroup4.Name = "layoutControlGroup4";
1046
            this.layoutControlGroup4.Size = new System.Drawing.Size(385, 353);
1083
            this.layoutControlGroup4.Size = new System.Drawing.Size(395, 380);
1047 1084
            this.layoutControlGroup4.Text = "Mapped Image";
1048 1085
            // 
1049 1086
            // layoutControlItem2
......
1051 1088
            this.layoutControlItem2.Control = this.pictureEditMapped;
1052 1089
            this.layoutControlItem2.Location = new System.Drawing.Point(0, 0);
1053 1090
            this.layoutControlItem2.Name = "layoutControlItem2";
1054
            this.layoutControlItem2.Size = new System.Drawing.Size(361, 310);
1091
            this.layoutControlItem2.Size = new System.Drawing.Size(371, 337);
1055 1092
            this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0);
1056 1093
            this.layoutControlItem2.TextVisible = false;
1057 1094
            // 
1058 1095
            // splitterItem4
1059 1096
            // 
1060 1097
            this.splitterItem4.AllowHotTrack = true;
1061
            this.splitterItem4.Location = new System.Drawing.Point(382, 332);
1098
            this.splitterItem4.Location = new System.Drawing.Point(392, 356);
1062 1099
            this.splitterItem4.Name = "splitterItem4";
1063
            this.splitterItem4.Size = new System.Drawing.Size(5, 353);
1100
            this.splitterItem4.Size = new System.Drawing.Size(5, 380);
1064 1101
            // 
1065 1102
            // layoutControlGroup1
1066 1103
            // 
......
1068 1105
            this.layoutControlItem6});
1069 1106
            this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0);
1070 1107
            this.layoutControlGroup1.Name = "layoutControlGroup1";
1071
            this.layoutControlGroup1.Size = new System.Drawing.Size(772, 327);
1108
            this.layoutControlGroup1.Size = new System.Drawing.Size(792, 351);
1072 1109
            this.layoutControlGroup1.Text = "ID2 Symbol List";
1073 1110
            // 
1074 1111
            // layoutControlItem6
......
1076 1113
            this.layoutControlItem6.Control = this.gridControlSymbol;
1077 1114
            this.layoutControlItem6.Location = new System.Drawing.Point(0, 0);
1078 1115
            this.layoutControlItem6.Name = "layoutControlItem6";
1079
            this.layoutControlItem6.Size = new System.Drawing.Size(748, 284);
1116
            this.layoutControlItem6.Size = new System.Drawing.Size(768, 308);
1080 1117
            this.layoutControlItem6.TextSize = new System.Drawing.Size(0, 0);
1081 1118
            this.layoutControlItem6.TextVisible = false;
1082 1119
            // 
......
1086 1123
            this.layoutControlGroup6});
1087 1124
            this.GroupLine.Location = new System.Drawing.Point(0, 0);
1088 1125
            this.GroupLine.Name = "GroupLine";
1089
            this.GroupLine.Size = new System.Drawing.Size(772, 685);
1126
            this.GroupLine.Size = new System.Drawing.Size(792, 736);
1090 1127
            this.GroupLine.Text = "Line";
1091 1128
            // 
1092 1129
            // layoutControlGroup6
......
1095 1132
            this.layoutControlItem10});
1096 1133
            this.layoutControlGroup6.Location = new System.Drawing.Point(0, 0);
1097 1134
            this.layoutControlGroup6.Name = "layoutControlGroup6";
1098
            this.layoutControlGroup6.Size = new System.Drawing.Size(772, 685);
1135
            this.layoutControlGroup6.Size = new System.Drawing.Size(792, 736);
1099 1136
            this.layoutControlGroup6.Text = "ID2 Line List";
1100 1137
            // 
1101 1138
            // layoutControlItem10
......
1103 1140
            this.layoutControlItem10.Control = this.gridControlLine;
1104 1141
            this.layoutControlItem10.Location = new System.Drawing.Point(0, 0);
1105 1142
            this.layoutControlItem10.Name = "layoutControlItem10";
1106
            this.layoutControlItem10.Size = new System.Drawing.Size(748, 642);
1143
            this.layoutControlItem10.Size = new System.Drawing.Size(768, 693);
1107 1144
            this.layoutControlItem10.TextSize = new System.Drawing.Size(0, 0);
1108 1145
            this.layoutControlItem10.TextVisible = false;
1109 1146
            // 
......
1113 1150
            this.layoutControlGroup8});
1114 1151
            this.GroupLineNumber.Location = new System.Drawing.Point(0, 0);
1115 1152
            this.GroupLineNumber.Name = "GroupLineNumber";
1116
            this.GroupLineNumber.Size = new System.Drawing.Size(772, 685);
1153
            this.GroupLineNumber.Size = new System.Drawing.Size(792, 736);
1117 1154
            this.GroupLineNumber.Text = "Line Number";
1118 1155
            // 
1119 1156
            // layoutControlGroup8
......
1124 1161
            this.layoutControlItem18});
1125 1162
            this.layoutControlGroup8.Location = new System.Drawing.Point(0, 0);
1126 1163
            this.layoutControlGroup8.Name = "layoutControlGroup8";
1127
            this.layoutControlGroup8.Size = new System.Drawing.Size(772, 685);
1164
            this.layoutControlGroup8.Size = new System.Drawing.Size(792, 736);
1128 1165
            this.layoutControlGroup8.Text = "ID2 Line Number";
1129 1166
            // 
1130 1167
            // layoutControlItem13
......
1132 1169
            this.layoutControlItem13.Control = this.gridControlLineNumber;
1133 1170
            this.layoutControlItem13.Location = new System.Drawing.Point(0, 24);
1134 1171
            this.layoutControlItem13.Name = "layoutControlItem13";
1135
            this.layoutControlItem13.Size = new System.Drawing.Size(748, 618);
1172
            this.layoutControlItem13.Size = new System.Drawing.Size(768, 669);
1136 1173
            this.layoutControlItem13.TextSize = new System.Drawing.Size(0, 0);
1137 1174
            this.layoutControlItem13.TextVisible = false;
1138 1175
            // 
......
1141 1178
            this.layoutControlItem3.Control = this.textBoxLineNumberPath;
1142 1179
            this.layoutControlItem3.Location = new System.Drawing.Point(0, 0);
1143 1180
            this.layoutControlItem3.Name = "layoutControlItem3";
1144
            this.layoutControlItem3.Size = new System.Drawing.Size(427, 24);
1181
            this.layoutControlItem3.Size = new System.Drawing.Size(438, 24);
1145 1182
            this.layoutControlItem3.Text = "SPPID Line Number Label Path";
1146 1183
            this.layoutControlItem3.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize;
1147 1184
            this.layoutControlItem3.TextSize = new System.Drawing.Size(167, 14);
......
1150 1187
            // layoutControlItem18
1151 1188
            // 
1152 1189
            this.layoutControlItem18.Control = this.checkComboBoxLineNumberLocation;
1153
            this.layoutControlItem18.Location = new System.Drawing.Point(427, 0);
1190
            this.layoutControlItem18.Location = new System.Drawing.Point(438, 0);
1154 1191
            this.layoutControlItem18.Name = "layoutControlItem18";
1155
            this.layoutControlItem18.Size = new System.Drawing.Size(321, 24);
1192
            this.layoutControlItem18.Size = new System.Drawing.Size(330, 24);
1156 1193
            this.layoutControlItem18.Text = "Label Location";
1157 1194
            this.layoutControlItem18.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize;
1158 1195
            this.layoutControlItem18.TextSize = new System.Drawing.Size(78, 14);
......
1167 1204
            this.layoutControlGroup15});
1168 1205
            this.GroupAttribute.Location = new System.Drawing.Point(0, 0);
1169 1206
            this.GroupAttribute.Name = "GroupAttribute";
1170
            this.GroupAttribute.Size = new System.Drawing.Size(772, 685);
1207
            this.GroupAttribute.Size = new System.Drawing.Size(792, 736);
1171 1208
            this.GroupAttribute.Text = "Attribute";
1172 1209
            // 
1173 1210
            // layoutControlGroup7
......
1176 1213
            this.layoutControlItem11});
1177 1214
            this.layoutControlGroup7.Location = new System.Drawing.Point(0, 0);
1178 1215
            this.layoutControlGroup7.Name = "layoutControlGroup7";
1179
            this.layoutControlGroup7.Size = new System.Drawing.Size(772, 460);
1216
            this.layoutControlGroup7.Size = new System.Drawing.Size(792, 495);
1180 1217
            this.layoutControlGroup7.Text = "ID2 Attribute List";
1181 1218
            // 
1182 1219
            // layoutControlItem11
......
1184 1221
            this.layoutControlItem11.Control = this.gridControlAttribute;
1185 1222
            this.layoutControlItem11.Location = new System.Drawing.Point(0, 0);
1186 1223
            this.layoutControlItem11.Name = "layoutControlItem11";
1187
            this.layoutControlItem11.Size = new System.Drawing.Size(748, 417);
1224
            this.layoutControlItem11.Size = new System.Drawing.Size(768, 452);
1188 1225
            this.layoutControlItem11.TextSize = new System.Drawing.Size(0, 0);
1189 1226
            this.layoutControlItem11.TextVisible = false;
1190 1227
            // 
1191 1228
            // splitterItem6
1192 1229
            // 
1193 1230
            this.splitterItem6.AllowHotTrack = true;
1194
            this.splitterItem6.Location = new System.Drawing.Point(0, 460);
1231
            this.splitterItem6.Location = new System.Drawing.Point(0, 495);
1195 1232
            this.splitterItem6.Name = "splitterItem6";
1196
            this.splitterItem6.Size = new System.Drawing.Size(772, 5);
1233
            this.splitterItem6.Size = new System.Drawing.Size(792, 5);
1197 1234
            // 
1198 1235
            // layoutControlGroup15
1199 1236
            // 
1200 1237
            this.layoutControlGroup15.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
1201 1238
            this.layoutControlItem30});
1202
            this.layoutControlGroup15.Location = new System.Drawing.Point(0, 465);
1239
            this.layoutControlGroup15.Location = new System.Drawing.Point(0, 500);
1203 1240
            this.layoutControlGroup15.Name = "layoutControlGroup15";
1204
            this.layoutControlGroup15.Size = new System.Drawing.Size(772, 220);
1241
            this.layoutControlGroup15.Size = new System.Drawing.Size(792, 236);
1205 1242
            this.layoutControlGroup15.Text = "ID2 Drawing Attribute List";
1206 1243
            // 
1207 1244
            // layoutControlItem30
......
1209 1246
            this.layoutControlItem30.Control = this.gridControlDrawingAttribute;
1210 1247
            this.layoutControlItem30.Location = new System.Drawing.Point(0, 0);
1211 1248
            this.layoutControlItem30.Name = "layoutControlItem30";
1212
            this.layoutControlItem30.Size = new System.Drawing.Size(748, 177);
1249
            this.layoutControlItem30.Size = new System.Drawing.Size(768, 193);
1213 1250
            this.layoutControlItem30.TextSize = new System.Drawing.Size(0, 0);
1214 1251
            this.layoutControlItem30.TextVisible = false;
1215 1252
            // 
......
1220 1257
            this.layoutControlGroupSnapGrid});
1221 1258
            this.GroupGridSetting.Location = new System.Drawing.Point(0, 0);
1222 1259
            this.GroupGridSetting.Name = "GroupGridSetting";
1223
            this.GroupGridSetting.Size = new System.Drawing.Size(772, 685);
1260
            this.GroupGridSetting.Size = new System.Drawing.Size(792, 736);
1224 1261
            this.GroupGridSetting.Text = "Grid Setting";
1225 1262
            // 
1226 1263
            // emptySpaceItem4
......
1228 1265
            this.emptySpaceItem4.AllowHotTrack = false;
1229 1266
            this.emptySpaceItem4.Location = new System.Drawing.Point(0, 157);
1230 1267
            this.emptySpaceItem4.Name = "emptySpaceItem4";
1231
            this.emptySpaceItem4.Size = new System.Drawing.Size(772, 528);
1268
            this.emptySpaceItem4.Size = new System.Drawing.Size(792, 579);
1232 1269
            this.emptySpaceItem4.TextSize = new System.Drawing.Size(0, 0);
1233 1270
            // 
1234 1271
            // layoutControlGroupSnapGrid
......
1240 1277
            this.layoutControlItem21});
1241 1278
            this.layoutControlGroupSnapGrid.Location = new System.Drawing.Point(0, 0);
1242 1279
            this.layoutControlGroupSnapGrid.Name = "layoutControlGroupSnapGrid";
1243
            this.layoutControlGroupSnapGrid.Size = new System.Drawing.Size(772, 157);
1280
            this.layoutControlGroupSnapGrid.Size = new System.Drawing.Size(792, 157);
1244 1281
            this.layoutControlGroupSnapGrid.Text = "Snap Grid";
1245 1282
            // 
1246 1283
            // layoutControlItem19
......
1248 1285
            this.layoutControlItem19.Control = this.checkEditSnapGrid;
1249 1286
            this.layoutControlItem19.Location = new System.Drawing.Point(0, 0);
1250 1287
            this.layoutControlItem19.Name = "layoutControlItem19";
1251
            this.layoutControlItem19.Size = new System.Drawing.Size(748, 23);
1288
            this.layoutControlItem19.Size = new System.Drawing.Size(768, 23);
1252 1289
            this.layoutControlItem19.TextSize = new System.Drawing.Size(0, 0);
1253 1290
            this.layoutControlItem19.TextVisible = false;
1254 1291
            this.layoutControlItem19.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
......
1258 1295
            this.layoutControlItem20.Control = this.spinEditDensity;
1259 1296
            this.layoutControlItem20.Location = new System.Drawing.Point(0, 23);
1260 1297
            this.layoutControlItem20.Name = "layoutControlItem20";
1261
            this.layoutControlItem20.Size = new System.Drawing.Size(373, 24);
1298
            this.layoutControlItem20.Size = new System.Drawing.Size(383, 24);
1262 1299
            this.layoutControlItem20.Text = "Density";
1263 1300
            this.layoutControlItem20.TextSize = new System.Drawing.Size(145, 14);
1264 1301
            // 
......
1269 1306
            this.layoutControlItem23});
1270 1307
            this.layoutControlGroup11.Location = new System.Drawing.Point(0, 47);
1271 1308
            this.layoutControlGroup11.Name = "layoutControlGroup11";
1272
            this.layoutControlGroup11.Size = new System.Drawing.Size(748, 67);
1309
            this.layoutControlGroup11.Size = new System.Drawing.Size(768, 67);
1273 1310
            this.layoutControlGroup11.Text = "Symbol To Symbol Distance Setting";
1274 1311
            // 
1275 1312
            // layoutControlItem22
......
1277 1314
            this.layoutControlItem22.Control = this.spinEditMinSymbolGridCellCount;
1278 1315
            this.layoutControlItem22.Location = new System.Drawing.Point(0, 0);
1279 1316
            this.layoutControlItem22.Name = "layoutControlItem22";
1280
            this.layoutControlItem22.Size = new System.Drawing.Size(361, 24);
1317
            this.layoutControlItem22.Size = new System.Drawing.Size(371, 24);
1281 1318
            this.layoutControlItem22.Text = "Min Symbol Grid Cell Count";
1282 1319
            this.layoutControlItem22.TextSize = new System.Drawing.Size(145, 14);
1283 1320
            this.layoutControlItem22.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
......
1285 1322
            // layoutControlItem23
1286 1323
            // 
1287 1324
            this.layoutControlItem23.Control = this.spinEditDrainValveCellCount;
1288
            this.layoutControlItem23.Location = new System.Drawing.Point(361, 0);
1325
            this.layoutControlItem23.Location = new System.Drawing.Point(371, 0);
1289 1326
            this.layoutControlItem23.Name = "layoutControlItem23";
1290
            this.layoutControlItem23.Size = new System.Drawing.Size(363, 24);
1327
            this.layoutControlItem23.Size = new System.Drawing.Size(373, 24);
1291 1328
            this.layoutControlItem23.Text = "Drain Valve Cell Count";
1292 1329
            this.layoutControlItem23.TextSize = new System.Drawing.Size(145, 14);
1293 1330
            // 
1294 1331
            // layoutControlItem21
1295 1332
            // 
1296 1333
            this.layoutControlItem21.Control = this.comboBoxEditUnit;
1297
            this.layoutControlItem21.Location = new System.Drawing.Point(373, 23);
1334
            this.layoutControlItem21.Location = new System.Drawing.Point(383, 23);
1298 1335
            this.layoutControlItem21.Name = "layoutControlItem21";
1299
            this.layoutControlItem21.Size = new System.Drawing.Size(375, 24);
1336
            this.layoutControlItem21.Size = new System.Drawing.Size(385, 24);
1300 1337
            this.layoutControlItem21.Text = "Unit";
1301 1338
            this.layoutControlItem21.TextSize = new System.Drawing.Size(145, 14);
1302 1339
            // 
1303 1340
            // layoutControlItem12
1304 1341
            // 
1305 1342
            this.layoutControlItem12.Control = this.btnClose;
1306
            this.layoutControlItem12.Location = new System.Drawing.Point(1025, 732);
1343
            this.layoutControlItem12.Location = new System.Drawing.Point(1053, 783);
1307 1344
            this.layoutControlItem12.MaxSize = new System.Drawing.Size(90, 40);
1308 1345
            this.layoutControlItem12.MinSize = new System.Drawing.Size(90, 40);
1309 1346
            this.layoutControlItem12.Name = "layoutControlItem12";
......
1315 1352
            // layoutControlItem4
1316 1353
            // 
1317 1354
            this.layoutControlItem4.Control = this.btnSave;
1318
            this.layoutControlItem4.Location = new System.Drawing.Point(922, 732);
1355
            this.layoutControlItem4.Location = new System.Drawing.Point(950, 783);
1319 1356
            this.layoutControlItem4.MaxSize = new System.Drawing.Size(88, 40);
1320 1357
            this.layoutControlItem4.MinSize = new System.Drawing.Size(88, 40);
1321 1358
            this.layoutControlItem4.Name = "layoutControlItem4";
......
1327 1364
            // emptySpaceItem1
1328 1365
            // 
1329 1366
            this.emptySpaceItem1.AllowHotTrack = false;
1330
            this.emptySpaceItem1.Location = new System.Drawing.Point(1010, 732);
1367
            this.emptySpaceItem1.Location = new System.Drawing.Point(1038, 783);
1331 1368
            this.emptySpaceItem1.MaxSize = new System.Drawing.Size(15, 40);
1332 1369
            this.emptySpaceItem1.MinSize = new System.Drawing.Size(15, 40);
1333 1370
            this.emptySpaceItem1.Name = "emptySpaceItem1";
......
1346 1383
            // 
1347 1384
            this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
1348 1385
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
1349
            this.ClientSize = new System.Drawing.Size(1135, 819);
1386
            this.ClientSize = new System.Drawing.Size(1163, 870);
1350 1387
            this.Controls.Add(this.layoutControl1);
1351 1388
            this.Controls.Add(this.ribbonControl);
1352 1389
            this.Name = "MappingForm";
......
1358 1395
            ((System.ComponentModel.ISupportInitialize)(this.ribbonControl)).EndInit();
1359 1396
            ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
1360 1397
            this.layoutControl1.ResumeLayout(false);
1398
            ((System.ComponentModel.ISupportInitialize)(this.gridControlBulkAttribute)).EndInit();
1399
            ((System.ComponentModel.ISupportInitialize)(this.gridViewBulkAttribute)).EndInit();
1361 1400
            ((System.ComponentModel.ISupportInitialize)(this.radioGroupUnit.Properties)).EndInit();
1362 1401
            ((System.ComponentModel.ISupportInitialize)(this.gridControlDrawingAttribute)).EndInit();
1363 1402
            ((System.ComponentModel.ISupportInitialize)(this.gridViewDrawingAttribute)).EndInit();
......
1402 1441
            ((System.ComponentModel.ISupportInitialize)(this.splitterItem3)).EndInit();
1403 1442
            ((System.ComponentModel.ISupportInitialize)(this.tabbedControlGroup)).EndInit();
1404 1443
            ((System.ComponentModel.ISupportInitialize)(this.GroupETCSetting)).EndInit();
1405
            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).EndInit();
1406 1444
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup9)).EndInit();
1407 1445
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit();
1408 1446
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit();
......
1418 1456
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem29)).EndInit();
1419 1457
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup16)).EndInit();
1420 1458
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem31)).EndInit();
1459
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup17)).EndInit();
1460
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem32)).EndInit();
1421 1461
            ((System.ComponentModel.ISupportInitialize)(this.GroupSymbol)).EndInit();
1422 1462
            ((System.ComponentModel.ISupportInitialize)(this.splitterItem1)).EndInit();
1423 1463
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).EndInit();
......
1511 1551
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3;
1512 1552
        private DevExpress.XtraLayout.LayoutControlGroup GroupETCSetting;
1513 1553
        private DevExpress.XtraEditors.ButtonEdit textBoxTextSymbolPath;
1514
        private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem3;
1515 1554
        private DevExpress.XtraEditors.ButtonEdit textBoxNoteSymbolPath;
1516 1555
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7;
1517 1556
        private DevExpress.XtraEditors.TextEdit textBoxDrainValveSize;
......
1565 1604
        private DevExpress.XtraEditors.RadioGroup radioGroupUnit;
1566 1605
        private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup16;
1567 1606
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem31;
1607
        private DevExpress.XtraGrid.GridControl gridControlBulkAttribute;
1608
        private DevExpress.XtraGrid.Views.Grid.GridView gridViewBulkAttribute;
1609
        private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup17;
1610
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem32;
1568 1611
    }
1569 1612
}
DTI_PID/SPPIDConverter/Form/MappingForm.cs
21 21
using System.Runtime.InteropServices;
22 22
using DevExpress.Spreadsheet;
23 23
using DevExpress.XtraSpreadsheet;
24
using Llama;
25
using Plaice;
26
using Converter.SPPID.Util;
27
using DevExpress.Office.Crypto;
24 28

  
25 29
namespace Converter.SPPID.Form
26 30
{
......
94 98
            InitSPPIDSymbolTree();
95 99
            InitETCSetting();
96 100
            InitGridSetting();
101
            InitBulkAttributeGridView();
102
            InitCodeList();
97 103

  
98 104
            this.gridViewSymbol.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(this.gridViewID2Symbol_FocusedRowChanged);
99 105
            textBoxLineNumberPath.Properties.Buttons[0].Kind = ButtonPredefines.Glyph;
......
223 229
            gridViewAttribute.Columns["ISTEXT"].Width = 20;
224 230
            gridViewAttribute.Columns["LEADERLINE"].Width = 20;
225 231
        }
232
        RepositoryItemComboBox comboBox = new RepositoryItemComboBox();
233
        RepositoryItemTextEdit textEdit = new RepositoryItemTextEdit();
234
        private void InitBulkAttributeGridView()
235
        {
236
            DataTable dt = new DataTable();
237
            dt.Columns.Add("Attribute", typeof(string));
238
            dt.Columns.Add("Value", typeof(string));
239
            ETCSetting setting = ETCSetting.GetInstance();
240
            foreach (var item in setting.BulkAttributes)
241
                dt.Rows.Add(item.SPPIDAttributeName, item.Value);
242
            gridControlBulkAttribute.DataSource = dt;
243
            gridControlBulkAttribute.RepositoryItems.Add(comboBox);
244
            gridControlBulkAttribute.RepositoryItems.Add(textEdit);
245
            gridViewBulkAttribute.Columns["Value"].ColumnEdit = textEdit;
246
            gridViewBulkAttribute.Columns["Value"].ShowButtonMode = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.ShowAlways;
247
            gridViewBulkAttribute.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Top;
248

  
249
            RepositoryItemLookUpEdit lookUpEdit = new RepositoryItemLookUpEdit();
250
            lookUpEdit.BeginInit();
251
            lookUpEdit.DataSource = SPPIDAttributeDT;
252
            lookUpEdit.DisplayMember = "DISPLAY NAME";
253
            lookUpEdit.ValueMember = "NAME";
254
            lookUpEdit.NullText = "";
255
            lookUpEdit.BestFitMode = BestFitMode.BestFitResizePopup;
256
            lookUpEdit.BestFit();
257
            lookUpEdit.KeyUp += lookUpEdit_KeyUp;
258
            lookUpEdit.EndInit();
259

  
260
            gridControlBulkAttribute.RepositoryItems.Add(lookUpEdit);
261
            gridViewBulkAttribute.Columns["Attribute"].ColumnEdit = lookUpEdit;
262
        }
226 263

  
227 264
        private void lookUpEdit_KeyUp(object sender, KeyEventArgs e)
228 265
        {
......
235 272
            e.Handled = true;
236 273
        }
237 274

  
275
        List<SPPIDCodeList> SPPIDCodeLists = new List<SPPIDCodeList>();
276
        class SPPIDCodeList
277
        {
278
            public string Name { get; set; }
279
            public List<string> Values = new List<string>();
280
        }
281

  
238 282
        private void TextEdit1_EditValueChanging(object sender, DevExpress.XtraEditors.Controls.ChangingEventArgs e)
239 283
        {
240 284
            Model.Location location = (Model.Location)e.NewValue;
......
343 387
            spinEditDrainValveCellCount.Value = _GridSetting.DrainValveCellCount;
344 388
        }
345 389

  
390
        private void InitCodeList()
391
        {
392
            DataTable dt = SPPID_DB.GetSPPIDCodeList();
393
            try
394
            {
395
                Plaice.Placement placement = new Plaice.Placement();
396
                LMADataSource dataSource = placement.PIDDataSource;
397
                foreach (LMAEnumAttList item in dataSource.CodeLists)
398
                {
399
                    DataRow[] rows = dt.Select(string.Format("ATTRIBUTE_DATATYPE = '{0}'", item.Name));
400
                    foreach (DataRow row in rows)
401
                    {
402
                        string name = row["ATTRIBUTE_NAME"].ToString();
403
                        if (SPPIDCodeLists.Find(x => x.Name.Equals(name)) == null)
404
                        {
405
                            SPPIDCodeList code = new SPPIDCodeList();
406
                            code.Name = name;
407
                            foreach (LMAEnumeratedAttribute attr in item.EnumeratedAttributes)
408
                                code.Values.Add(attr.Name);
409

  
410
                            SPPIDCodeLists.Add(code);
411
                        }
412
                    }
413
                    SPPIDUtil.ReleaseCOMObjects(item);
414
                }
415
                SPPIDUtil.ReleaseCOMObjects(dataSource);
416
                SPPIDUtil.ReleaseCOMObjects(placement);
417
            }
418
            catch (Exception ex)
419
            {
420
                MessageBox.Show(ex.Message);
421
            }
422
        }
423

  
346 424
        private void textBoxETC_ButtonClick(object sender, ButtonPressedEventArgs e)
347 425
        {
348 426
            textBoxTextSymbolPath.Properties.Buttons[0].Image = Resources.pencolor_16x16;
......
462 540
            _ETCSetting.LineNumberLocation = (Model.Location)checkComboBoxLineNumberLocation.EditValue;
463 541
            _ETCSetting.BorderFilePath = btnBorder.Text;
464 542
            _ETCSetting.UnitSetting = radioGroupUnit.Properties.Items[radioGroupUnit.SelectedIndex].Description;
543
            _ETCSetting.BulkAttributes.Clear();
544
            DataTable bulk = (DataTable)gridControlBulkAttribute.DataSource;
545
            for (int i = 0; i < gridViewBulkAttribute.DataRowCount; i++)
546
            {
547
                object attr = gridViewBulkAttribute.GetRowCellValue(i, "Attribute");
548
                if (attr != null && !string.IsNullOrEmpty((string)attr))
549
                {
550
                    _ETCSetting.BulkAttributes.Add(new SPPIDModel.BulkAttribute()
551
                    {
552
                        SPPIDAttributeName = gridViewBulkAttribute.GetRowCellValue(i, "Attribute").ToString(),
553
                        Value = gridViewBulkAttribute.GetRowCellDisplayText(i, "Value")
554
                    });
555
                }
556
            }
465 557
            string jsonString = JsonConvert.SerializeObject(_ETCSetting);
466 558
            dicSetting.Add("ETCSetting", jsonString);
467 559

  
......
886 978
            else
887 979
                btnBorder.Text = string.Empty;
888 980
        }
981

  
982
        private void gridViewBulkAttribute_CustomRowCellEditForEditing(object sender, DevExpress.XtraGrid.Views.Grid.CustomRowCellEditEventArgs e)
983
        {
984
            if (e.Column.FieldName.Equals("Value"))
985
            {
986
                DataRow row = gridViewBulkAttribute.GetDataRow(e.RowHandle);
987
                if (row != null)
988
                {
989
                    if (!string.IsNullOrEmpty(row["Attribute"].ToString()))
990
                    {
991
                        string attribute = row["Attribute"].ToString();
992
                        SPPIDCodeList code = SPPIDCodeLists.Find(x => x.Name.Equals(attribute));
993
                        if (code != null)
994
                        {
995
                            comboBox.Items.Clear();
996
                            comboBox.Items.AddRange(code.Values);
997
                            e.RepositoryItem = comboBox;
998
                        }
999
                    }
1000
                }
1001
            }
1002
        }
1003

  
1004
        private void gridViewBulkAttribute_KeyDown(object sender, KeyEventArgs e)
1005
        {
1006
            if (e.KeyCode == Keys.Delete)
1007
            {
1008
                if (MessageBox.Show("Delete row?", "Auto Breaker", MessageBoxButtons.YesNo, MessageBoxIcon.Question) !=
1009
                  DialogResult.Yes)
1010
                    return;
1011
                gridViewBulkAttribute.DeleteRow(gridViewBulkAttribute.FocusedRowHandle);
1012
            }
1013
        }
889 1014
    }
890 1015
}
DTI_PID/SPPIDConverter/SPPIDConverter.csproj
236 236
    <Compile Include="Form\SPPIDSplashScreen.Designer.cs">
237 237
      <DependentUpon>SPPIDSplashScreen.cs</DependentUpon>
238 238
    </Compile>
239
    <Compile Include="SPPIDModel\BulkAttribute.cs" />
239 240
    <Compile Include="SPPIDModel\GridSetting.cs" />
240 241
    <Compile Include="Wrapper\SPPIDConverterWrapper.cs">
241 242
      <SubType>Form</SubType>
......
301 302
    </EmbeddedResource>
302 303
  </ItemGroup>
303 304
  <ItemGroup>
305
    <COMReference Include="ISPClientData3">
306
      <Guid>{A32983E1-A1BD-11D3-BBEE-0800363EAF03}</Guid>
307
      <VersionMajor>2</VersionMajor>
308
      <VersionMinor>0</VersionMinor>
309
      <Lcid>0</Lcid>
310
      <WrapperTool>tlbimp</WrapperTool>
311
      <Isolated>False</Isolated>
312
      <EmbedInteropTypes>True</EmbedInteropTypes>
313
    </COMReference>
314
    <COMReference Include="ISPPropertyInf">
315
      <Guid>{E0356D80-06B4-11D2-B793-080036EEB703}</Guid>
316
      <VersionMajor>1</VersionMajor>
317
      <VersionMinor>1</VersionMinor>
318
      <Lcid>0</Lcid>
319
      <WrapperTool>tlbimp</WrapperTool>
320
      <Isolated>False</Isolated>
321
      <EmbedInteropTypes>True</EmbedInteropTypes>
322
    </COMReference>
304 323
    <COMReference Include="Llama">
305 324
      <Guid>{425D14E8-A0C1-4F4A-9FB8-4D7CA982F144}</Guid>
306 325
      <VersionMajor>6</VersionMajor>
......
319 338
      <Isolated>False</Isolated>
320 339
      <EmbedInteropTypes>True</EmbedInteropTypes>
321 340
    </COMReference>
341
    <COMReference Include="PidObjectManagerInf">
342
      <Guid>{534174BA-6991-4F8B-8DD0-FE2E46B6A67C}</Guid>
343
      <VersionMajor>2</VersionMajor>
344
      <VersionMinor>0</VersionMinor>
345
      <Lcid>0</Lcid>
346
      <WrapperTool>tlbimp</WrapperTool>
347
      <Isolated>False</Isolated>
... 이 차이점은 표시할 수 있는 최대 줄수를 초과해서 이 차이점은 잘렸습니다.

내보내기 Unified diff

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