개정판 96a2080c
dev issue #000 : edit form and wrapper
Change-Id: I607ead2f26b9eb53f7d544171da3c7cd14c2974f
DTI_PID/BaseModel/BaseModel.csproj | ||
---|---|---|
33 | 33 |
<ItemGroup> |
34 | 34 |
<Reference Include="System" /> |
35 | 35 |
<Reference Include="System.Core" /> |
36 |
<Reference Include="System.Windows.Forms" /> |
|
36 | 37 |
<Reference Include="System.Xml.Linq" /> |
37 | 38 |
<Reference Include="System.Data.DataSetExtensions" /> |
38 | 39 |
<Reference Include="Microsoft.CSharp" /> |
... | ... | |
41 | 42 |
<Reference Include="System.Xml" /> |
42 | 43 |
</ItemGroup> |
43 | 44 |
<ItemGroup> |
45 |
<Compile Include="Document.cs" /> |
|
46 |
<Compile Include="Line.cs" /> |
|
47 |
<Compile Include="LineNumber.cs" /> |
|
48 |
<Compile Include="Note.cs" /> |
|
44 | 49 |
<Compile Include="Properties\AssemblyInfo.cs" /> |
50 |
<Compile Include="Symbol.cs" /> |
|
51 |
<Compile Include="Text.cs" /> |
|
45 | 52 |
</ItemGroup> |
46 | 53 |
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
47 | 54 |
</Project> |
DTI_PID/BaseModel/Document.cs | ||
---|---|---|
1 |
using System; |
|
2 |
using System.Collections.Generic; |
|
3 |
using System.Linq; |
|
4 |
using System.Text; |
|
5 |
using System.Threading.Tasks; |
|
6 |
using System.IO; |
|
7 |
using System.Xml.Linq; |
|
8 |
using System.Windows.Forms; |
|
9 |
|
|
10 |
namespace Converter.BaseModel |
|
11 |
{ |
|
12 |
public class Document |
|
13 |
{ |
|
14 |
private string _DWGNAME; |
|
15 |
private string _SIZE; |
|
16 |
private List<Symbol> _SYMBOLS; |
|
17 |
private List<Text> _TEXTINFOS; |
|
18 |
private List<Note> _NOTES; |
|
19 |
private List<Line> _LINES; |
|
20 |
private List<LineNumber> _LINENUMBERS; |
|
21 |
|
|
22 |
public List<Symbol> SYMBOLS { get => _SYMBOLS; set => _SYMBOLS = value; } |
|
23 |
public List<Text> TEXTINFOS { get => _TEXTINFOS; set => _TEXTINFOS = value; } |
|
24 |
public List<Note> NOTES { get => _NOTES; set => _NOTES = value; } |
|
25 |
public List<Line> LINES { get => _LINES; set => _LINES = value; } |
|
26 |
public List<LineNumber> LINENUMBERS { get => _LINENUMBERS; set => _LINENUMBERS = value; } |
|
27 |
public string DWGNAME { get => _DWGNAME; set => _DWGNAME = value; } |
|
28 |
public string SIZE { get => _SIZE; set => _SIZE = value; } |
|
29 |
|
|
30 |
public Document(string xmlPath) |
|
31 |
{ |
|
32 |
try |
|
33 |
{ |
|
34 |
XElement xml = XElement.Load(xmlPath); |
|
35 |
DWGNAME = xml.Element("DWGNAME").Value; |
|
36 |
SIZE = xml.Element("SIZE").Value; |
|
37 |
|
|
38 |
SetSymbol(xml.Element("SYMBOLS")); |
|
39 |
SetLine(xml.Element("LINEINFOS")); |
|
40 |
SetLineNumber(xml.Element("LINENOS")); |
|
41 |
SetText(xml.Element("TEXTINFOS")); |
|
42 |
SetNote(xml.Element("NOTES")); |
|
43 |
} |
|
44 |
catch (Exception ex) |
|
45 |
{ |
|
46 |
MessageBox.Show(ex.Message + "\r\n" + ex.StackTrace); |
|
47 |
} |
|
48 |
} |
|
49 |
|
|
50 |
private void SetSymbol(XElement node) |
|
51 |
{ |
|
52 |
foreach (XElement item in node.Elements("SYMBOL")) |
|
53 |
{ |
|
54 |
SYMBOLS.Add(new Symbol() |
|
55 |
{ |
|
56 |
|
|
57 |
}); |
|
58 |
} |
|
59 |
} |
|
60 |
|
|
61 |
private void SetLine(XElement node) |
|
62 |
{ |
|
63 |
foreach (XElement item in node.Elements("LINE")) |
|
64 |
{ |
|
65 |
LINES.Add(new Line() |
|
66 |
{ |
|
67 |
|
|
68 |
}); |
|
69 |
} |
|
70 |
} |
|
71 |
|
|
72 |
private void SetLineNumber(XElement node) |
|
73 |
{ |
|
74 |
foreach (XElement item in node.Elements("LINE_NO")) |
|
75 |
{ |
|
76 |
LINENUMBERS.Add(new LineNumber() |
|
77 |
{ |
|
78 |
|
|
79 |
}); |
|
80 |
} |
|
81 |
} |
|
82 |
|
|
83 |
private void SetText(XElement node) |
|
84 |
{ |
|
85 |
foreach (XElement item in node.Elements("ATTRIBUTE")) |
|
86 |
{ |
|
87 |
TEXTINFOS.Add(new Text() |
|
88 |
{ |
|
89 |
|
|
90 |
}); |
|
91 |
} |
|
92 |
} |
|
93 |
|
|
94 |
private void SetNote(XElement node) |
|
95 |
{ |
|
96 |
foreach (XElement item in node.Elements("ATTRIBUTE")) |
|
97 |
{ |
|
98 |
NOTES.Add(new Note() |
|
99 |
{ |
|
100 |
|
|
101 |
}); |
|
102 |
} |
|
103 |
} |
|
104 |
} |
|
105 |
} |
DTI_PID/BaseModel/Line.cs | ||
---|---|---|
1 |
using System; |
|
2 |
using System.Collections.Generic; |
|
3 |
using System.Linq; |
|
4 |
using System.Text; |
|
5 |
using System.Threading.Tasks; |
|
6 |
|
|
7 |
namespace Converter.BaseModel |
|
8 |
{ |
|
9 |
public class Line |
|
10 |
{ |
|
11 |
} |
|
12 |
} |
DTI_PID/BaseModel/LineNumber.cs | ||
---|---|---|
1 |
using System; |
|
2 |
using System.Collections.Generic; |
|
3 |
using System.Linq; |
|
4 |
using System.Text; |
|
5 |
using System.Threading.Tasks; |
|
6 |
|
|
7 |
namespace Converter.BaseModel |
|
8 |
{ |
|
9 |
public class LineNumber |
|
10 |
{ |
|
11 |
} |
|
12 |
} |
DTI_PID/BaseModel/Note.cs | ||
---|---|---|
1 |
using System; |
|
2 |
using System.Collections.Generic; |
|
3 |
using System.Linq; |
|
4 |
using System.Text; |
|
5 |
using System.Threading.Tasks; |
|
6 |
|
|
7 |
namespace Converter.BaseModel |
|
8 |
{ |
|
9 |
public class Note |
|
10 |
{ |
|
11 |
} |
|
12 |
} |
DTI_PID/BaseModel/Symbol.cs | ||
---|---|---|
1 |
using System; |
|
2 |
using System.Collections.Generic; |
|
3 |
using System.Linq; |
|
4 |
using System.Text; |
|
5 |
using System.Threading.Tasks; |
|
6 |
|
|
7 |
namespace Converter.BaseModel |
|
8 |
{ |
|
9 |
public class Symbol |
|
10 |
{ |
|
11 |
} |
|
12 |
} |
DTI_PID/BaseModel/Text.cs | ||
---|---|---|
1 |
using System; |
|
2 |
using System.Collections.Generic; |
|
3 |
using System.Linq; |
|
4 |
using System.Text; |
|
5 |
using System.Threading.Tasks; |
|
6 |
|
|
7 |
namespace Converter.BaseModel |
|
8 |
{ |
|
9 |
public class Text |
|
10 |
{ |
|
11 |
} |
|
12 |
} |
DTI_PID/SPPIDConverter_AutoModeling/App.config | ||
---|---|---|
1 |
<?xml version="1.0" encoding="utf-8" ?> |
|
2 |
<configuration> |
|
3 |
</configuration> |
DTI_PID/SPPIDConverter_AutoModeling/ConverterForm.Designer.cs | ||
---|---|---|
1 |
namespace Converter.SPPID.AutoModeling |
|
2 |
{ |
|
3 |
partial class ConverterForm |
|
4 |
{ |
|
5 |
/// <summary> |
|
6 |
/// Required designer variable. |
|
7 |
/// </summary> |
|
8 |
private System.ComponentModel.IContainer components = null; |
|
9 |
|
|
10 |
/// <summary> |
|
11 |
/// Clean up any resources being used. |
|
12 |
/// </summary> |
|
13 |
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> |
|
14 |
protected override void Dispose(bool disposing) |
|
15 |
{ |
|
16 |
if (disposing && (components != null)) |
|
17 |
{ |
|
18 |
components.Dispose(); |
|
19 |
} |
|
20 |
base.Dispose(disposing); |
|
21 |
} |
|
22 |
|
|
23 |
#region Windows Form Designer generated code |
|
24 |
|
|
25 |
/// <summary> |
|
26 |
/// Required method for Designer support - do not modify |
|
27 |
/// the contents of this method with the code editor. |
|
28 |
/// </summary> |
|
29 |
private void InitializeComponent() |
|
30 |
{ |
|
31 |
this.components = new System.ComponentModel.Container(); |
|
32 |
this.defaultLookAndFeel = new DevExpress.LookAndFeel.DefaultLookAndFeel(this.components); |
|
33 |
this.ribbonControl = new DevExpress.XtraBars.Ribbon.RibbonControl(); |
|
34 |
this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
|
35 |
this.btnRun = new DevExpress.XtraEditors.SimpleButton(); |
|
36 |
this.btnLoadFile = new DevExpress.XtraEditors.SimpleButton(); |
|
37 |
this.btnItemMapping = new DevExpress.XtraEditors.SimpleButton(); |
|
38 |
this.btnSPPIDDB = new DevExpress.XtraEditors.SimpleButton(); |
|
39 |
this.gridControlAutoConverter = new DevExpress.XtraGrid.GridControl(); |
|
40 |
this.gridViewAutoConverter = new DevExpress.XtraGrid.Views.Grid.GridView(); |
|
41 |
this.buttonEdit1 = new DevExpress.XtraEditors.ButtonEdit(); |
|
42 |
this.Root = new DevExpress.XtraLayout.LayoutControlGroup(); |
|
43 |
this.layoutControlGroupAutoConverter = new DevExpress.XtraLayout.LayoutControlGroup(); |
|
44 |
this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
45 |
this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
46 |
this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem(); |
|
47 |
this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
48 |
this.layoutControlGroupSPPIDDB = new DevExpress.XtraLayout.LayoutControlGroup(); |
|
49 |
this.labelSPPIDPlantName = new DevExpress.XtraLayout.SimpleLabelItem(); |
|
50 |
this.labelSPPIDDBStatus = new DevExpress.XtraLayout.SimpleLabelItem(); |
|
51 |
this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
52 |
this.layoutControlGroupID2Project = new DevExpress.XtraLayout.LayoutControlGroup(); |
|
53 |
this.labelID2ProjectName = new DevExpress.XtraLayout.SimpleLabelItem(); |
|
54 |
this.labelID2ProjectStatus = new DevExpress.XtraLayout.SimpleLabelItem(); |
|
55 |
this.btnID2Project = new DevExpress.XtraLayout.LayoutControlItem(); |
|
56 |
this.layoutControlGroupItemMapping = new DevExpress.XtraLayout.LayoutControlGroup(); |
|
57 |
this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
58 |
this.labelItemMappingStatus = new DevExpress.XtraLayout.SimpleLabelItem(); |
|
59 |
this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); |
|
60 |
this.simpleLabelItem1 = new DevExpress.XtraLayout.SimpleLabelItem(); |
|
61 |
this.simpleLabelItem2 = new DevExpress.XtraLayout.SimpleLabelItem(); |
|
62 |
this.simpleLabelItem3 = new DevExpress.XtraLayout.SimpleLabelItem(); |
|
63 |
this.simpleLabelItem4 = new DevExpress.XtraLayout.SimpleLabelItem(); |
|
64 |
this.simpleLabelItem5 = new DevExpress.XtraLayout.SimpleLabelItem(); |
|
65 |
((System.ComponentModel.ISupportInitialize)(this.ribbonControl)).BeginInit(); |
|
66 |
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); |
|
67 |
this.layoutControl1.SuspendLayout(); |
|
68 |
((System.ComponentModel.ISupportInitialize)(this.gridControlAutoConverter)).BeginInit(); |
|
69 |
((System.ComponentModel.ISupportInitialize)(this.gridViewAutoConverter)).BeginInit(); |
|
70 |
((System.ComponentModel.ISupportInitialize)(this.buttonEdit1.Properties)).BeginInit(); |
|
71 |
((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit(); |
|
72 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroupAutoConverter)).BeginInit(); |
|
73 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); |
|
74 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); |
|
75 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).BeginInit(); |
|
76 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit(); |
|
77 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroupSPPIDDB)).BeginInit(); |
|
78 |
((System.ComponentModel.ISupportInitialize)(this.labelSPPIDPlantName)).BeginInit(); |
|
79 |
((System.ComponentModel.ISupportInitialize)(this.labelSPPIDDBStatus)).BeginInit(); |
|
80 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); |
|
81 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroupID2Project)).BeginInit(); |
|
82 |
((System.ComponentModel.ISupportInitialize)(this.labelID2ProjectName)).BeginInit(); |
|
83 |
((System.ComponentModel.ISupportInitialize)(this.labelID2ProjectStatus)).BeginInit(); |
|
84 |
((System.ComponentModel.ISupportInitialize)(this.btnID2Project)).BeginInit(); |
|
85 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroupItemMapping)).BeginInit(); |
|
86 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); |
|
87 |
((System.ComponentModel.ISupportInitialize)(this.labelItemMappingStatus)).BeginInit(); |
|
88 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit(); |
|
89 |
((System.ComponentModel.ISupportInitialize)(this.simpleLabelItem1)).BeginInit(); |
|
90 |
((System.ComponentModel.ISupportInitialize)(this.simpleLabelItem2)).BeginInit(); |
|
91 |
((System.ComponentModel.ISupportInitialize)(this.simpleLabelItem3)).BeginInit(); |
|
92 |
((System.ComponentModel.ISupportInitialize)(this.simpleLabelItem4)).BeginInit(); |
|
93 |
((System.ComponentModel.ISupportInitialize)(this.simpleLabelItem5)).BeginInit(); |
|
94 |
this.SuspendLayout(); |
|
95 |
// |
|
96 |
// defaultLookAndFeel |
|
97 |
// |
|
98 |
this.defaultLookAndFeel.LookAndFeel.SkinName = "Office 2019 Colorful"; |
|
99 |
// |
|
100 |
// ribbonControl |
|
101 |
// |
|
102 |
this.ribbonControl.ExpandCollapseItem.Id = 0; |
|
103 |
this.ribbonControl.Items.AddRange(new DevExpress.XtraBars.BarItem[] { |
|
104 |
this.ribbonControl.ExpandCollapseItem}); |
|
105 |
this.ribbonControl.Location = new System.Drawing.Point(0, 0); |
|
106 |
this.ribbonControl.MaxItemId = 1; |
|
107 |
this.ribbonControl.Name = "ribbonControl"; |
|
108 |
this.ribbonControl.ShowApplicationButton = DevExpress.Utils.DefaultBoolean.False; |
|
109 |
this.ribbonControl.ShowDisplayOptionsMenuButton = DevExpress.Utils.DefaultBoolean.False; |
|
110 |
this.ribbonControl.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.ShowOnMultiplePages; |
|
111 |
this.ribbonControl.ShowToolbarCustomizeItem = false; |
|
112 |
this.ribbonControl.Size = new System.Drawing.Size(1041, 32); |
|
113 |
this.ribbonControl.Toolbar.ShowCustomizeItem = false; |
|
114 |
// |
|
115 |
// layoutControl1 |
|
116 |
// |
|
117 |
this.layoutControl1.Controls.Add(this.btnRun); |
|
118 |
this.layoutControl1.Controls.Add(this.btnLoadFile); |
|
119 |
this.layoutControl1.Controls.Add(this.btnItemMapping); |
|
120 |
this.layoutControl1.Controls.Add(this.btnSPPIDDB); |
|
121 |
this.layoutControl1.Controls.Add(this.gridControlAutoConverter); |
|
122 |
this.layoutControl1.Controls.Add(this.buttonEdit1); |
|
123 |
this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; |
|
124 |
this.layoutControl1.Location = new System.Drawing.Point(0, 32); |
|
125 |
this.layoutControl1.Name = "layoutControl1"; |
|
126 |
this.layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(982, 292, 650, 400); |
|
127 |
this.layoutControl1.Root = this.Root; |
|
128 |
this.layoutControl1.Size = new System.Drawing.Size(1041, 515); |
|
129 |
this.layoutControl1.TabIndex = 1; |
|
130 |
this.layoutControl1.Text = "layoutControl1"; |
|
131 |
// |
|
132 |
// btnRun |
|
133 |
// |
|
134 |
this.btnRun.ImageOptions.SvgImage = global::Converter.SPPID.AutoModeling.Properties.Resources.next; |
|
135 |
this.btnRun.Location = new System.Drawing.Point(680, 58); |
|
136 |
this.btnRun.Name = "btnRun"; |
|
137 |
this.btnRun.Size = new System.Drawing.Size(63, 36); |
|
138 |
this.btnRun.StyleController = this.layoutControl1; |
|
139 |
this.btnRun.TabIndex = 9; |
|
140 |
this.btnRun.Text = "Run"; |
|
141 |
// |
|
142 |
// btnLoadFile |
|
143 |
// |
|
144 |
this.btnLoadFile.ImageOptions.SvgImage = global::Converter.SPPID.AutoModeling.Properties.Resources.open2; |
|
145 |
this.btnLoadFile.Location = new System.Drawing.Point(24, 58); |
|
146 |
this.btnLoadFile.Name = "btnLoadFile"; |
|
147 |
this.btnLoadFile.Size = new System.Drawing.Size(117, 36); |
|
148 |
this.btnLoadFile.StyleController = this.layoutControl1; |
|
149 |
this.btnLoadFile.TabIndex = 8; |
|
150 |
this.btnLoadFile.Text = "Load Files"; |
|
151 |
// |
|
152 |
// btnItemMapping |
|
153 |
// |
|
154 |
this.btnItemMapping.ImageOptions.SvgImage = global::Converter.SPPID.AutoModeling.Properties.Resources.properties; |
|
155 |
this.btnItemMapping.Location = new System.Drawing.Point(771, 310); |
|
156 |
this.btnItemMapping.Name = "btnItemMapping"; |
|
157 |
this.btnItemMapping.Size = new System.Drawing.Size(246, 36); |
|
158 |
this.btnItemMapping.StyleController = this.layoutControl1; |
|
159 |
this.btnItemMapping.TabIndex = 7; |
|
160 |
this.btnItemMapping.Text = "Setting"; |
|
161 |
// |
|
162 |
// btnSPPIDDB |
|
163 |
// |
|
164 |
this.btnSPPIDDB.ImageOptions.SvgImage = global::Converter.SPPID.AutoModeling.Properties.Resources.properties; |
|
165 |
this.btnSPPIDDB.Location = new System.Drawing.Point(771, 58); |
|
166 |
this.btnSPPIDDB.Name = "btnSPPIDDB"; |
|
167 |
this.btnSPPIDDB.Size = new System.Drawing.Size(246, 36); |
|
168 |
this.btnSPPIDDB.StyleController = this.layoutControl1; |
|
169 |
this.btnSPPIDDB.TabIndex = 5; |
|
170 |
this.btnSPPIDDB.Text = "Setting"; |
|
171 |
// |
|
172 |
// gridControlAutoConverter |
|
173 |
// |
|
174 |
this.gridControlAutoConverter.Location = new System.Drawing.Point(24, 98); |
|
175 |
this.gridControlAutoConverter.MainView = this.gridViewAutoConverter; |
|
176 |
this.gridControlAutoConverter.MenuManager = this.ribbonControl; |
|
177 |
this.gridControlAutoConverter.Name = "gridControlAutoConverter"; |
|
178 |
this.gridControlAutoConverter.Size = new System.Drawing.Size(719, 393); |
|
179 |
this.gridControlAutoConverter.TabIndex = 4; |
|
180 |
this.gridControlAutoConverter.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { |
|
181 |
this.gridViewAutoConverter}); |
|
182 |
// |
|
183 |
// gridViewAutoConverter |
|
184 |
// |
|
185 |
this.gridViewAutoConverter.GridControl = this.gridControlAutoConverter; |
|
186 |
this.gridViewAutoConverter.Name = "gridViewAutoConverter"; |
|
187 |
this.gridViewAutoConverter.OptionsView.ShowGroupPanel = false; |
|
188 |
// |
|
189 |
// buttonEdit1 |
|
190 |
// |
|
191 |
this.buttonEdit1.Location = new System.Drawing.Point(809, 192); |
|
192 |
this.buttonEdit1.MenuManager = this.ribbonControl; |
|
193 |
this.buttonEdit1.Name = "buttonEdit1"; |
|
194 |
this.buttonEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { |
|
195 |
new DevExpress.XtraEditors.Controls.EditorButton()}); |
|
196 |
this.buttonEdit1.Size = new System.Drawing.Size(208, 20); |
|
197 |
this.buttonEdit1.StyleController = this.layoutControl1; |
|
198 |
this.buttonEdit1.TabIndex = 10; |
|
199 |
// |
|
200 |
// Root |
|
201 |
// |
|
202 |
this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; |
|
203 |
this.Root.GroupBordersVisible = false; |
|
204 |
this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { |
|
205 |
this.layoutControlGroupAutoConverter, |
|
206 |
this.layoutControlGroupSPPIDDB, |
|
207 |
this.layoutControlGroupID2Project, |
|
208 |
this.layoutControlGroupItemMapping, |
|
209 |
this.emptySpaceItem1}); |
|
210 |
this.Root.Name = "Root"; |
|
211 |
this.Root.Size = new System.Drawing.Size(1041, 515); |
|
212 |
this.Root.TextVisible = false; |
|
213 |
// |
|
214 |
// layoutControlGroupAutoConverter |
|
215 |
// |
|
216 |
this.layoutControlGroupAutoConverter.CaptionImageOptions.SvgImage = global::Converter.SPPID.AutoModeling.Properties.Resources.convertto; |
|
217 |
this.layoutControlGroupAutoConverter.GroupStyle = DevExpress.Utils.GroupStyle.Card; |
|
218 |
this.layoutControlGroupAutoConverter.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { |
|
219 |
this.layoutControlItem1, |
|
220 |
this.layoutControlItem5, |
|
221 |
this.emptySpaceItem2, |
|
222 |
this.layoutControlItem6}); |
|
223 |
this.layoutControlGroupAutoConverter.Location = new System.Drawing.Point(0, 0); |
|
224 |
this.layoutControlGroupAutoConverter.Name = "layoutControlGroupAutoConverter"; |
|
225 |
this.layoutControlGroupAutoConverter.Size = new System.Drawing.Size(747, 495); |
|
226 |
this.layoutControlGroupAutoConverter.Text = "Auto Converter"; |
|
227 |
// |
|
228 |
// layoutControlItem1 |
|
229 |
// |
|
230 |
this.layoutControlItem1.Control = this.gridControlAutoConverter; |
|
231 |
this.layoutControlItem1.Location = new System.Drawing.Point(0, 40); |
|
232 |
this.layoutControlItem1.Name = "layoutControlItem1"; |
|
233 |
this.layoutControlItem1.Size = new System.Drawing.Size(723, 397); |
|
234 |
this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0); |
|
235 |
this.layoutControlItem1.TextVisible = false; |
|
236 |
// |
|
237 |
// layoutControlItem5 |
|
238 |
// |
|
239 |
this.layoutControlItem5.Control = this.btnLoadFile; |
|
240 |
this.layoutControlItem5.Location = new System.Drawing.Point(0, 0); |
|
241 |
this.layoutControlItem5.Name = "layoutControlItem5"; |
|
242 |
this.layoutControlItem5.Size = new System.Drawing.Size(121, 40); |
|
243 |
this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0); |
|
244 |
this.layoutControlItem5.TextVisible = false; |
|
245 |
// |
|
246 |
// emptySpaceItem2 |
|
247 |
// |
|
248 |
this.emptySpaceItem2.AllowHotTrack = false; |
|
249 |
this.emptySpaceItem2.Location = new System.Drawing.Point(121, 0); |
|
250 |
this.emptySpaceItem2.Name = "emptySpaceItem2"; |
|
251 |
this.emptySpaceItem2.Size = new System.Drawing.Size(535, 40); |
|
252 |
this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0); |
|
253 |
// |
|
254 |
// layoutControlItem6 |
|
255 |
// |
|
256 |
this.layoutControlItem6.Control = this.btnRun; |
|
257 |
this.layoutControlItem6.Location = new System.Drawing.Point(656, 0); |
|
258 |
this.layoutControlItem6.Name = "layoutControlItem6"; |
|
259 |
this.layoutControlItem6.Size = new System.Drawing.Size(67, 40); |
|
260 |
this.layoutControlItem6.TextSize = new System.Drawing.Size(0, 0); |
|
261 |
this.layoutControlItem6.TextVisible = false; |
|
262 |
// |
|
263 |
// layoutControlGroupSPPIDDB |
|
264 |
// |
|
265 |
this.layoutControlGroupSPPIDDB.CaptionImageOptions.SvgImage = global::Converter.SPPID.AutoModeling.Properties.Resources.actions_database; |
|
266 |
this.layoutControlGroupSPPIDDB.GroupStyle = DevExpress.Utils.GroupStyle.Card; |
|
267 |
this.layoutControlGroupSPPIDDB.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { |
|
268 |
this.labelSPPIDPlantName, |
|
269 |
this.labelSPPIDDBStatus, |
|
270 |
this.layoutControlItem2, |
|
271 |
this.simpleLabelItem1, |
|
272 |
this.simpleLabelItem2}); |
|
273 |
this.layoutControlGroupSPPIDDB.Location = new System.Drawing.Point(747, 0); |
|
274 |
this.layoutControlGroupSPPIDDB.Name = "layoutControlGroupSPPIDDB"; |
|
275 |
this.layoutControlGroupSPPIDDB.Size = new System.Drawing.Size(274, 134); |
|
276 |
this.layoutControlGroupSPPIDDB.Text = "SPPID DB"; |
|
277 |
// |
|
278 |
// labelSPPIDPlantName |
|
279 |
// |
|
280 |
this.labelSPPIDPlantName.AllowHotTrack = false; |
|
281 |
this.labelSPPIDPlantName.Location = new System.Drawing.Point(97, 40); |
|
282 |
this.labelSPPIDPlantName.Name = "labelSPPIDPlantName"; |
|
283 |
this.labelSPPIDPlantName.Size = new System.Drawing.Size(153, 18); |
|
284 |
this.labelSPPIDPlantName.Text = "SPPIDPlantName"; |
|
285 |
this.labelSPPIDPlantName.TextSize = new System.Drawing.Size(93, 14); |
|
286 |
// |
|
287 |
// labelSPPIDDBStatus |
|
288 |
// |
|
289 |
this.labelSPPIDDBStatus.AllowHotTrack = false; |
|
290 |
this.labelSPPIDDBStatus.Location = new System.Drawing.Point(63, 58); |
|
291 |
this.labelSPPIDDBStatus.Name = "labelSPPIDDBStatus"; |
|
292 |
this.labelSPPIDDBStatus.Size = new System.Drawing.Size(187, 18); |
|
293 |
this.labelSPPIDDBStatus.Text = "SPPIDDBStatus"; |
|
294 |
this.labelSPPIDDBStatus.TextSize = new System.Drawing.Size(93, 14); |
|
295 |
// |
|
296 |
// layoutControlItem2 |
|
297 |
// |
|
298 |
this.layoutControlItem2.Control = this.btnSPPIDDB; |
|
299 |
this.layoutControlItem2.Location = new System.Drawing.Point(0, 0); |
|
300 |
this.layoutControlItem2.Name = "layoutControlItem2"; |
|
301 |
this.layoutControlItem2.Size = new System.Drawing.Size(250, 40); |
|
302 |
this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0); |
|
303 |
this.layoutControlItem2.TextVisible = false; |
|
304 |
// |
|
305 |
// layoutControlGroupID2Project |
|
306 |
// |
|
307 |
this.layoutControlGroupID2Project.CaptionImageOptions.SvgImage = global::Converter.SPPID.AutoModeling.Properties.Resources.actions_image; |
|
308 |
this.layoutControlGroupID2Project.GroupStyle = DevExpress.Utils.GroupStyle.Card; |
|
309 |
this.layoutControlGroupID2Project.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { |
|
310 |
this.labelID2ProjectName, |
|
311 |
this.labelID2ProjectStatus, |
|
312 |
this.btnID2Project, |
|
313 |
this.simpleLabelItem3, |
|
314 |
this.simpleLabelItem4}); |
|
315 |
this.layoutControlGroupID2Project.Location = new System.Drawing.Point(747, 134); |
|
316 |
this.layoutControlGroupID2Project.Name = "layoutControlGroupID2Project"; |
|
317 |
this.layoutControlGroupID2Project.Size = new System.Drawing.Size(274, 118); |
|
318 |
this.layoutControlGroupID2Project.Text = "ID2 Project"; |
|
319 |
// |
|
320 |
// labelID2ProjectName |
|
321 |
// |
|
322 |
this.labelID2ProjectName.AllowHotTrack = false; |
|
323 |
this.labelID2ProjectName.Location = new System.Drawing.Point(106, 24); |
|
324 |
this.labelID2ProjectName.Name = "labelID2ProjectName"; |
|
325 |
this.labelID2ProjectName.Size = new System.Drawing.Size(144, 18); |
|
326 |
this.labelID2ProjectName.Text = "ID2ProjectName"; |
|
327 |
this.labelID2ProjectName.TextSize = new System.Drawing.Size(93, 14); |
|
328 |
// |
|
329 |
// labelID2ProjectStatus |
|
330 |
// |
|
331 |
this.labelID2ProjectStatus.AllowHotTrack = false; |
|
332 |
this.labelID2ProjectStatus.Location = new System.Drawing.Point(63, 42); |
|
333 |
this.labelID2ProjectStatus.Name = "labelID2ProjectStatus"; |
|
334 |
this.labelID2ProjectStatus.Size = new System.Drawing.Size(187, 18); |
|
335 |
this.labelID2ProjectStatus.Text = "ID2ProjectStatus"; |
|
336 |
this.labelID2ProjectStatus.TextSize = new System.Drawing.Size(93, 14); |
|
337 |
// |
|
338 |
// btnID2Project |
|
339 |
// |
|
340 |
this.btnID2Project.Control = this.buttonEdit1; |
|
341 |
this.btnID2Project.Location = new System.Drawing.Point(0, 0); |
|
342 |
this.btnID2Project.Name = "btnID2Project"; |
|
343 |
this.btnID2Project.Size = new System.Drawing.Size(250, 24); |
|
344 |
this.btnID2Project.Text = "Path :"; |
|
345 |
this.btnID2Project.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; |
|
346 |
this.btnID2Project.TextSize = new System.Drawing.Size(33, 14); |
|
347 |
this.btnID2Project.TextToControlDistance = 5; |
|
348 |
// |
|
349 |
// layoutControlGroupItemMapping |
|
350 |
// |
|
351 |
this.layoutControlGroupItemMapping.CaptionImageOptions.SvgImage = global::Converter.SPPID.AutoModeling.Properties.Resources.arrangegroups; |
|
352 |
this.layoutControlGroupItemMapping.GroupStyle = DevExpress.Utils.GroupStyle.Card; |
|
353 |
this.layoutControlGroupItemMapping.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { |
|
354 |
this.layoutControlItem4, |
|
355 |
this.labelItemMappingStatus, |
|
356 |
this.simpleLabelItem5}); |
|
357 |
this.layoutControlGroupItemMapping.Location = new System.Drawing.Point(747, 252); |
|
358 |
this.layoutControlGroupItemMapping.Name = "layoutControlGroupItemMapping"; |
|
359 |
this.layoutControlGroupItemMapping.Size = new System.Drawing.Size(274, 116); |
|
360 |
this.layoutControlGroupItemMapping.Text = "Item Mapping"; |
|
361 |
// |
|
362 |
// layoutControlItem4 |
|
363 |
// |
|
364 |
this.layoutControlItem4.Control = this.btnItemMapping; |
|
365 |
this.layoutControlItem4.Location = new System.Drawing.Point(0, 0); |
|
366 |
this.layoutControlItem4.Name = "layoutControlItem4"; |
|
367 |
this.layoutControlItem4.Size = new System.Drawing.Size(250, 40); |
|
368 |
this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0); |
|
369 |
this.layoutControlItem4.TextVisible = false; |
|
370 |
// |
|
371 |
// labelItemMappingStatus |
|
372 |
// |
|
373 |
this.labelItemMappingStatus.AllowHotTrack = false; |
|
374 |
this.labelItemMappingStatus.Location = new System.Drawing.Point(63, 40); |
|
375 |
this.labelItemMappingStatus.Name = "labelItemMappingStatus"; |
|
376 |
this.labelItemMappingStatus.Size = new System.Drawing.Size(187, 18); |
|
377 |
this.labelItemMappingStatus.Text = "MappingStatus"; |
|
378 |
this.labelItemMappingStatus.TextSize = new System.Drawing.Size(93, 14); |
|
379 |
// |
|
380 |
// emptySpaceItem1 |
|
381 |
// |
|
382 |
this.emptySpaceItem1.AllowHotTrack = false; |
|
383 |
this.emptySpaceItem1.Location = new System.Drawing.Point(747, 368); |
|
384 |
this.emptySpaceItem1.Name = "emptySpaceItem1"; |
|
385 |
this.emptySpaceItem1.Size = new System.Drawing.Size(274, 127); |
|
386 |
this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0); |
|
387 |
// |
|
388 |
// simpleLabelItem1 |
|
389 |
// |
|
390 |
this.simpleLabelItem1.AllowHotTrack = false; |
|
391 |
this.simpleLabelItem1.Location = new System.Drawing.Point(0, 40); |
|
392 |
this.simpleLabelItem1.Name = "simpleLabelItem1"; |
|
393 |
this.simpleLabelItem1.Size = new System.Drawing.Size(97, 18); |
|
394 |
this.simpleLabelItem1.Text = "Plant Name : "; |
|
395 |
this.simpleLabelItem1.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; |
|
396 |
this.simpleLabelItem1.TextSize = new System.Drawing.Size(74, 14); |
|
397 |
// |
|
398 |
// simpleLabelItem2 |
|
399 |
// |
|
400 |
this.simpleLabelItem2.AllowHotTrack = false; |
|
401 |
this.simpleLabelItem2.Location = new System.Drawing.Point(0, 58); |
|
402 |
this.simpleLabelItem2.Name = "simpleLabelItem2"; |
|
403 |
this.simpleLabelItem2.Size = new System.Drawing.Size(63, 18); |
|
404 |
this.simpleLabelItem2.Text = "Status : "; |
|
405 |
this.simpleLabelItem2.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; |
|
406 |
this.simpleLabelItem2.TextSize = new System.Drawing.Size(47, 14); |
|
407 |
// |
|
408 |
// simpleLabelItem3 |
|
409 |
// |
|
410 |
this.simpleLabelItem3.AllowHotTrack = false; |
|
411 |
this.simpleLabelItem3.Location = new System.Drawing.Point(0, 24); |
|
412 |
this.simpleLabelItem3.Name = "simpleLabelItem3"; |
|
413 |
this.simpleLabelItem3.Size = new System.Drawing.Size(106, 18); |
|
414 |
this.simpleLabelItem3.Text = "Project Name : "; |
|
415 |
this.simpleLabelItem3.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; |
|
416 |
this.simpleLabelItem3.TextSize = new System.Drawing.Size(86, 14); |
|
417 |
// |
|
418 |
// simpleLabelItem4 |
|
419 |
// |
|
420 |
this.simpleLabelItem4.AllowHotTrack = false; |
|
421 |
this.simpleLabelItem4.Location = new System.Drawing.Point(0, 42); |
|
422 |
this.simpleLabelItem4.Name = "simpleLabelItem4"; |
|
423 |
this.simpleLabelItem4.Size = new System.Drawing.Size(63, 18); |
|
424 |
this.simpleLabelItem4.Text = "Status : "; |
|
425 |
this.simpleLabelItem4.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; |
|
426 |
this.simpleLabelItem4.TextSize = new System.Drawing.Size(47, 14); |
|
427 |
// |
|
428 |
// simpleLabelItem5 |
|
429 |
// |
|
430 |
this.simpleLabelItem5.AllowHotTrack = false; |
|
431 |
this.simpleLabelItem5.Location = new System.Drawing.Point(0, 40); |
|
432 |
this.simpleLabelItem5.Name = "simpleLabelItem5"; |
|
433 |
this.simpleLabelItem5.Size = new System.Drawing.Size(63, 18); |
|
434 |
this.simpleLabelItem5.Text = "Status : "; |
|
435 |
this.simpleLabelItem5.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; |
|
436 |
this.simpleLabelItem5.TextSize = new System.Drawing.Size(47, 14); |
|
437 |
// |
|
438 |
// ConverterForm |
|
439 |
// |
|
440 |
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F); |
|
441 |
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
|
442 |
this.ClientSize = new System.Drawing.Size(1041, 547); |
|
443 |
this.Controls.Add(this.layoutControl1); |
|
444 |
this.Controls.Add(this.ribbonControl); |
|
445 |
this.Name = "ConverterForm"; |
|
446 |
this.Ribbon = this.ribbonControl; |
|
447 |
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; |
|
448 |
this.Text = "ConverterForm"; |
|
449 |
((System.ComponentModel.ISupportInitialize)(this.ribbonControl)).EndInit(); |
|
450 |
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); |
|
451 |
this.layoutControl1.ResumeLayout(false); |
|
452 |
((System.ComponentModel.ISupportInitialize)(this.gridControlAutoConverter)).EndInit(); |
|
453 |
((System.ComponentModel.ISupportInitialize)(this.gridViewAutoConverter)).EndInit(); |
|
454 |
((System.ComponentModel.ISupportInitialize)(this.buttonEdit1.Properties)).EndInit(); |
|
455 |
((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit(); |
|
456 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroupAutoConverter)).EndInit(); |
|
457 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); |
|
458 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); |
|
459 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).EndInit(); |
|
460 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit(); |
|
461 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroupSPPIDDB)).EndInit(); |
|
462 |
((System.ComponentModel.ISupportInitialize)(this.labelSPPIDPlantName)).EndInit(); |
|
463 |
((System.ComponentModel.ISupportInitialize)(this.labelSPPIDDBStatus)).EndInit(); |
|
464 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); |
|
465 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroupID2Project)).EndInit(); |
|
466 |
((System.ComponentModel.ISupportInitialize)(this.labelID2ProjectName)).EndInit(); |
|
467 |
((System.ComponentModel.ISupportInitialize)(this.labelID2ProjectStatus)).EndInit(); |
|
468 |
((System.ComponentModel.ISupportInitialize)(this.btnID2Project)).EndInit(); |
|
469 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroupItemMapping)).EndInit(); |
|
470 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); |
|
471 |
((System.ComponentModel.ISupportInitialize)(this.labelItemMappingStatus)).EndInit(); |
|
472 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit(); |
|
473 |
((System.ComponentModel.ISupportInitialize)(this.simpleLabelItem1)).EndInit(); |
|
474 |
((System.ComponentModel.ISupportInitialize)(this.simpleLabelItem2)).EndInit(); |
|
475 |
((System.ComponentModel.ISupportInitialize)(this.simpleLabelItem3)).EndInit(); |
|
476 |
((System.ComponentModel.ISupportInitialize)(this.simpleLabelItem4)).EndInit(); |
|
477 |
((System.ComponentModel.ISupportInitialize)(this.simpleLabelItem5)).EndInit(); |
|
478 |
this.ResumeLayout(false); |
|
479 |
this.PerformLayout(); |
|
480 |
|
|
481 |
} |
|
482 |
|
|
483 |
#endregion |
|
484 |
private DevExpress.LookAndFeel.DefaultLookAndFeel defaultLookAndFeel; |
|
485 |
private DevExpress.XtraBars.Ribbon.RibbonControl ribbonControl; |
|
486 |
private DevExpress.XtraLayout.LayoutControl layoutControl1; |
|
487 |
private DevExpress.XtraEditors.SimpleButton btnSPPIDDB; |
|
488 |
private DevExpress.XtraGrid.GridControl gridControlAutoConverter; |
|
489 |
private DevExpress.XtraGrid.Views.Grid.GridView gridViewAutoConverter; |
|
490 |
private DevExpress.XtraLayout.LayoutControlGroup Root; |
|
491 |
private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroupAutoConverter; |
|
492 |
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; |
|
493 |
private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroupSPPIDDB; |
|
494 |
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; |
|
495 |
private DevExpress.XtraEditors.SimpleButton btnItemMapping; |
|
496 |
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; |
|
497 |
private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroupID2Project; |
|
498 |
private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroupItemMapping; |
|
499 |
private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1; |
|
500 |
private DevExpress.XtraEditors.SimpleButton btnRun; |
|
501 |
private DevExpress.XtraEditors.SimpleButton btnLoadFile; |
|
502 |
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5; |
|
503 |
private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem2; |
|
504 |
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6; |
|
505 |
private DevExpress.XtraLayout.SimpleLabelItem labelSPPIDPlantName; |
|
506 |
private DevExpress.XtraLayout.SimpleLabelItem labelSPPIDDBStatus; |
|
507 |
private DevExpress.XtraLayout.SimpleLabelItem labelID2ProjectName; |
|
508 |
private DevExpress.XtraLayout.SimpleLabelItem labelID2ProjectStatus; |
|
509 |
private DevExpress.XtraLayout.SimpleLabelItem labelItemMappingStatus; |
|
510 |
private DevExpress.XtraEditors.ButtonEdit buttonEdit1; |
|
511 |
private DevExpress.XtraLayout.LayoutControlItem btnID2Project; |
|
512 |
private DevExpress.XtraLayout.SimpleLabelItem simpleLabelItem1; |
|
513 |
private DevExpress.XtraLayout.SimpleLabelItem simpleLabelItem2; |
|
514 |
private DevExpress.XtraLayout.SimpleLabelItem simpleLabelItem3; |
|
515 |
private DevExpress.XtraLayout.SimpleLabelItem simpleLabelItem4; |
|
516 |
private DevExpress.XtraLayout.SimpleLabelItem simpleLabelItem5; |
|
517 |
} |
|
518 |
} |
DTI_PID/SPPIDConverter_AutoModeling/ConverterForm.cs | ||
---|---|---|
1 |
using System; |
|
2 |
using System.Collections.Generic; |
|
3 |
using System.ComponentModel; |
|
4 |
using System.Data; |
|
5 |
using System.Drawing; |
|
6 |
using System.Linq; |
|
7 |
using System.Text; |
|
8 |
using System.Threading.Tasks; |
|
9 |
using System.Windows.Forms; |
|
10 |
using Microsoft.VisualBasic; |
|
11 |
|
|
12 |
namespace Converter.SPPID.AutoModeling |
|
13 |
{ |
|
14 |
public partial class ConverterForm : DevExpress.XtraBars.Ribbon.RibbonForm |
|
15 |
{ |
|
16 |
public ConverterForm() |
|
17 |
{ |
|
18 |
InitializeComponent(); |
|
19 |
} |
|
20 |
} |
|
21 |
} |
DTI_PID/SPPIDConverter_AutoModeling/ConverterForm.resx | ||
---|---|---|
1 |
<?xml version="1.0" encoding="utf-8"?> |
|
2 |
<root> |
|
3 |
<!-- |
|
4 |
Microsoft ResX Schema |
|
5 |
|
|
6 |
Version 2.0 |
|
7 |
|
|
8 |
The primary goals of this format is to allow a simple XML format |
|
9 |
that is mostly human readable. The generation and parsing of the |
|
10 |
various data types are done through the TypeConverter classes |
|
11 |
associated with the data types. |
|
12 |
|
|
13 |
Example: |
|
14 |
|
|
15 |
... ado.net/XML headers & schema ... |
|
16 |
<resheader name="resmimetype">text/microsoft-resx</resheader> |
|
17 |
<resheader name="version">2.0</resheader> |
|
18 |
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> |
|
19 |
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> |
|
20 |
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> |
|
21 |
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> |
|
22 |
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> |
|
23 |
<value>[base64 mime encoded serialized .NET Framework object]</value> |
|
24 |
</data> |
|
25 |
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
|
26 |
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> |
|
27 |
<comment>This is a comment</comment> |
|
28 |
</data> |
|
29 |
|
|
30 |
There are any number of "resheader" rows that contain simple |
|
31 |
name/value pairs. |
|
32 |
|
|
33 |
Each data row contains a name, and value. The row also contains a |
|
34 |
type or mimetype. Type corresponds to a .NET class that support |
|
35 |
text/value conversion through the TypeConverter architecture. |
|
36 |
Classes that don't support this are serialized and stored with the |
|
37 |
mimetype set. |
|
38 |
|
|
39 |
The mimetype is used for serialized objects, and tells the |
|
40 |
ResXResourceReader how to depersist the object. This is currently not |
|
41 |
extensible. For a given mimetype the value must be set accordingly: |
|
42 |
|
|
43 |
Note - application/x-microsoft.net.object.binary.base64 is the format |
|
44 |
that the ResXResourceWriter will generate, however the reader can |
|
45 |
read any of the formats listed below. |
|
46 |
|
|
47 |
mimetype: application/x-microsoft.net.object.binary.base64 |
|
48 |
value : The object must be serialized with |
|
49 |
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter |
|
50 |
: and then encoded with base64 encoding. |
|
51 |
|
|
52 |
mimetype: application/x-microsoft.net.object.soap.base64 |
|
53 |
value : The object must be serialized with |
|
54 |
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter |
|
55 |
: and then encoded with base64 encoding. |
|
56 |
|
|
57 |
mimetype: application/x-microsoft.net.object.bytearray.base64 |
|
58 |
value : The object must be serialized into a byte array |
|
59 |
: using a System.ComponentModel.TypeConverter |
|
60 |
: and then encoded with base64 encoding. |
|
61 |
--> |
|
62 |
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> |
|
63 |
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> |
|
64 |
<xsd:element name="root" msdata:IsDataSet="true"> |
|
65 |
<xsd:complexType> |
|
66 |
<xsd:choice maxOccurs="unbounded"> |
|
67 |
<xsd:element name="metadata"> |
|
68 |
<xsd:complexType> |
|
69 |
<xsd:sequence> |
|
70 |
<xsd:element name="value" type="xsd:string" minOccurs="0" /> |
|
71 |
</xsd:sequence> |
|
72 |
<xsd:attribute name="name" use="required" type="xsd:string" /> |
|
73 |
<xsd:attribute name="type" type="xsd:string" /> |
|
74 |
<xsd:attribute name="mimetype" type="xsd:string" /> |
|
75 |
<xsd:attribute ref="xml:space" /> |
|
76 |
</xsd:complexType> |
|
77 |
</xsd:element> |
|
78 |
<xsd:element name="assembly"> |
|
79 |
<xsd:complexType> |
|
80 |
<xsd:attribute name="alias" type="xsd:string" /> |
|
81 |
<xsd:attribute name="name" type="xsd:string" /> |
|
82 |
</xsd:complexType> |
|
83 |
</xsd:element> |
|
84 |
<xsd:element name="data"> |
|
85 |
<xsd:complexType> |
|
86 |
<xsd:sequence> |
|
87 |
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
|
88 |
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> |
|
89 |
</xsd:sequence> |
|
90 |
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> |
|
91 |
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> |
|
92 |
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> |
|
93 |
<xsd:attribute ref="xml:space" /> |
|
94 |
</xsd:complexType> |
|
95 |
</xsd:element> |
|
96 |
<xsd:element name="resheader"> |
|
97 |
<xsd:complexType> |
|
98 |
<xsd:sequence> |
|
99 |
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
|
100 |
</xsd:sequence> |
|
101 |
<xsd:attribute name="name" type="xsd:string" use="required" /> |
|
102 |
</xsd:complexType> |
|
103 |
</xsd:element> |
|
104 |
</xsd:choice> |
|
105 |
</xsd:complexType> |
|
106 |
</xsd:element> |
|
107 |
</xsd:schema> |
|
108 |
<resheader name="resmimetype"> |
|
109 |
<value>text/microsoft-resx</value> |
|
110 |
</resheader> |
|
111 |
<resheader name="version"> |
|
112 |
<value>2.0</value> |
|
113 |
</resheader> |
|
114 |
<resheader name="reader"> |
|
115 |
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
|
116 |
</resheader> |
|
117 |
<resheader name="writer"> |
|
118 |
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
|
119 |
</resheader> |
|
120 |
<metadata name="defaultLookAndFeel.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
|
121 |
<value>17, 17</value> |
|
122 |
</metadata> |
|
123 |
</root> |
DTI_PID/SPPIDConverter_AutoModeling/MainWrapper.Designer.cs | ||
---|---|---|
1 |
namespace Converter.SPPID.AutoModeling |
|
2 |
{ |
|
3 |
partial class MainWrapper |
|
4 |
{ |
|
5 |
/// <summary> |
|
6 |
/// 필수 디자이너 변수입니다. |
|
7 |
/// </summary> |
|
8 |
private System.ComponentModel.IContainer components = null; |
|
9 |
|
|
10 |
/// <summary> |
|
11 |
/// 사용 중인 모든 리소스를 정리합니다. |
|
12 |
/// </summary> |
|
13 |
/// <param name="disposing">관리되는 리소스를 삭제해야 하면 true이고, 그렇지 않으면 false입니다.</param> |
|
14 |
protected override void Dispose(bool disposing) |
|
15 |
{ |
|
16 |
if (disposing && (components != null)) |
|
17 |
{ |
|
18 |
components.Dispose(); |
|
19 |
} |
|
20 |
base.Dispose(disposing); |
|
21 |
} |
|
22 |
|
|
23 |
#region 구성 요소 디자이너에서 생성한 코드 |
|
24 |
|
|
25 |
/// <summary> |
|
26 |
/// 디자이너 지원에 필요한 메서드입니다. |
|
27 |
/// 이 메서드의 내용을 코드 편집기로 수정하지 마세요. |
|
28 |
/// </summary> |
|
29 |
private void InitializeComponent() |
|
30 |
{ |
|
31 |
components = new System.ComponentModel.Container(); |
|
32 |
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
|
33 |
} |
|
34 |
|
|
35 |
#endregion |
|
36 |
} |
|
37 |
} |
DTI_PID/SPPIDConverter_AutoModeling/MainWrapper.cs | ||
---|---|---|
1 |
using System; |
|
2 |
using System.Collections.Generic; |
|
3 |
using System.ComponentModel; |
|
4 |
using System.Drawing; |
|
5 |
using System.Data; |
|
6 |
using System.Linq; |
|
7 |
using System.Text; |
|
8 |
using System.Threading.Tasks; |
|
9 |
using System.Windows.Forms; |
|
10 |
|
|
11 |
namespace Converter.SPPID.AutoModeling |
|
12 |
{ |
|
13 |
public partial class MainWrapper : UserControl |
|
14 |
{ |
|
15 |
public MainWrapper() |
|
16 |
{ |
|
17 |
InitializeComponent(); |
|
18 |
} |
|
19 |
|
|
20 |
public void ShowDialog() |
|
21 |
{ |
|
22 |
ConverterForm form = new ConverterForm(); |
|
23 |
if (form.ShowDialog() == DialogResult.OK) |
|
24 |
{ |
|
25 |
//dynamic application = Interaction.GetObject("", "PIDAutomation.Application"); |
|
26 |
//dynamic newDrawing = application.Drawings.Add(sUnit, sTemplate, sDrawingNumber, sDrawingName); |
|
27 |
} |
|
28 |
} |
|
29 |
} |
|
30 |
} |
DTI_PID/SPPIDConverter_AutoModeling/Properties/Resources.Designer.cs | ||
---|---|---|
1 |
//------------------------------------------------------------------------------ |
|
2 |
// <auto-generated> |
|
3 |
// 이 코드는 도구를 사용하여 생성되었습니다. |
|
4 |
// 런타임 버전:4.0.30319.42000 |
|
5 |
// |
|
6 |
// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 |
|
7 |
// 이러한 변경 내용이 손실됩니다. |
|
8 |
// </auto-generated> |
|
9 |
//------------------------------------------------------------------------------ |
|
10 |
|
|
11 |
namespace Converter.SPPID.AutoModeling.Properties { |
|
12 |
using System; |
|
13 |
|
|
14 |
|
|
15 |
/// <summary> |
|
16 |
/// 지역화된 문자열 등을 찾기 위한 강력한 형식의 리소스 클래스입니다. |
|
17 |
/// </summary> |
|
18 |
// 이 클래스는 ResGen 또는 Visual Studio와 같은 도구를 통해 StronglyTypedResourceBuilder |
|
19 |
// 클래스에서 자동으로 생성되었습니다. |
|
20 |
// 멤버를 추가하거나 제거하려면 .ResX 파일을 편집한 다음 /str 옵션을 사용하여 ResGen을 |
|
21 |
// 다시 실행하거나 VS 프로젝트를 다시 빌드하십시오. |
|
22 |
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")] |
|
23 |
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
|
24 |
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] |
|
25 |
internal class Resources { |
|
26 |
|
|
27 |
private static global::System.Resources.ResourceManager resourceMan; |
|
28 |
|
|
29 |
private static global::System.Globalization.CultureInfo resourceCulture; |
|
30 |
|
|
31 |
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] |
|
32 |
internal Resources() { |
|
33 |
} |
|
34 |
|
|
35 |
/// <summary> |
|
36 |
/// 이 클래스에서 사용하는 캐시된 ResourceManager 인스턴스를 반환합니다. |
|
37 |
/// </summary> |
|
38 |
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] |
|
39 |
internal static global::System.Resources.ResourceManager ResourceManager { |
|
40 |
get { |
|
41 |
if (object.ReferenceEquals(resourceMan, null)) { |
|
42 |
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Converter.SPPID.AutoModeling.Properties.Resources", typeof(Resources).Assembly); |
|
43 |
resourceMan = temp; |
|
44 |
} |
|
45 |
return resourceMan; |
|
46 |
} |
|
47 |
} |
|
48 |
|
|
49 |
/// <summary> |
|
50 |
/// 이 강력한 형식의 리소스 클래스를 사용하여 모든 리소스 조회에 대해 현재 스레드의 CurrentUICulture 속성을 |
|
51 |
/// 재정의합니다. |
|
52 |
/// </summary> |
|
53 |
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] |
|
54 |
internal static global::System.Globalization.CultureInfo Culture { |
|
55 |
get { |
|
56 |
return resourceCulture; |
|
57 |
} |
|
58 |
set { |
|
59 |
resourceCulture = value; |
|
60 |
} |
|
61 |
} |
|
62 |
|
|
63 |
/// <summary> |
|
64 |
/// DevExpress.Utils.Svg.SvgImage 형식의 지역화된 리소스를 찾습니다. |
|
65 |
/// </summary> |
|
66 |
internal static DevExpress.Utils.Svg.SvgImage actions_database { |
|
67 |
get { |
|
68 |
object obj = ResourceManager.GetObject("actions_database", resourceCulture); |
|
69 |
return ((DevExpress.Utils.Svg.SvgImage)(obj)); |
|
70 |
} |
|
71 |
} |
|
72 |
|
|
73 |
/// <summary> |
|
74 |
/// DevExpress.Utils.Svg.SvgImage 형식의 지역화된 리소스를 찾습니다. |
|
75 |
/// </summary> |
|
76 |
internal static DevExpress.Utils.Svg.SvgImage actions_image { |
|
77 |
get { |
|
78 |
object obj = ResourceManager.GetObject("actions_image", resourceCulture); |
|
79 |
return ((DevExpress.Utils.Svg.SvgImage)(obj)); |
|
80 |
} |
|
81 |
} |
|
82 |
|
|
83 |
/// <summary> |
|
84 |
/// DevExpress.Utils.Svg.SvgImage 형식의 지역화된 리소스를 찾습니다. |
|
85 |
/// </summary> |
|
86 |
internal static DevExpress.Utils.Svg.SvgImage arrangegroups { |
|
87 |
get { |
|
88 |
object obj = ResourceManager.GetObject("arrangegroups", resourceCulture); |
|
89 |
return ((DevExpress.Utils.Svg.SvgImage)(obj)); |
|
90 |
} |
|
91 |
} |
|
92 |
|
|
93 |
/// <summary> |
|
94 |
/// DevExpress.Utils.Svg.SvgImage 형식의 지역화된 리소스를 찾습니다. |
|
95 |
/// </summary> |
|
96 |
internal static DevExpress.Utils.Svg.SvgImage convertto { |
|
97 |
get { |
|
98 |
object obj = ResourceManager.GetObject("convertto", resourceCulture); |
|
99 |
return ((DevExpress.Utils.Svg.SvgImage)(obj)); |
|
100 |
} |
|
101 |
} |
|
102 |
|
|
103 |
/// <summary> |
|
104 |
/// DevExpress.Utils.Svg.SvgImage 형식의 지역화된 리소스를 찾습니다. |
|
105 |
/// </summary> |
|
106 |
internal static DevExpress.Utils.Svg.SvgImage next { |
|
107 |
get { |
|
108 |
object obj = ResourceManager.GetObject("next", resourceCulture); |
|
109 |
return ((DevExpress.Utils.Svg.SvgImage)(obj)); |
|
110 |
} |
|
111 |
} |
|
112 |
|
|
113 |
/// <summary> |
|
114 |
/// DevExpress.Utils.Svg.SvgImage 형식의 지역화된 리소스를 찾습니다. |
|
115 |
/// </summary> |
|
116 |
internal static DevExpress.Utils.Svg.SvgImage open2 { |
|
117 |
get { |
|
118 |
object obj = ResourceManager.GetObject("open2", resourceCulture); |
|
119 |
return ((DevExpress.Utils.Svg.SvgImage)(obj)); |
|
120 |
} |
|
121 |
} |
|
122 |
|
|
123 |
/// <summary> |
|
124 |
/// DevExpress.Utils.Svg.SvgImage 형식의 지역화된 리소스를 찾습니다. |
|
125 |
/// </summary> |
|
126 |
internal static DevExpress.Utils.Svg.SvgImage properties { |
|
127 |
get { |
|
128 |
object obj = ResourceManager.GetObject("properties", resourceCulture); |
|
129 |
return ((DevExpress.Utils.Svg.SvgImage)(obj)); |
|
130 |
} |
|
131 |
} |
|
132 |
} |
|
133 |
} |
DTI_PID/SPPIDConverter_AutoModeling/Properties/Resources.resx | ||
---|---|---|
1 |
<?xml version="1.0" encoding="utf-8"?> |
|
2 |
<root> |
|
3 |
<!-- |
|
4 |
Microsoft ResX Schema |
|
5 |
|
|
6 |
Version 2.0 |
|
7 |
|
|
8 |
The primary goals of this format is to allow a simple XML format |
|
9 |
that is mostly human readable. The generation and parsing of the |
|
10 |
various data types are done through the TypeConverter classes |
|
11 |
associated with the data types. |
|
12 |
|
|
13 |
Example: |
|
14 |
|
|
15 |
... ado.net/XML headers & schema ... |
|
16 |
<resheader name="resmimetype">text/microsoft-resx</resheader> |
|
17 |
<resheader name="version">2.0</resheader> |
|
18 |
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> |
|
19 |
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> |
|
20 |
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> |
|
21 |
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> |
|
22 |
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> |
|
23 |
<value>[base64 mime encoded serialized .NET Framework object]</value> |
|
24 |
</data> |
|
25 |
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
|
26 |
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> |
|
27 |
<comment>This is a comment</comment> |
|
28 |
</data> |
|
29 |
|
|
30 |
There are any number of "resheader" rows that contain simple |
|
31 |
name/value pairs. |
|
32 |
|
|
33 |
Each data row contains a name, and value. The row also contains a |
|
34 |
type or mimetype. Type corresponds to a .NET class that support |
|
35 |
text/value conversion through the TypeConverter architecture. |
|
36 |
Classes that don't support this are serialized and stored with the |
|
37 |
mimetype set. |
|
38 |
|
|
39 |
The mimetype is used for serialized objects, and tells the |
|
40 |
ResXResourceReader how to depersist the object. This is currently not |
|
41 |
extensible. For a given mimetype the value must be set accordingly: |
|
42 |
|
|
43 |
Note - application/x-microsoft.net.object.binary.base64 is the format |
|
44 |
that the ResXResourceWriter will generate, however the reader can |
|
45 |
read any of the formats listed below. |
|
46 |
|
|
47 |
mimetype: application/x-microsoft.net.object.binary.base64 |
|
48 |
value : The object must be serialized with |
|
49 |
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter |
|
50 |
: and then encoded with base64 encoding. |
|
51 |
|
|
52 |
mimetype: application/x-microsoft.net.object.soap.base64 |
|
53 |
value : The object must be serialized with |
|
54 |
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter |
|
55 |
: and then encoded with base64 encoding. |
|
56 |
|
|
57 |
mimetype: application/x-microsoft.net.object.bytearray.base64 |
|
58 |
value : The object must be serialized into a byte array |
|
59 |
: using a System.ComponentModel.TypeConverter |
|
60 |
: and then encoded with base64 encoding. |
|
61 |
--> |
|
62 |
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> |
|
63 |
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> |
|
64 |
<xsd:element name="root" msdata:IsDataSet="true"> |
|
65 |
<xsd:complexType> |
|
66 |
<xsd:choice maxOccurs="unbounded"> |
|
67 |
<xsd:element name="metadata"> |
|
68 |
<xsd:complexType> |
|
69 |
<xsd:sequence> |
|
70 |
<xsd:element name="value" type="xsd:string" minOccurs="0" /> |
|
71 |
</xsd:sequence> |
|
72 |
<xsd:attribute name="name" use="required" type="xsd:string" /> |
|
73 |
<xsd:attribute name="type" type="xsd:string" /> |
|
74 |
<xsd:attribute name="mimetype" type="xsd:string" /> |
|
75 |
<xsd:attribute ref="xml:space" /> |
|
76 |
</xsd:complexType> |
|
77 |
</xsd:element> |
|
78 |
<xsd:element name="assembly"> |
|
79 |
<xsd:complexType> |
|
80 |
<xsd:attribute name="alias" type="xsd:string" /> |
|
81 |
<xsd:attribute name="name" type="xsd:string" /> |
|
82 |
</xsd:complexType> |
|
83 |
</xsd:element> |
|
84 |
<xsd:element name="data"> |
|
85 |
<xsd:complexType> |
|
86 |
<xsd:sequence> |
|
87 |
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
|
88 |
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> |
|
89 |
</xsd:sequence> |
|
90 |
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> |
|
91 |
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> |
|
92 |
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> |
|
93 |
<xsd:attribute ref="xml:space" /> |
|
94 |
</xsd:complexType> |
|
95 |
</xsd:element> |
|
96 |
<xsd:element name="resheader"> |
|
97 |
<xsd:complexType> |
|
98 |
<xsd:sequence> |
|
99 |
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
|
100 |
</xsd:sequence> |
|
101 |
<xsd:attribute name="name" type="xsd:string" use="required" /> |
|
102 |
</xsd:complexType> |
|
103 |
</xsd:element> |
|
104 |
</xsd:choice> |
|
105 |
</xsd:complexType> |
|
106 |
</xsd:element> |
|
107 |
</xsd:schema> |
|
108 |
<resheader name="resmimetype"> |
|
109 |
<value>text/microsoft-resx</value> |
|
110 |
</resheader> |
|
111 |
<resheader name="version"> |
|
112 |
<value>2.0</value> |
|
113 |
</resheader> |
|
114 |
<resheader name="reader"> |
|
115 |
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
|
116 |
</resheader> |
|
117 |
<resheader name="writer"> |
|
118 |
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
|
119 |
</resheader> |
|
120 |
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
|
121 |
<data name="actions_database" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
|
122 |
<value>..\Resources\actions_database.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v18.2, Version=18.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value> |
|
123 |
</data> |
|
124 |
<data name="convertto" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
|
125 |
<value>..\Resources\convertto.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v18.2, Version=18.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value> |
|
126 |
</data> |
|
127 |
<data name="next" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
|
128 |
<value>..\Resources\next.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v18.2, Version=18.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value> |
|
129 |
</data> |
|
130 |
<data name="actions_image" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
|
131 |
<value>..\Resources\actions_image.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v18.2, Version=18.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value> |
|
132 |
</data> |
|
133 |
<data name="open2" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
|
134 |
<value>..\Resources\open2.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v18.2, Version=18.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value> |
|
135 |
</data> |
|
136 |
<data name="arrangegroups" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
|
137 |
<value>..\Resources\arrangegroups.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v18.2, Version=18.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value> |
|
138 |
</data> |
|
139 |
<data name="properties" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
|
140 |
<value>..\Resources\properties.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v18.2, Version=18.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value> |
|
141 |
</data> |
|
142 |
</root> |
DTI_PID/SPPIDConverter_AutoModeling/Properties/licenses.licx | ||
---|---|---|
1 |
DevExpress.XtraEditors.PictureEdit, DevExpress.XtraEditors.v18.2, Version=18.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a |
|
2 |
DevExpress.XtraEditors.ButtonEdit, DevExpress.XtraEditors.v18.2, Version=18.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a |
|
3 |
DevExpress.XtraBars.Ribbon.RibbonControl, DevExpress.XtraBars.v18.2, Version=18.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a |
|
4 |
DevExpress.XtraGrid.GridControl, DevExpress.XtraGrid.v18.2, Version=18.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a |
|
5 |
DevExpress.XtraLayout.LayoutControl, DevExpress.XtraLayout.v18.2, Version=18.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a |
DTI_PID/SPPIDConverter_AutoModeling/Resources/actions_database.svg | ||
---|---|---|
1 |
<?xml version='1.0' encoding='UTF-8'?> |
|
2 |
<svg x="0px" y="0px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 32 32" xml:space="preserve" id="Layer_1"> |
|
3 |
<g id="Database"> |
|
4 |
<path d="M16,24c-5.5,0-10-1.8-10-4v4c0,2.2,4.5,4,10,4s10-1.8,10-4v-4C26,22.2,21.5,24,16,24z" fill="#FFB115" class="Yellow" /> |
|
5 |
<path d="M16,18c-5.5,0-10-1.8-10-4v4c0,2.2,4.5,4,10,4s10-1.8,10-4v-4C26,16.2,21.5,18,16,18z" fill="#FFB115" class="Yellow" /> |
|
6 |
<path d="M16,4C10.5,4,6,5.8,6,8v4c0,2.2,4.5,4,10,4s10-1.8,10-4V8C26,5.8,21.5,4,16,4z" fill="#FFB115" class="Yellow" /> |
|
7 |
</g> |
|
8 |
</svg> |
DTI_PID/SPPIDConverter_AutoModeling/Resources/actions_image.svg | ||
---|---|---|
1 |
<?xml version='1.0' encoding='UTF-8'?> |
|
2 |
<svg x="0px" y="0px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 32 32" xml:space="preserve" id="Layer_1"> |
|
3 |
<g id="Image"> |
|
4 |
<path d="M29,4H3C2.5,4,2,4.5,2,5v22c0,0.5,0.5,1,1,1h26c0.5,0,1-0.5,1-1V5C30,4.5,29.5,4,29,4z M28,26H4V6h24V26z" fill="#727272" class="Black" /> |
|
5 |
<circle cx="21" cy="11" r="3" fill="#FFB115" class="Yellow" /> |
|
6 |
<polygon points="20,24 10,14 6,18 6,24 " fill="#039C23" class="Green" /> |
|
7 |
<g opacity="0.5" class="st1"> |
|
8 |
<polygon points="22,24 18,20 20,18 26,24 " fill="#039C23" opacity="0.5" class="Green" /> |
|
9 |
</g> |
|
10 |
</g> |
|
11 |
</svg> |
DTI_PID/SPPIDConverter_AutoModeling/Resources/arrangegroups.svg | ||
---|---|---|
1 |
<?xml version='1.0' encoding='UTF-8'?> |
|
2 |
<svg x="0px" y="0px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 32 32" xml:space="preserve" id="Layer_1"> |
|
3 |
<g id="GroupFieldCollection_1_"> |
|
4 |
<path d="M17,14H1c-0.6,0-1-0.4-1-1V5c0-0.6,0.4-1,1-1h16c0.5,0,1,0.4,1,1v8C18,13.6,17.5,14,17,14z M32,25v-8 c0-0.5-0.5-1-1-1H15c-0.6,0-1,0.5-1,1v8c0,0.5,0.4,1,1,1h16C31.5,26,32,25.5,32,25z" fill="#1177D7" class="Blue" /> |
|
5 |
<path d="M8,20v4h4v2H7c-0.6,0-1-0.4-1-1v-5H2l5-5l5,5H8z M26,10V5c0-0.6-0.4-1-1-1h-5v2h4v4h-4l5,5l5-5H26z" fill="#039C23" class="Green" /> |
|
6 |
</g> |
|
7 |
</svg> |
DTI_PID/SPPIDConverter_AutoModeling/Resources/convertto.svg | ||
---|---|---|
1 |
<?xml version='1.0' encoding='UTF-8'?> |
|
2 |
<svg x="0px" y="0px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 32 32" xml:space="preserve" id="Layer_1"> |
|
3 |
<g /> |
|
4 |
<g id="ConvertTo"> |
|
5 |
<path d="M22,6l-6-6v4C9.4,4,4,9.4,4,16c0,3.6,1.6,6.8,4.1,9l2.8-2.8c-1.8-1.5-3-3.7-3-6.2c0-4.4,3.6-8,8-8v4L22,6z" fill="#039C23" class="Green" /> |
|
6 |
<path d="M23.9,7L21,9.8c1.8,1.5,3,3.7,3,6.2c0,4.4-3.6,8-8,8v-4l-6,6l6,6v-4c6.6,0,12-5.4,12-12 C28,12.4,26.4,9.2,23.9,7z" fill="#1177D7" class="Blue" /> |
|
7 |
</g> |
|
8 |
</svg> |
DTI_PID/SPPIDConverter_AutoModeling/Resources/next.svg | ||
---|---|---|
1 |
<?xml version='1.0' encoding='UTF-8'?> |
|
2 |
<svg x="0px" y="0px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 32 32" xml:space="preserve" id="Next"> |
|
3 |
<path d="M8.9,4.1C8.4,3.8,8,4.1,8,4.6v20.7c0,0.6,0.4,0.8,0.9,0.5l16.8-10.3c0.5-0.3,0.5-0.8,0-1.1L8.9,4.1z" fill="#1177D7" class="Blue" /> |
|
4 |
</svg> |
DTI_PID/SPPIDConverter_AutoModeling/Resources/open2.svg | ||
---|---|---|
1 |
<?xml version='1.0' encoding='UTF-8'?> |
|
2 |
<svg x="0px" y="0px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 32 32" xml:space="preserve" id="Open2"> |
|
3 |
<g opacity="0.75" class="st0"> |
|
4 |
<path d="M19.2,10H12V7c0-0.6-0.4-1-1-1H3C2.4,6,2,6.5,2,7v18c0,0.2,0,0.3,0.1,0.4c0,0,0.1-0.1,0.1-0.2l5.5-10 C8,14.5,8.7,14,9.5,14h13.7L19.2,10z" fill="#FFB115" opacity="0.75" class="Yellow" /> |
|
5 |
</g> |
|
6 |
<path d="M29.3,16H9.6L4,26h19.8c0.5,0,1.1-0.2,1.3-0.6l4.9-8.9C30.1,16.2,29.8,16,29.3,16z" fill="#FFB115" class="Yellow" /> |
|
7 |
<path d="M28,8c0-3.3-2.7-6-6-6s-6,2.7-6,6c0-2.2,1.8-4,4-4s4,1.8,4,4h-4l6,6l6-6H28z" fill="#039C23" class="Green" /> |
|
8 |
</svg> |
DTI_PID/SPPIDConverter_AutoModeling/Resources/properties.svg | ||
---|---|---|
1 |
<?xml version='1.0' encoding='UTF-8'?> |
|
2 |
<svg x="0px" y="0px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 32 32" xml:space="preserve" id="Layer_1"> |
|
3 |
<g id="Properties"> |
|
4 |
<path d="M30,18v-4l-4.4-0.7c-0.2-0.8-0.5-1.5-0.9-2.1l2.6-3.6l-2.8-2.8l-3.6,2.6c-0.7-0.4-1.4-0.7-2.1-0.9L18,2h-4 l-0.7,4.4c-0.8,0.2-1.5,0.5-2.1,0.9L7.5,4.7L4.7,7.5l2.6,3.6c-0.4,0.7-0.7,1.4-0.9,2.1L2,14v4l4.4,0.7c0.2,0.8,0.5,1.5,0.9,2.1 l-2.6,3.6l2.8,2.8l3.6-2.6c0.7,0.4,1.4,0.7,2.1,0.9L14,30h4l0.7-4.4c0.8-0.2,1.5-0.5,2.1-0.9l3.6,2.6l2.8-2.8l-2.6-3.6 c0.4-0.7,0.7-1.4,0.9-2.1L30,18z M16,20c-2.2,0-4-1.8-4-4c0-2.2,1.8-4,4-4s4,1.8,4,4C20,18.2,18.2,20,16,20z" fill="#1177D7" class="Blue" /> |
|
5 |
</g> |
|
6 |
</svg> |
DTI_PID/SPPIDConverter_AutoModeling/SPPIDConverter_AutoModeling.csproj | ||
---|---|---|
18 | 18 |
<DebugSymbols>true</DebugSymbols> |
19 | 19 |
<DebugType>full</DebugType> |
20 | 20 |
<Optimize>false</Optimize> |
21 |
<OutputPath>bin\Debug\</OutputPath>
|
|
21 |
<OutputPath>..\SPPIDConverterDll\</OutputPath>
|
|
22 | 22 |
<DefineConstants>DEBUG;TRACE</DefineConstants> |
23 | 23 |
<ErrorReport>prompt</ErrorReport> |
24 | 24 |
<WarningLevel>4</WarningLevel> |
... | ... | |
32 | 32 |
<WarningLevel>4</WarningLevel> |
33 | 33 |
</PropertyGroup> |
34 | 34 |
<ItemGroup> |
35 |
<Reference Include="DevExpress.Data.v18.2, Version=18.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" /> |
|
36 |
<Reference Include="DevExpress.Printing.v18.2.Core, Version=18.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" /> |
|
37 |
<Reference Include="DevExpress.Utils.v18.2, Version=18.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" /> |
|
38 |
<Reference Include="DevExpress.XtraBars.v18.2, Version=18.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" /> |
|
39 |
<Reference Include="DevExpress.XtraEditors.v18.2, Version=18.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" /> |
|
40 |
<Reference Include="DevExpress.XtraGrid.v18.2, Version=18.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" /> |
|
41 |
<Reference Include="DevExpress.XtraLayout.v18.2, Version=18.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" /> |
|
42 |
<Reference Include="DevExpress.XtraPrinting.v18.2, Version=18.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" /> |
|
43 |
<Reference Include="Microsoft.VisualBasic" /> |
|
44 |
<Reference Include="RadNetAutomation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5f600089cf0eaec9, processorArchitecture=MSIL"> |
|
45 |
<SpecificVersion>False</SpecificVersion> |
|
46 |
<HintPath>C:\Program Files (x86)\SmartPlant\P&ID Workstation\bin\RadNetAutomation.dll</HintPath> |
|
47 |
</Reference> |
|
35 | 48 |
<Reference Include="System" /> |
36 | 49 |
<Reference Include="System.Core" /> |
50 |
<Reference Include="System.Drawing" /> |
|
51 |
<Reference Include="System.Windows.Forms" /> |
|
37 | 52 |
<Reference Include="System.Xml.Linq" /> |
38 | 53 |
<Reference Include="System.Data.DataSetExtensions" /> |
39 | 54 |
<Reference Include="Microsoft.CSharp" /> |
... | ... | |
42 | 57 |
<Reference Include="System.Xml" /> |
43 | 58 |
</ItemGroup> |
44 | 59 |
<ItemGroup> |
60 |
<Compile Include="ConverterForm.cs"> |
|
61 |
<SubType>Form</SubType> |
|
62 |
</Compile> |
|
63 |
<Compile Include="ConverterForm.Designer.cs"> |
|
64 |
<DependentUpon>ConverterForm.cs</DependentUpon> |
|
65 |
</Compile> |
|
66 |
<Compile Include="MainWrapper.cs"> |
|
67 |
<SubType>UserControl</SubType> |
|
68 |
</Compile> |
|
69 |
<Compile Include="MainWrapper.Designer.cs"> |
|
70 |
<DependentUpon>MainWrapper.cs</DependentUpon> |
|
71 |
</Compile> |
|
45 | 72 |
<Compile Include="Properties\AssemblyInfo.cs" /> |
73 |
<Compile Include="Properties\Resources.Designer.cs"> |
|
74 |
<AutoGen>True</AutoGen> |
|
75 |
<DesignTime>True</DesignTime> |
|
76 |
<DependentUpon>Resources.resx</DependentUpon> |
|
77 |
</Compile> |
|
78 |
</ItemGroup> |
|
79 |
<ItemGroup> |
|
80 |
<EmbeddedResource Include="ConverterForm.resx"> |
|
81 |
<DependentUpon>ConverterForm.cs</DependentUpon> |
|
82 |
</EmbeddedResource> |
|
83 |
<EmbeddedResource Include="Properties\licenses.licx" /> |
|
84 |
<EmbeddedResource Include="Properties\Resources.resx"> |
|
85 |
<Generator>ResXFileCodeGenerator</Generator> |
|
86 |
<LastGenOutput>Resources.Designer.cs</LastGenOutput> |
|
87 |
</EmbeddedResource> |
|
88 |
</ItemGroup> |
|
89 |
<ItemGroup> |
|
90 |
<ProjectReference Include="..\BaseModel\BaseModel.csproj"> |
|
91 |
<Project>{beec4a21-bd63-40d2-b745-027b19241a70}</Project> |
|
92 |
<Name>BaseModel</Name> |
|
93 |
</ProjectReference> |
|
94 |
</ItemGroup> |
|
95 |
<ItemGroup> |
|
96 |
<COMReference Include="Llama"> |
|
97 |
<Guid>{425D14E8-A0C1-4F4A-9FB8-4D7CA982F144}</Guid> |
|
98 |
<VersionMajor>6</VersionMajor> |
|
99 |
<VersionMinor>0</VersionMinor> |
|
100 |
<Lcid>0</Lcid> |
|
101 |
<WrapperTool>tlbimp</WrapperTool> |
|
102 |
<Isolated>False</Isolated> |
|
103 |
<EmbedInteropTypes>True</EmbedInteropTypes> |
|
104 |
</COMReference> |
|
105 |
<COMReference Include="NEWENUMWRAPPERLib"> |
|
106 |
<Guid>{58B86513-1FA4-4928-9D79-1076AC6F69EF}</Guid> |
|
107 |
<VersionMajor>1</VersionMajor> |
|
108 |
<VersionMinor>0</VersionMinor> |
|
109 |
<Lcid>0</Lcid> |
|
110 |
<WrapperTool>tlbimp</WrapperTool> |
|
111 |
<Isolated>False</Isolated> |
|
112 |
<EmbedInteropTypes>True</EmbedInteropTypes> |
내보내기 Unified diff