프로젝트

일반

사용자정보

개정판 5e67ad61

ID5e67ad61c226e6dd250e4da855a62227530f4eca
상위 a1df4864
하위 ec47b5b2

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

dev issue #000 : add drain valve

Change-Id: Iaf373184285d5ad6a619849839620347ea745bf3

차이점 보기:

DTI_PID/SPPIDConverter_AutoModeling/MainControl2.Designer.cs
61 61
            this.panelControl4 = new DevExpress.XtraEditors.PanelControl();
62 62
            this.groupReducer = new DevExpress.XtraEditors.GroupControl();
63 63
            this.labelControl9 = new DevExpress.XtraEditors.LabelControl();
64
            this.textBoxFittingSymbolPath = new DevExpress.XtraEditors.ButtonEdit();
65 64
            this.radioGroupReducer = new DevExpress.XtraEditors.RadioGroup();
65
            this.textBoxFittingSymbolPath = new DevExpress.XtraEditors.ButtonEdit();
66 66
            this.label1 = new System.Windows.Forms.Label();
67 67
            this.panelControl3 = new DevExpress.XtraEditors.PanelControl();
68 68
            this.gridControlAttribute = new DevExpress.XtraGrid.GridControl();
......
74 74
            this.gridViewSymbol = new DevExpress.XtraGrid.Views.Grid.GridView();
75 75
            this.pageReport = new DevExpress.XtraTab.XtraTabPage();
76 76
            this.defaultLookAndFeel = new DevExpress.LookAndFeel.DefaultLookAndFeel(this.components);
77
            this.labelControl10 = new DevExpress.XtraEditors.LabelControl();
78
            this.radTextBoxDrainSize = new Telerik.WinControls.UI.RadTextBox();
77 79
            ((System.ComponentModel.ISupportInitialize)(this.tabControl)).BeginInit();
78 80
            this.tabControl.SuspendLayout();
79 81
            this.pageConverter.SuspendLayout();
......
98 100
            this.panelControl4.SuspendLayout();
99 101
            ((System.ComponentModel.ISupportInitialize)(this.groupReducer)).BeginInit();
100 102
            this.groupReducer.SuspendLayout();
101
            ((System.ComponentModel.ISupportInitialize)(this.textBoxFittingSymbolPath.Properties)).BeginInit();
102 103
            ((System.ComponentModel.ISupportInitialize)(this.radioGroupReducer.Properties)).BeginInit();
104
            ((System.ComponentModel.ISupportInitialize)(this.textBoxFittingSymbolPath.Properties)).BeginInit();
103 105
            ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit();
104 106
            this.panelControl3.SuspendLayout();
105 107
            ((System.ComponentModel.ISupportInitialize)(this.gridControlAttribute)).BeginInit();
......
110 112
            this.panelControl1.SuspendLayout();
111 113
            ((System.ComponentModel.ISupportInitialize)(this.gridControlSymbol)).BeginInit();
112 114
            ((System.ComponentModel.ISupportInitialize)(this.gridViewSymbol)).BeginInit();
115
            ((System.ComponentModel.ISupportInitialize)(this.radTextBoxDrainSize)).BeginInit();
113 116
            this.SuspendLayout();
114 117
            // 
115 118
            // tabControl
......
404 407
            // 
405 408
            // panelControl4
406 409
            // 
410
            this.panelControl4.Controls.Add(this.radTextBoxDrainSize);
411
            this.panelControl4.Controls.Add(this.labelControl10);
407 412
            this.panelControl4.Controls.Add(this.groupReducer);
408 413
            this.panelControl4.Dock = System.Windows.Forms.DockStyle.Fill;
409 414
            this.panelControl4.Location = new System.Drawing.Point(3, 608);
......
431 436
            this.labelControl9.TabIndex = 3;
432 437
            this.labelControl9.Text = "Size Symbol Name";
433 438
            // 
434
            // textBoxFittingSymbolPath
435
            // 
436
            this.textBoxFittingSymbolPath.Location = new System.Drawing.Point(110, 21);
437
            this.textBoxFittingSymbolPath.Name = "textBoxFittingSymbolPath";
438
            this.textBoxFittingSymbolPath.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
439
            new DevExpress.XtraEditors.Controls.EditorButton()});
440
            this.textBoxFittingSymbolPath.Size = new System.Drawing.Size(224, 20);
441
            this.textBoxFittingSymbolPath.TabIndex = 2;
442
            this.textBoxFittingSymbolPath.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.textBoxSymbolPath_ButtonClick);
443
            // 
444 439
            // radioGroupReducer
445 440
            // 
446 441
            this.radioGroupReducer.EditValue = true;
......
452 447
            this.radioGroupReducer.Size = new System.Drawing.Size(224, 23);
453 448
            this.radioGroupReducer.TabIndex = 1;
454 449
            // 
450
            // textBoxFittingSymbolPath
451
            // 
452
            this.textBoxFittingSymbolPath.Location = new System.Drawing.Point(110, 21);
453
            this.textBoxFittingSymbolPath.Name = "textBoxFittingSymbolPath";
454
            this.textBoxFittingSymbolPath.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
455
            new DevExpress.XtraEditors.Controls.EditorButton()});
456
            this.textBoxFittingSymbolPath.Size = new System.Drawing.Size(224, 20);
457
            this.textBoxFittingSymbolPath.TabIndex = 2;
458
            this.textBoxFittingSymbolPath.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.textBoxSymbolPath_ButtonClick);
459
            // 
455 460
            // label1
456 461
            // 
457 462
            this.label1.AutoSize = true;
......
543 548
            this.defaultLookAndFeel.EnableBonusSkins = true;
544 549
            this.defaultLookAndFeel.LookAndFeel.SkinName = "Office 2016 Colorful";
545 550
            // 
551
            // labelControl10
552
            // 
553
            this.labelControl10.Location = new System.Drawing.Point(10, 89);
554
            this.labelControl10.Name = "labelControl10";
555
            this.labelControl10.Size = new System.Drawing.Size(85, 14);
556
            this.labelControl10.TabIndex = 4;
557
            this.labelControl10.Text = "Drain Valve Size";
558
            // 
559
            // radTextBoxDrainSize
560
            // 
561
            this.radTextBoxDrainSize.Location = new System.Drawing.Point(101, 86);
562
            this.radTextBoxDrainSize.Name = "radTextBoxDrainSize";
563
            this.radTextBoxDrainSize.Size = new System.Drawing.Size(48, 20);
564
            this.radTextBoxDrainSize.TabIndex = 5;
565
            // 
546 566
            // MainControl2
547 567
            // 
548 568
            this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
......
573 593
            this.tableLayoutPanel1.ResumeLayout(false);
574 594
            ((System.ComponentModel.ISupportInitialize)(this.panelControl4)).EndInit();
575 595
            this.panelControl4.ResumeLayout(false);
596
            this.panelControl4.PerformLayout();
576 597
            ((System.ComponentModel.ISupportInitialize)(this.groupReducer)).EndInit();
577 598
            this.groupReducer.ResumeLayout(false);
578 599
            this.groupReducer.PerformLayout();
579
            ((System.ComponentModel.ISupportInitialize)(this.textBoxFittingSymbolPath.Properties)).EndInit();
580 600
            ((System.ComponentModel.ISupportInitialize)(this.radioGroupReducer.Properties)).EndInit();
601
            ((System.ComponentModel.ISupportInitialize)(this.textBoxFittingSymbolPath.Properties)).EndInit();
581 602
            ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit();
582 603
            this.panelControl3.ResumeLayout(false);
583 604
            ((System.ComponentModel.ISupportInitialize)(this.gridControlAttribute)).EndInit();
......
588 609
            this.panelControl1.ResumeLayout(false);
589 610
            ((System.ComponentModel.ISupportInitialize)(this.gridControlSymbol)).EndInit();
590 611
            ((System.ComponentModel.ISupportInitialize)(this.gridViewSymbol)).EndInit();
612
            ((System.ComponentModel.ISupportInitialize)(this.radTextBoxDrainSize)).EndInit();
591 613
            this.ResumeLayout(false);
592 614

  
593 615
        }
......
639 661
        private System.Windows.Forms.Label label1;
640 662
        private DevExpress.XtraEditors.LabelControl labelControl9;
641 663
        private DevExpress.XtraEditors.ButtonEdit textBoxFittingSymbolPath;
664
        private Telerik.WinControls.UI.RadTextBox radTextBoxDrainSize;
665
        private DevExpress.XtraEditors.LabelControl labelControl10;
642 666
    }
643 667
}
DTI_PID/SPPIDConverter_AutoModeling/MainControl2.cs
285 285
                        else
286 286
                            radioGroupReducer.SelectedIndex = 1;
287 287
                    }
288
                    else if (item.Key == "DrainSize")
289
                    {
290
                        radTextBoxDrainSize.Text = item.Value;
291
                    }
288 292
                    else if (item.Key != "SmallSize")
289 293
                    {
290 294
                        attributeDT.Rows.Add(new object[] { item.Key, item.Value });
......
294 298
                needSymbolMapping = needSymbolMapping.Distinct().ToList();
295 299
                needSymbolMapping.Add(SPPID.Model.Text.pipingCompSize);
296 300
                needSymbolMapping.Add(SPPID.Model.Text.instrumentSize);
301
                needSymbolMapping.Add("End Break");
297 302
                foreach (string item in needSymbolMapping)
298 303
                {
299 304
                    if (!symbolMapping.ContainsKey(item))
......
621 626
                string selectedPlant = comboBoxPlantList.Properties.Items[comboBoxPlantList.SelectedIndex].ToString();
622 627
                if (plantList.Contains(selectedPlant) && DB.SetPlantDBSetting())
623 628
                {
624
                    dbInfo.Plant = selectedPlant;
629
                    //dbInfo.Plant = selectedPlant;
625 630
                    dbInfo.PlantList = plantList;
626 631
                    dbInfo.Status = true;
627 632
                    string sJson = JsonConvert.SerializeObject(dbInfo);
......
711 716
                attributeMapping.Add("SmallSize", radioGroupReducer.Properties.Items[0].Tag.ToString());
712 717
            }
713 718

  
719
            if (!string.IsNullOrEmpty(radTextBoxDrainSize.Text))
720
                attributeMapping.Add("DrainSize", radTextBoxDrainSize.Text);
721
            
722

  
714 723
            if (textBoxFittingSymbolPath.EditValue != null)
715 724
                symbolMapping.Add("FittingSymbolPath", textBoxFittingSymbolPath.EditValue.ToString());
716 725
            
DTI_PID/SPPIDConverter_AutoModeling/Model/SPPID/Document.cs
24 24
        private List<LineNumber> _LINENUMBERS = new List<LineNumber>();
25 25
        private List<Text> _TEXTS = new List<Text>();
26 26
        private List<SpecBreak> _SPECBREAK = new List<SpecBreak>();
27
        private List<EndBreak> _ENDBREAK = new List<EndBreak>();
27 28
        private Dictionary<string, List<PointInfo>> _PipeRunPoint = new Dictionary<string, List<PointInfo>>();
28 29
        private List<Group> _GROUPS = new List<Group>();
29 30
        private Dictionary<string, string> _SymbolMapping;
......
54 55
        public Dictionary<string, string> SymbolMapping { get => _SymbolMapping; set => _SymbolMapping = value; }
55 56
        internal List<SpecBreak> SPECBREAK { get => _SPECBREAK; set => _SPECBREAK = value; }
56 57
        public Dictionary<string, string> AttributeMapping { get => _AttributeMapping; set => _AttributeMapping = value; }
58
        internal List<EndBreak> ENDBREAK { get => _ENDBREAK; set => _ENDBREAK = value; }
57 59

  
58 60
        #region Xml Read and Data Setting
59 61
        public static Document Load(string filePath, Dictionary<string, string> symbolMapping, Dictionary<string, string> attributeMapping)
......
98 100
                        SetSpecBreak(item);
99 101
                        continue;
100 102
                    }
103
                    else if (item.Element("TYPE").Value == "End Break")
104
                    {
105
                        SetEndBreak(item);
106
                        continue;
107
                    }
101 108

  
102 109
                    Symbol symbol = new Symbol()
103 110
                    {
......
310 317
            }
311 318
        }
312 319

  
320
        private void SetEndBreak(XElement item)
321
        {
322
            try
323
            {
324
                EndBreak endBreak = new EndBreak()
325
                {
326
                    UID = item.Element("UID").Value,
327
                    NAME = item.Element("NAME").Value,
328
                    TYPE = item.Element("TYPE").Value,
329
                    ORIGINALPOINT = item.Element("ORIGINALPOINT").Value,
330
                    OWNER = item.Element("OWNER").Value,
331
                    LOCATION = item.Element("LOCATION").Value,
332
                    AREA = item.Element("AREA").Value
333
                };
334
                SetAttributes(item.Element("SYMBOLATTRIBUTES"), endBreak.ATTRIBUTES);
335
                endBreak.AfterSetting(this);
336
            }
337
            catch (Exception ex)
338
            {
339
                Log.WriteLine(ex);
340
            }
341
        }
342

  
313 343
        private void SetLineAttributeToSymbol(XElement node)
314 344
        {
315 345
            try
......
328 358
                                {
329 359
                                    Line line = SPPIDUtill.FindObjectByUID(this, lineElement.Element("UID").Value) as Line;
330 360
                                    if (line != null)
361
                                    {
362
                                        lineNumber.CONNECTLINE = line.UID;
331 363
                                        line.ATTRIBUTES = lineNumber.ATTRIBUTES;
364
                                    }
365
                                        
332 366
                                }
333 367
                                foreach (XElement symbolElement in runElement.Elements("SYMBOL"))
334 368
                                {
......
337 371
                                    {
338 372
                                        foreach (ItemAttribute attribute in lineNumber.ATTRIBUTES)
339 373
                                        {
374
                                            if (symbol.NAME.Contains("REDUCER") && attribute.SPPIDMAPPINGNAME == "NOMINALDIAMETER")
375
                                                continue;
376

  
340 377
                                            ItemAttribute findAttribute = symbol.ATTRIBUTES.Find(x => x.Attribute == attribute.Attribute);
341 378
                                            if (findAttribute == null)
342 379
                                                symbol.ATTRIBUTES.Add(attribute);
DTI_PID/SPPIDConverter_AutoModeling/Model/SPPID/LineNumber.cs
86 86
                            if (rep.get_RepresentationType() == "Connector" && rep.get_ItemStatus() == "Active")
87 87
                            {
88 88
                                LMConnector _LmConnector = _placement.PIDDataSource.GetConnector(rep.Id);
89
                                LMLabelPersist _LmLabelPresist = _placement.PIDPlaceLabel(SPPIDMAPPINGNAME, ref points, Rotation: ANGLE, LabeledItem: _LmConnector.AsLMRepresentation(), IsLeaderVisible: true);
89
                                LMLabelPersist _LmLabelPresist = _placement.PIDPlaceLabel(SPPIDMAPPINGNAME, ref points, Rotation: ANGLE, LabeledItem: _LmConnector.AsLMRepresentation(), IsLeaderVisible: false);
90 90
                                _LmLabelPresist.Commit();
91 91
                                SPPID_ITEM_OBJECT = _LmLabelPresist;
92 92
                            }
DTI_PID/SPPIDConverter_AutoModeling/Model/SPPID/Symbol.cs
57 57

  
58 58
            // Angle Setting
59 59
            if (ANGLE == 1.57)
60
                //ANGLE = 270 * Math.PI / 180;
61
                ANGLE = 90 * Math.PI / 180;
60
                ANGLE = 270 * Math.PI / 180;
61
                //ANGLE = 90 * Math.PI / 180;
62 62
            else if (ANGLE == 3.14)
63 63
                ANGLE = Math.PI;
64 64
            else if (ANGLE == 4.71)
65
                //ANGLE = 90 * Math.PI / 180;
66
                ANGLE = 270 * Math.PI / 180;
65
                ANGLE = 90 * Math.PI / 180;
66
                //ANGLE = 270 * Math.PI / 180;
67 67
            else
68 68
                ANGLE = 0;
69 69
            // End
......
161 161
                                dChildAngle = 0;
162 162
                            else if (sArrow == "RIGHT")
163 163
                                dChildAngle = 270 * Math.PI / 180;
164
                            //dChildAngle = 90 * Math.PI / 180;
164
                                //dChildAngle = 90 * Math.PI / 180;
165 165
                            else if (sArrow == "DOWN")
166 166
                                dChildAngle = Math.PI;
167 167
                            else
168 168
                                dChildAngle = 90 * Math.PI / 180;
169
                            //dChildAngle = 270 * Math.PI / 180;
169
                                //dChildAngle = 270 * Math.PI / 180;
170 170

  
171 171
                            LMSymbol _childLmSymbol = _placement.PIDPlaceSymbol(sMappingName, LOCATION_X, LOCATION_Y, Mirror: 0, Rotation: dChildAngle, TargetItem: SPPID_ITEM_OBJECT);
172 172
                            _childLmSymbol.Commit();
DTI_PID/SPPIDConverter_AutoModeling/Model/SPPID/Text.cs
160 160
                                    LMAAttribute attribute = _LmPipingComp.Attributes[document.AttributeMapping["LargeSize"]];
161 161
                                    if (attribute != null && DBNull.Value.Equals(attribute.get_Value()))
162 162
                                    {
163
                                        attribute.set_Value(_symbol.ATTRIBUTES.Find(x => x.DisplayAttribute == "Main Size").VALUE);
163
                                        attribute.set_Value(_symbol.ATTRIBUTES.Find(x => x.DisplayAttribute == "Main Size").VALUE.Trim());
164 164
                                        _LmPipingComp.Commit();
165 165
                                    }
166 166

  
167 167
                                    attribute = _LmPipingComp.Attributes[document.AttributeMapping["SmallSize"]];
168 168
                                    if (attribute != null && DBNull.Value.Equals(attribute.get_Value()))
169 169
                                    {
170
                                        attribute.set_Value(_symbol.ATTRIBUTES.Find(x => x.DisplayAttribute == "Sub Size").VALUE);
170
                                        attribute.set_Value(_symbol.ATTRIBUTES.Find(x => x.DisplayAttribute == "Sub Size").VALUE.Trim());
171 171
                                        _LmPipingComp.Commit();
172 172
                                    }
173 173
                                }
DTI_PID/SPPIDConverter_AutoModeling/Modeling/AutoModeling.cs
28 28

  
29 29
        public void Run()
30 30
        {
31
            List<Group> drainGroup = new List<Group>();
32

  
31 33
            CloseOPCForm.Run();
32 34

  
33 35
            ProgressForm.SetProgressAllValue(0);
......
64 66
                        loopAction = true;
65 67
                        GroupLineModeling(group);
66 68
                        document.GROUPS.Remove(group);
69

  
70
                        if (group.Items.Count == 2)
71
                        {
72
                            object item1 = group.Items[0];
73
                            object item2 = group.Items[1];
74
                            if (item1.GetType() == typeof(Line) && item2.GetType() == typeof(Symbol))
75
                            {
76
                                Line line = item1 as Line;
77
                                Symbol symbol = item2 as Symbol;
78
                                if (line.SPPIDMAPPINGNAME.ToUpper().Contains("PRIMARY") && symbol.SPPIDMAPPINGNAME.ToUpper().Contains("VALVE"))
79
                                    drainGroup.Add(group);
80
                            }
81
                            else if (item1.GetType() == typeof(Symbol) && item2.GetType() == typeof(Line))
82
                            {
83
                                Line line = item2 as Line;
84
                                Symbol symbol = item1 as Symbol;
85
                                if (line.SPPIDMAPPINGNAME.ToUpper().Contains("PRIMARY") && symbol.SPPIDMAPPINGNAME.ToUpper().Contains("VALVE"))
86
                                    drainGroup.Add(group);
87
                            }
88
                        }
89

  
67 90
                        break;
68 91
                    }
69 92
                }
......
87 110
            System.Threading.Thread.Sleep(100);
88 111
            // End
89 112

  
113
            // EndBreak Modeling
114
            ProgressForm.UpdateStatus("End Break Modeling");
115
            ProgressForm.SetProgressStatusValue(0);
116
            ProgressForm.SetProgressStatusMax(document.ENDBREAK.Count);
117
            foreach (EndBreak item in document.ENDBREAK)
118
            {
119
                item.Modeling(document);
120

  
121
                ProgressForm.IncreaseProgressStatus();
122
            }
123
            ProgressForm.SetProgressStatusMax();
124
            ProgressForm.IncreaseProgressAll();
125
            System.Threading.Thread.Sleep(100);
126
            // End
127

  
128

  
90 129
            // SprecBreak Modeling
91 130
            ProgressForm.UpdateStatus("Spec Break Modeling");
92 131
            ProgressForm.SetProgressStatusValue(0);
......
185 224
            System.Threading.Thread.Sleep(100);
186 225
            // End
187 226

  
227
            // Input Drain Valve Attribute
228
            ProgressForm.UpdateStatus("Input Drain Valve Attribute");
229
            ProgressForm.SetProgressStatusValue(0);
230
            ProgressForm.SetProgressStatusMax(document.SYMBOLS.Count);
231
            foreach (Group group in drainGroup)
232
            {
233
                if (group.Items.Count == 2)
234
                {
235
                    object item1 = group.Items[0];
236
                    object item2 = group.Items[1];
237
                    ItemAttribute itemAttribute = new ItemAttribute()
238
                    {
239
                        Attribute = "NominalDiameter",
240
                        VALUE = document.AttributeMapping["DrainSize"],
241
                        SPPIDMAPPINGNAME = "NOMINALDIAMETER"
242
                    };
243
                    if (item1.GetType() == typeof(Line) && item2.GetType() == typeof(Symbol))
244
                    {
245
                        Line line = item1 as Line;
246
                        Symbol symbol = item2 as Symbol;
247
                        if (line.SPPIDMAPPINGNAME.ToUpper().Contains("PRIMARY") && symbol.SPPIDMAPPINGNAME.ToUpper().Contains("VALVE"))
248
                        {
249
                            line.ATTRIBUTES.Clear();
250
                            line.ATTRIBUTES.Add(itemAttribute);
251
                            symbol.ASSOCIATIONS.Clear();
252
                            symbol.ATTRIBUTES.Clear();
253
                            symbol.ATTRIBUTES.Add(itemAttribute);
254
                            line.SetAttribute(document);
255
                            symbol.SetAttribute(document);
256
                        }
257
                    }
258
                    else if (item1.GetType() == typeof(Symbol) && item2.GetType() == typeof(Line))
259
                    {
260
                        Line line = item2 as Line;
261
                        Symbol symbol = item1 as Symbol;
262
                        if (line.SPPIDMAPPINGNAME.ToUpper().Contains("PRIMARY") && symbol.SPPIDMAPPINGNAME.ToUpper().Contains("VALVE"))
263
                        {
264
                            line.ATTRIBUTES.Clear();
265
                            line.ATTRIBUTES.Add(itemAttribute);
266
                            symbol.ASSOCIATIONS.Clear();
267
                            symbol.ATTRIBUTES.Clear();
268
                            symbol.ATTRIBUTES.Add(itemAttribute);
269
                            line.SetAttribute(document);
270
                            symbol.SetAttribute(document);
271
                        }
272
                    }
273
                }
274
            }
275
            ProgressForm.SetProgressStatusMax();
276
            ProgressForm.IncreaseProgressAll();
277
            System.Threading.Thread.Sleep(100);
278

  
188 279
            CloseOPCForm.Stop();
189 280
            //
190 281
            //Log.WriteLine(new ListBoxItem(string.Format("Time : {0}", ts), Color.Black), logListBox);
DTI_PID/SPPIDConverter_AutoModeling/ProgressForm.Designer.cs
56 56
            this.progressBarAll.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
57 57
            | System.Windows.Forms.AnchorStyles.Right)));
58 58
            this.progressBarAll.Location = new System.Drawing.Point(12, 60);
59
            this.progressBarAll.Maximum = 6;
59
            this.progressBarAll.Maximum = 8;
60 60
            this.progressBarAll.Name = "progressBarAll";
61 61
            this.progressBarAll.Size = new System.Drawing.Size(503, 24);
62 62
            this.progressBarAll.TabIndex = 3;
DTI_PID/SPPIDConverter_AutoModeling/Properties/licenses.licx
1
DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit, DevExpress.XtraEditors.v18.2, Version=18.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
1
DevExpress.XtraBars.Ribbon.RibbonControl, DevExpress.XtraBars.v18.2, Version=18.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
2
DevExpress.XtraGrid.GridControl, DevExpress.XtraGrid.v18.2, Version=18.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
2 3
DevExpress.XtraTreeList.TreeList, DevExpress.XtraTreeList.v18.2, Version=18.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
3
Telerik.WinControls.UI.RadButton, Telerik.WinControls.UI, Version=2019.1.219.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e
4 4
DevExpress.XtraEditors.ComboBoxEdit, DevExpress.XtraEditors.v18.2, Version=18.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
5
Telerik.WinControls.UI.RadProgressBar, Telerik.WinControls.UI, Version=2019.1.219.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e
5
Telerik.WinControls.UI.RadButton, Telerik.WinControls.UI, Version=2019.1.219.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e
6 6
DevExpress.XtraEditors.TextEdit, DevExpress.XtraEditors.v18.2, Version=18.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
7
Telerik.WinControls.UI.RadTreeView, Telerik.WinControls.UI, Version=2019.1.219.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e
8
Telerik.WinControls.UI.RadGridView, Telerik.WinControls.GridView, Version=2019.1.219.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e
7 9
Telerik.WinControls.UI.RadPanel, Telerik.WinControls.UI, Version=2019.1.219.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e
8
DevExpress.XtraEditors.ButtonEdit, DevExpress.XtraEditors.v18.2, Version=18.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
9
Telerik.WinControls.UI.RadSplitContainer, Telerik.WinControls.UI, Version=2019.1.219.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e
10
Telerik.WinControls.UI.RadLabel, Telerik.WinControls.UI, Version=2019.1.219.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e
11
DevExpress.XtraGrid.GridControl, DevExpress.XtraGrid.v18.2, Version=18.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
12 10
DevExpress.XtraDataLayout.DataLayoutControl, DevExpress.XtraLayout.v18.2, Version=18.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
13
Telerik.WinControls.UI.RadPageView, Telerik.WinControls.UI, Version=2019.1.219.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e
14
Telerik.WinControls.UI.RadGridView, Telerik.WinControls.GridView, Version=2019.1.219.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e
15
DevExpress.XtraBars.Ribbon.RibbonControl, DevExpress.XtraBars.v18.2, Version=18.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
16
Telerik.WinControls.Themes.TelerikMetroBlueTheme, Telerik.WinControls.Themes.TelerikMetroBlue, Version=2019.1.219.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e
17
Telerik.WinControls.Themes.MaterialBlueGreyTheme, Telerik.WinControls.Themes.MaterialBlueGrey, Version=2019.1.219.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e
18
Telerik.WinControls.UI.RadTreeView, Telerik.WinControls.UI, Version=2019.1.219.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e
11
DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit, DevExpress.XtraEditors.v18.2, Version=18.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
19 12
DevExpress.XtraLayout.LayoutControl, DevExpress.XtraLayout.v18.2, Version=18.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
13
Telerik.WinControls.Themes.MaterialBlueGreyTheme, Telerik.WinControls.Themes.MaterialBlueGrey, Version=2019.1.219.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e
14
Telerik.WinControls.UI.RadLabel, Telerik.WinControls.UI, Version=2019.1.219.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e
15
Telerik.WinControls.UI.RadProgressBar, Telerik.WinControls.UI, Version=2019.1.219.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e
16
Telerik.WinControls.UI.RadTextBox, Telerik.WinControls.UI, Version=2019.1.219.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e
17
Telerik.WinControls.Themes.TelerikMetroBlueTheme, Telerik.WinControls.Themes.TelerikMetroBlue, Version=2019.1.219.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e
18
Telerik.WinControls.UI.RadPageView, Telerik.WinControls.UI, Version=2019.1.219.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e
19
Telerik.WinControls.UI.RadSplitContainer, Telerik.WinControls.UI, Version=2019.1.219.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e
20
DevExpress.XtraEditors.ButtonEdit, DevExpress.XtraEditors.v18.2, Version=18.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
DTI_PID/SPPIDConverter_AutoModeling/SPPIDConverter_AutoModeling.csproj
98 98
    <Compile Include="DB\DBInformation.cs" />
99 99
    <Compile Include="Model\SPPID\Connector.cs" />
100 100
    <Compile Include="Model\SPPID\Document.cs" />
101
    <Compile Include="Model\SPPID\EndBreak.cs" />
101 102
    <Compile Include="Model\SPPID\ItemAbstract.cs" />
102 103
    <Compile Include="Model\SPPID\Line.cs" />
103 104
    <Compile Include="Model\SPPID\LineNumber.cs" />
DTI_PID/SPPIDConverter_AutoModeling/Utill/SPPIDUtill.cs
14 14
{
15 15
    public static class SPPIDUtill
16 16
    {
17
        private static readonly double _DWG_X = 0.8175;//0.875;
18
        private static readonly double _DWG_Y = 0.5853;//0.617;
17
        private static readonly double _DWG_X = 0.855;//0.8175;//0.875;
18
        private static readonly double _DWG_Y = 0.55;//0.5853;//0.617;
19 19
        public static string defaultPath = "";
20 20
        public static string mappingFilePath = "";
21 21
        public static string dbFilePath = "";

내보내기 Unified diff

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