개정판 a77303ca
dev issue #1227 : mapping ui
Change-Id: I9d7d32a36f6fbc20d70beba2825e4bce2d26c8ed
DTI_PID/APIDConverter/APIDConverterExplorer.Designer.cs | ||
---|---|---|
28 | 28 |
/// </summary> |
29 | 29 |
private void InitializeComponent() |
30 | 30 |
{ |
31 |
this.components = new System.ComponentModel.Container(); |
|
31 | 32 |
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(APIDConverterExplorer)); |
32 | 33 |
this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
33 |
this.Root = new DevExpress.XtraLayout.LayoutControlGroup(); |
|
34 | 34 |
this.btnOpenConverter = new DevExpress.XtraEditors.SimpleButton(); |
35 |
this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
35 |
this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
|
|
36 | 36 |
this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); |
37 | 37 |
this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); |
38 |
this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
39 |
this.defaultLookAndFeel = new DevExpress.LookAndFeel.DefaultLookAndFeel(this.components); |
|
38 | 40 |
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); |
39 | 41 |
this.layoutControl1.SuspendLayout(); |
40 | 42 |
((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit(); |
41 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); |
|
42 | 43 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit(); |
43 | 44 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); |
45 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); |
|
44 | 46 |
this.SuspendLayout(); |
45 | 47 |
// |
46 | 48 |
// layoutControl1 |
... | ... | |
54 | 56 |
this.layoutControl1.TabIndex = 0; |
55 | 57 |
this.layoutControl1.Text = "layoutControl1"; |
56 | 58 |
// |
57 |
// Root |
|
58 |
// |
|
59 |
this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; |
|
60 |
this.Root.GroupBordersVisible = false; |
|
61 |
this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { |
|
62 |
this.emptySpaceItem1, |
|
63 |
this.layoutControlGroup1}); |
|
64 |
this.Root.Name = "Root"; |
|
65 |
this.Root.Size = new System.Drawing.Size(232, 560); |
|
66 |
this.Root.TextVisible = false; |
|
67 |
// |
|
68 | 59 |
// btnOpenConverter |
69 | 60 |
// |
70 | 61 |
this.btnOpenConverter.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnOpenConverter.ImageOptions.SvgImage"))); |
... | ... | |
76 | 67 |
this.btnOpenConverter.Text = "Open Converter"; |
77 | 68 |
this.btnOpenConverter.Click += new System.EventHandler(this.btnOpenConverter_Click); |
78 | 69 |
// |
79 |
// layoutControlItem1
|
|
70 |
// Root
|
|
80 | 71 |
// |
81 |
this.layoutControlItem1.Control = this.btnOpenConverter; |
|
82 |
this.layoutControlItem1.Location = new System.Drawing.Point(0, 0); |
|
83 |
this.layoutControlItem1.Name = "layoutControlItem1"; |
|
84 |
this.layoutControlItem1.Size = new System.Drawing.Size(188, 40); |
|
85 |
this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0); |
|
86 |
this.layoutControlItem1.TextVisible = false; |
|
72 |
this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; |
|
73 |
this.Root.GroupBordersVisible = false; |
|
74 |
this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { |
|
75 |
this.emptySpaceItem1, |
|
76 |
this.layoutControlGroup1}); |
|
77 |
this.Root.Name = "Root"; |
|
78 |
this.Root.Size = new System.Drawing.Size(232, 560); |
|
79 |
this.Root.TextVisible = false; |
|
87 | 80 |
// |
88 | 81 |
// emptySpaceItem1 |
89 | 82 |
// |
... | ... | |
103 | 96 |
this.layoutControlGroup1.Size = new System.Drawing.Size(212, 85); |
104 | 97 |
this.layoutControlGroup1.Text = "APID Converter"; |
105 | 98 |
// |
99 |
// layoutControlItem1 |
|
100 |
// |
|
101 |
this.layoutControlItem1.Control = this.btnOpenConverter; |
|
102 |
this.layoutControlItem1.Location = new System.Drawing.Point(0, 0); |
|
103 |
this.layoutControlItem1.Name = "layoutControlItem1"; |
|
104 |
this.layoutControlItem1.Size = new System.Drawing.Size(188, 40); |
|
105 |
this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0); |
|
106 |
this.layoutControlItem1.TextVisible = false; |
|
107 |
// |
|
108 |
// defaultLookAndFeel |
|
109 |
// |
|
110 |
this.defaultLookAndFeel.LookAndFeel.SkinName = "Office 2019 Colorful"; |
|
111 |
// |
|
106 | 112 |
// APIDConverterExplorer |
107 | 113 |
// |
108 | 114 |
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); |
... | ... | |
113 | 119 |
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); |
114 | 120 |
this.layoutControl1.ResumeLayout(false); |
115 | 121 |
((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit(); |
116 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); |
|
117 | 122 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit(); |
118 | 123 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); |
124 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); |
|
119 | 125 |
this.ResumeLayout(false); |
120 | 126 |
|
121 | 127 |
} |
... | ... | |
128 | 134 |
private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1; |
129 | 135 |
private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup1; |
130 | 136 |
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; |
137 |
private DevExpress.LookAndFeel.DefaultLookAndFeel defaultLookAndFeel; |
|
131 | 138 |
} |
132 | 139 |
} |
DTI_PID/APIDConverter/APIDConverterExplorer.resx | ||
---|---|---|
135 | 135 |
MiwyMy45LDd6IiBmaWxsPSIjMTE3N0Q3IiBjbGFzcz0iQmx1ZSIgLz4NCiAgPC9nPg0KPC9zdmc+Cw== |
136 | 136 |
</value> |
137 | 137 |
</data> |
138 |
<metadata name="defaultLookAndFeel.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
|
139 |
<value>17, 17</value> |
|
140 |
</metadata> |
|
138 | 141 |
</root> |
DTI_PID/APIDConverter/AVEVA.PID.CustomizationUtility_ACAD2018_x64.csproj | ||
---|---|---|
220 | 220 |
<ItemGroup> |
221 | 221 |
<EmbeddedResource Include="Resources\setting.png" /> |
222 | 222 |
</ItemGroup> |
223 |
<ItemGroup> |
|
224 |
<None Include="Resources\cancel_16x16.png" /> |
|
225 |
</ItemGroup> |
|
223 | 226 |
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
224 | 227 |
<Import Project="..\packages\System.Data.SQLite.Core.1.0.111.0\build\net46\System.Data.SQLite.Core.targets" Condition="Exists('..\packages\System.Data.SQLite.Core.1.0.111.0\build\net46\System.Data.SQLite.Core.targets')" /> |
225 | 228 |
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
DTI_PID/APIDConverter/DB/Project_DB.cs | ||
---|---|---|
16 | 16 |
{ |
17 | 17 |
public class Project_DB |
18 | 18 |
{ |
19 |
const string SPPID_DB_INFO_TABLE = "T_SPPID_CONNECTION_INFO"; |
|
20 |
const string SPPID_SYMBOL_MAPPING_TABLE = "T_SPPID_SYMBOL_MAPPING"; |
|
21 |
const string SPPID_ATTRIBUTE_MAPPING_TABLE = "T_SPPID_ATTRIBUTE_MAPPING"; |
|
22 |
const string SPPID_SETTING_TABLE = "T_SPPID_SETTING_TABLE"; |
|
23 |
const string SPPID_LABEL_INFO_TABLE = "T_SPPID_LABEL_INFO"; |
|
24 |
const string SPPID_DRAWING_INFO = "T_SPPID_DRAWING_INFO"; |
|
25 |
const string SPPID_OPC_INFO = "T_SPPID_OPC_INFO"; |
|
19 |
const string APID_SYMBOL_MAPPING_TABLE = "T_APID_SYMBOL_MAPPING"; |
|
26 | 20 |
|
27 | 21 |
const string LineProperties_TABLE = "LineProperties"; |
28 | 22 |
const string LineTypes_TABLE = "LineTypes"; |
... | ... | |
57 | 51 |
|
58 | 52 |
return connection; |
59 | 53 |
} |
60 |
|
|
61 | 54 |
public static bool ConnTestAndCreateTable() |
62 | 55 |
{ |
63 | 56 |
bool result = false; |
... | ... | |
73 | 66 |
{ |
74 | 67 |
using (SQLiteCommand cmd = connection.CreateCommand()) |
75 | 68 |
{ |
76 |
|
|
69 |
cmd.CommandText = "SELECT NAME FROM sqlite_master WHERE type='table'"; |
|
70 |
using (SQLiteDataReader dr = cmd.ExecuteReader()) |
|
71 |
using (DataTable dt = new DataTable()) |
|
72 |
{ |
|
73 |
dt.Load(dr); |
|
74 |
|
|
75 |
if (dt.Select(string.Format("NAME = '{0}'", APID_SYMBOL_MAPPING_TABLE)).Length == 0) |
|
76 |
{ |
|
77 |
cmd.CommandText = string.Format("CREATE TABLE {0} (UID TEXT PRIMARY KEY, NAME TEXT, APID_SYMBOL TEXT)", APID_SYMBOL_MAPPING_TABLE); |
|
78 |
cmd.ExecuteNonQuery(); |
|
79 |
} |
|
80 |
} |
|
77 | 81 |
} |
78 | 82 |
result = true; |
79 | 83 |
} |
... | ... | |
99 | 103 |
{ |
100 | 104 |
using (SqlCommand cmd = connection.CreateCommand()) |
101 | 105 |
{ |
102 |
|
|
106 |
cmd.CommandText = "SELECT TABLE_NAME AS NAME FROM INFORMATION_SCHEMA.TABLES"; |
|
107 |
using (SqlDataReader dr = cmd.ExecuteReader()) |
|
108 |
using (DataTable dt = new DataTable()) |
|
109 |
{ |
|
110 |
dt.Load(dr); |
|
111 |
|
|
112 |
if (dt.Select(string.Format("NAME = '{0}'", APID_SYMBOL_MAPPING_TABLE)).Length == 0) |
|
113 |
{ |
|
114 |
cmd.CommandText = string.Format("CREATE TABLE {0} (UID varchar(255) PRIMARY KEY, NAME varchar(MAX), APID_SYMBOL varchar(MAX))", APID_SYMBOL_MAPPING_TABLE); |
|
115 |
cmd.ExecuteNonQuery(); |
|
116 |
} |
|
117 |
|
|
118 |
} |
|
103 | 119 |
} |
104 | 120 |
result = true; |
105 | 121 |
} |
... | ... | |
118 | 134 |
|
119 | 135 |
return result; |
120 | 136 |
} |
137 |
public static DataTable GetSymbolMappingTable() |
|
138 |
{ |
|
139 |
DataTable dt = new DataTable(); |
|
140 |
Project_Info projectInfo = Project_Info.GetInstance(); |
|
141 |
if (projectInfo.DBType == ID2DB_Type.SQLite) |
|
142 |
{ |
|
143 |
using (SQLiteConnection connection = new SQLiteConnection(string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", projectInfo.DBFilePath))) |
|
144 |
{ |
|
145 |
try |
|
146 |
{ |
|
147 |
connection.Open(); |
|
148 |
using (SQLiteCommand cmd = connection.CreateCommand()) |
|
149 |
{ |
|
150 |
cmd.CommandText = string.Format(@" |
|
151 |
SELECT s.UID, s.Name, st.Type, sp.APID_SYMBOL FROM {1} as st, {0} as s |
|
152 |
LEFT OUTER JOIN {2} as sp |
|
153 |
ON s.UID = SP.UID |
|
154 |
WHERE s.SymbolType_UID = st.UID |
|
155 |
ORDER BY st.TYPE ASC;", Symbol_TABLE, SymbolType_TABLE, APID_SYMBOL_MAPPING_TABLE); |
|
156 |
using (SQLiteDataReader dr = cmd.ExecuteReader()) |
|
157 |
dt.Load(dr); |
|
121 | 158 |
|
159 |
DataTable dtClone = dt.Clone(); |
|
160 |
dtClone.Columns["UID"].DataType = typeof(string); |
|
161 |
foreach (DataRow row in dt.Rows) |
|
162 |
{ |
|
163 |
dtClone.ImportRow(row); |
|
164 |
} |
|
165 |
dt.Dispose(); |
|
166 |
dt = dtClone; |
|
167 |
} |
|
168 |
connection.Close(); |
|
169 |
} |
|
170 |
catch (Exception ex) |
|
171 |
{ |
|
172 |
Log.Write(ex.Message + "\r\n" + ex.StackTrace); |
|
173 |
} |
|
174 |
finally |
|
175 |
{ |
|
176 |
connection.Dispose(); |
|
177 |
} |
|
178 |
} |
|
179 |
} |
|
180 |
else if (projectInfo.DBType == ID2DB_Type.MSSQL) |
|
181 |
{ |
|
182 |
using (SqlConnection connection = GetSqlConnection()) |
|
183 |
{ |
|
184 |
try |
|
185 |
{ |
|
186 |
if (connection != null && connection.State == ConnectionState.Open) |
|
187 |
{ |
|
188 |
using (SqlCommand cmd = connection.CreateCommand()) |
|
189 |
{ |
|
190 |
cmd.CommandText = string.Format(@" |
|
191 |
SELECT CONVERT(VARCHAR(255), s.UID) AS UID, s.Name, st.Type, sp.APID_SYMBOL FROM {1} as st, {0} as s |
|
192 |
LEFT OUTER JOIN {2} as sp |
|
193 |
ON CONVERT(VARCHAR(255), s.UID) = CONVERT(VARCHAR(255), SP.UID) |
|
194 |
WHERE s.SymbolType_UID = st.UID |
|
195 |
ORDER BY st.TYPE ASC;", Symbol_TABLE, SymbolType_TABLE, APID_SYMBOL_MAPPING_TABLE); |
|
196 |
using (SqlDataReader dr = cmd.ExecuteReader()) |
|
197 |
dt.Load(dr); |
|
198 |
} |
|
199 |
connection.Close(); |
|
200 |
} |
|
201 |
} |
|
202 |
catch (Exception ex) |
|
203 |
{ |
|
204 |
Log.Write(ex.Message + "\r\n" + ex.StackTrace); |
|
205 |
} |
|
206 |
finally |
|
207 |
{ |
|
208 |
if (connection != null) |
|
209 |
connection.Dispose(); |
|
210 |
} |
|
211 |
} |
|
212 |
} |
|
213 |
|
|
214 |
return dt; |
|
215 |
} |
|
216 |
|
|
217 |
|
|
218 |
|
|
219 |
|
|
220 |
#region Only ID2 DB |
|
122 | 221 |
public static DataTable SelectID2SymbolTable() |
123 | 222 |
{ |
124 | 223 |
DataTable dt = new DataTable(); |
... | ... | |
299 | 398 |
|
300 | 399 |
return dt; |
301 | 400 |
} |
302 |
|
|
401 |
#endregion |
|
303 | 402 |
|
304 | 403 |
#region AVEVA |
305 | 404 |
public static string GetAvevaConnectionString() |
DTI_PID/APIDConverter/Form/APIDConverter.Designer.cs | ||
---|---|---|
28 | 28 |
/// </summary> |
29 | 29 |
private void InitializeComponent() |
30 | 30 |
{ |
31 |
this.components = new System.ComponentModel.Container(); |
|
32 | 31 |
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(APIDConverter)); |
33 | 32 |
this.ribbonControl = new DevExpress.XtraBars.Ribbon.RibbonControl(); |
34 |
this.defaultLookAndFeel1 = new DevExpress.LookAndFeel.DefaultLookAndFeel(this.components); |
|
35 | 33 |
this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
34 |
this.btnItemMapping = new DevExpress.XtraEditors.SimpleButton(); |
|
36 | 35 |
this.btnRefresh = new DevExpress.XtraEditors.SimpleButton(); |
37 | 36 |
this.btnRun = new DevExpress.XtraEditors.SimpleButton(); |
38 | 37 |
this.gridControlConverter = new DevExpress.XtraGrid.GridControl(); |
39 | 38 |
this.gridViewConverter = new DevExpress.XtraGrid.Views.Grid.GridView(); |
40 | 39 |
this.btnLoadFile = new DevExpress.XtraEditors.SimpleButton(); |
40 |
this.btnID2DB = new DevExpress.XtraEditors.SimpleButton(); |
|
41 | 41 |
this.Root = new DevExpress.XtraLayout.LayoutControlGroup(); |
42 | 42 |
this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); |
43 | 43 |
this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); |
... | ... | |
46 | 46 |
this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); |
47 | 47 |
this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); |
48 | 48 |
this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem(); |
49 |
this.splitterItem1 = new DevExpress.XtraLayout.SplitterItem(); |
|
50 |
this.btnItemMapping = new DevExpress.XtraEditors.SimpleButton(); |
|
51 |
this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
52 | 49 |
this.layoutControlGroup3 = new DevExpress.XtraLayout.LayoutControlGroup(); |
50 |
this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
53 | 51 |
this.emptySpaceItem3 = new DevExpress.XtraLayout.EmptySpaceItem(); |
54 |
this.btnID2DB = new DevExpress.XtraEditors.SimpleButton();
|
|
52 |
this.splitterItem1 = new DevExpress.XtraLayout.SplitterItem();
|
|
55 | 53 |
this.layoutControlGroupID2Project = new DevExpress.XtraLayout.LayoutControlGroup(); |
56 | 54 |
this.labelID2ProjectName = new DevExpress.XtraLayout.SimpleLabelItem(); |
57 | 55 |
this.labelID2ProjectStatus = new DevExpress.XtraLayout.SimpleLabelItem(); |
... | ... | |
73 | 71 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); |
74 | 72 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); |
75 | 73 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).BeginInit(); |
76 |
((System.ComponentModel.ISupportInitialize)(this.splitterItem1)).BeginInit(); |
|
77 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit(); |
|
78 | 74 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).BeginInit(); |
75 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit(); |
|
79 | 76 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).BeginInit(); |
77 |
((System.ComponentModel.ISupportInitialize)(this.splitterItem1)).BeginInit(); |
|
80 | 78 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroupID2Project)).BeginInit(); |
81 | 79 |
((System.ComponentModel.ISupportInitialize)(this.labelID2ProjectName)).BeginInit(); |
82 | 80 |
((System.ComponentModel.ISupportInitialize)(this.labelID2ProjectStatus)).BeginInit(); |
... | ... | |
102 | 100 |
this.ribbonControl.Size = new System.Drawing.Size(995, 32); |
103 | 101 |
this.ribbonControl.Toolbar.ShowCustomizeItem = false; |
104 | 102 |
// |
105 |
// defaultLookAndFeel1 |
|
106 |
// |
|
107 |
this.defaultLookAndFeel1.LookAndFeel.SkinName = "Office 2016 Colorful"; |
|
108 |
// |
|
109 | 103 |
// layoutControl1 |
110 | 104 |
// |
111 | 105 |
this.layoutControl1.Controls.Add(this.btnItemMapping); |
... | ... | |
122 | 116 |
this.layoutControl1.TabIndex = 1; |
123 | 117 |
this.layoutControl1.Text = "layoutControl1"; |
124 | 118 |
// |
119 |
// btnItemMapping |
|
120 |
// |
|
121 |
this.btnItemMapping.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnItemMapping.ImageOptions.SvgImage"))); |
|
122 |
this.btnItemMapping.Location = new System.Drawing.Point(719, 210); |
|
123 |
this.btnItemMapping.Name = "btnItemMapping"; |
|
124 |
this.btnItemMapping.Size = new System.Drawing.Size(252, 36); |
|
125 |
this.btnItemMapping.StyleController = this.layoutControl1; |
|
126 |
this.btnItemMapping.TabIndex = 9; |
|
127 |
this.btnItemMapping.Text = "Setting"; |
|
128 |
this.btnItemMapping.Click += new System.EventHandler(this.btnItemMapping_Click); |
|
129 |
// |
|
125 | 130 |
// btnRefresh |
126 | 131 |
// |
127 | 132 |
this.btnRefresh.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnRefresh.ImageOptions.SvgImage"))); |
... | ... | |
172 | 177 |
this.btnLoadFile.Text = " Load Files "; |
173 | 178 |
this.btnLoadFile.Click += new System.EventHandler(this.btnLoadFile_Click); |
174 | 179 |
// |
180 |
// btnID2DB |
|
181 |
// |
|
182 |
this.btnID2DB.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnID2DB.ImageOptions.SvgImage"))); |
|
183 |
this.btnID2DB.Location = new System.Drawing.Point(719, 58); |
|
184 |
this.btnID2DB.Name = "btnID2DB"; |
|
185 |
this.btnID2DB.Size = new System.Drawing.Size(252, 36); |
|
186 |
this.btnID2DB.StyleController = this.layoutControl1; |
|
187 |
this.btnID2DB.TabIndex = 15; |
|
188 |
this.btnID2DB.Text = "Setting"; |
|
189 |
this.btnID2DB.Click += new System.EventHandler(this.btnID2DB_Click); |
|
190 |
// |
|
175 | 191 |
// Root |
176 | 192 |
// |
177 | 193 |
this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; |
... | ... | |
263 | 279 |
this.emptySpaceItem2.Size = new System.Drawing.Size(20, 40); |
264 | 280 |
this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0); |
265 | 281 |
// |
266 |
// splitterItem1 |
|
267 |
// |
|
268 |
this.splitterItem1.AllowHotTrack = true; |
|
269 |
this.splitterItem1.Location = new System.Drawing.Point(683, 0); |
|
270 |
this.splitterItem1.Name = "splitterItem1"; |
|
271 |
this.splitterItem1.Size = new System.Drawing.Size(12, 487); |
|
272 |
// |
|
273 |
// btnItemMapping |
|
274 |
// |
|
275 |
this.btnItemMapping.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("simpleButton2.ImageOptions.SvgImage"))); |
|
276 |
this.btnItemMapping.Location = new System.Drawing.Point(719, 210); |
|
277 |
this.btnItemMapping.Name = "btnItemMapping"; |
|
278 |
this.btnItemMapping.Size = new System.Drawing.Size(252, 36); |
|
279 |
this.btnItemMapping.StyleController = this.layoutControl1; |
|
280 |
this.btnItemMapping.TabIndex = 9; |
|
281 |
this.btnItemMapping.Text = "Setting"; |
|
282 |
this.btnItemMapping.Click += new System.EventHandler(this.btnItemMapping_Click); |
|
283 |
// |
|
284 |
// layoutControlItem6 |
|
285 |
// |
|
286 |
this.layoutControlItem6.Control = this.btnItemMapping; |
|
287 |
this.layoutControlItem6.Location = new System.Drawing.Point(0, 0); |
|
288 |
this.layoutControlItem6.Name = "layoutControlItem6"; |
|
289 |
this.layoutControlItem6.Size = new System.Drawing.Size(256, 40); |
|
290 |
this.layoutControlItem6.TextSize = new System.Drawing.Size(0, 0); |
|
291 |
this.layoutControlItem6.TextVisible = false; |
|
292 |
// |
|
293 | 282 |
// layoutControlGroup3 |
294 | 283 |
// |
295 | 284 |
this.layoutControlGroup3.CaptionImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("layoutControlGroup3.CaptionImageOptions.SvgImage"))); |
... | ... | |
301 | 290 |
this.layoutControlGroup3.Size = new System.Drawing.Size(280, 98); |
302 | 291 |
this.layoutControlGroup3.Text = "Item Mapping"; |
303 | 292 |
// |
293 |
// layoutControlItem6 |
|
294 |
// |
|
295 |
this.layoutControlItem6.Control = this.btnItemMapping; |
|
296 |
this.layoutControlItem6.Location = new System.Drawing.Point(0, 0); |
|
297 |
this.layoutControlItem6.Name = "layoutControlItem6"; |
|
298 |
this.layoutControlItem6.Size = new System.Drawing.Size(256, 40); |
|
299 |
this.layoutControlItem6.TextSize = new System.Drawing.Size(0, 0); |
|
300 |
this.layoutControlItem6.TextVisible = false; |
|
301 |
// |
|
304 | 302 |
// emptySpaceItem3 |
305 | 303 |
// |
306 | 304 |
this.emptySpaceItem3.AllowHotTrack = false; |
... | ... | |
309 | 307 |
this.emptySpaceItem3.Size = new System.Drawing.Size(280, 237); |
310 | 308 |
this.emptySpaceItem3.TextSize = new System.Drawing.Size(0, 0); |
311 | 309 |
// |
312 |
// btnID2DB
|
|
310 |
// splitterItem1
|
|
313 | 311 |
// |
314 |
this.btnID2DB.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("simpleButton1.ImageOptions.SvgImage"))); |
|
315 |
this.btnID2DB.Location = new System.Drawing.Point(719, 58); |
|
316 |
this.btnID2DB.Name = "btnID2DB"; |
|
317 |
this.btnID2DB.Size = new System.Drawing.Size(252, 36); |
|
318 |
this.btnID2DB.StyleController = this.layoutControl1; |
|
319 |
this.btnID2DB.TabIndex = 15; |
|
320 |
this.btnID2DB.Text = "Setting"; |
|
321 |
this.btnID2DB.Click += new System.EventHandler(this.btnID2DB_Click); |
|
312 |
this.splitterItem1.AllowHotTrack = true; |
|
313 |
this.splitterItem1.Location = new System.Drawing.Point(683, 0); |
|
314 |
this.splitterItem1.Name = "splitterItem1"; |
|
315 |
this.splitterItem1.Size = new System.Drawing.Size(12, 487); |
|
322 | 316 |
// |
323 | 317 |
// layoutControlGroupID2Project |
324 | 318 |
// |
... | ... | |
393 | 387 |
this.layoutControlItem7.Location = new System.Drawing.Point(0, 0); |
394 | 388 |
this.layoutControlItem7.Name = "layoutControlItem7"; |
395 | 389 |
this.layoutControlItem7.Size = new System.Drawing.Size(256, 40); |
396 |
this.layoutControlItem7.Text = "layoutControlItem7"; |
|
397 | 390 |
this.layoutControlItem7.TextSize = new System.Drawing.Size(0, 0); |
398 | 391 |
this.layoutControlItem7.TextVisible = false; |
399 | 392 |
// |
... | ... | |
448 | 441 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); |
449 | 442 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); |
450 | 443 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).EndInit(); |
451 |
((System.ComponentModel.ISupportInitialize)(this.splitterItem1)).EndInit(); |
|
452 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit(); |
|
453 | 444 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).EndInit(); |
445 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit(); |
|
454 | 446 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).EndInit(); |
447 |
((System.ComponentModel.ISupportInitialize)(this.splitterItem1)).EndInit(); |
|
455 | 448 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroupID2Project)).EndInit(); |
456 | 449 |
((System.ComponentModel.ISupportInitialize)(this.labelID2ProjectName)).EndInit(); |
457 | 450 |
((System.ComponentModel.ISupportInitialize)(this.labelID2ProjectStatus)).EndInit(); |
... | ... | |
467 | 460 |
|
468 | 461 |
#endregion |
469 | 462 |
private DevExpress.XtraBars.Ribbon.RibbonControl ribbonControl; |
470 |
private DevExpress.LookAndFeel.DefaultLookAndFeel defaultLookAndFeel1; |
|
471 | 463 |
private DevExpress.XtraLayout.LayoutControl layoutControl1; |
472 | 464 |
private DevExpress.XtraEditors.SimpleButton btnLoadFile; |
473 | 465 |
private DevExpress.XtraLayout.LayoutControlGroup Root; |
DTI_PID/APIDConverter/Form/APIDConverter.resx | ||
---|---|---|
117 | 117 |
<resheader name="writer"> |
118 | 118 |
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
119 | 119 |
</resheader> |
120 |
<metadata name="defaultLookAndFeel1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
|
121 |
<value>17, 17</value> |
|
122 |
</metadata> |
|
123 | 120 |
<assembly alias="DevExpress.Data.v18.2" name="DevExpress.Data.v18.2, Version=18.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" /> |
124 |
<data name="simpleButton2.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v18.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
|
121 |
<data name="btnItemMapping.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v18.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
|
125 | 122 |
<value> |
126 | 123 |
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjE4LjIsIFZlcnNpb249MTguMi43 |
127 | 124 |
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl |
... | ... | |
197 | 194 |
biIgLz4NCjwvc3ZnPgs= |
198 | 195 |
</value> |
199 | 196 |
</data> |
200 |
<data name="simpleButton1.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v18.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
|
197 |
<data name="btnID2DB.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v18.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
|
201 | 198 |
<value> |
202 | 199 |
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjE4LjIsIFZlcnNpb249MTguMi43 |
203 | 200 |
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl |
DTI_PID/APIDConverter/Form/MappingForm.Designer.cs | ||
---|---|---|
31 | 31 |
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MappingForm)); |
32 | 32 |
this.ribbonControl = new DevExpress.XtraBars.Ribbon.RibbonControl(); |
33 | 33 |
this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
34 |
this.pictureEdit3 = new DevExpress.XtraEditors.PictureEdit(); |
|
35 |
this.pictureEdit2 = new DevExpress.XtraEditors.PictureEdit(); |
|
36 |
this.pictureEdit1 = new DevExpress.XtraEditors.PictureEdit(); |
|
37 |
this.treeList1 = new DevExpress.XtraTreeList.TreeList(); |
|
38 |
this.gridControlSymbol = new DevExpress.XtraGrid.GridControl(); |
|
39 |
this.gridViewSymbol = new DevExpress.XtraGrid.Views.Grid.GridView(); |
|
40 |
this.btnClose = new DevExpress.XtraEditors.SimpleButton(); |
|
41 |
this.btnSave = new DevExpress.XtraEditors.SimpleButton(); |
|
34 | 42 |
this.Root = new DevExpress.XtraLayout.LayoutControlGroup(); |
35 | 43 |
this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); |
36 | 44 |
this.tabbedControlGroup1 = new DevExpress.XtraLayout.TabbedControlGroup(); |
37 | 45 |
this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); |
38 |
this.btnSave = new DevExpress.XtraEditors.SimpleButton(); |
|
46 |
this.splitterItem2 = new DevExpress.XtraLayout.SplitterItem(); |
|
47 |
this.splitterItem3 = new DevExpress.XtraLayout.SplitterItem(); |
|
48 |
this.layoutControlGroup4 = new DevExpress.XtraLayout.LayoutControlGroup(); |
|
49 |
this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
50 |
this.layoutControlGroup5 = new DevExpress.XtraLayout.LayoutControlGroup(); |
|
51 |
this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
52 |
this.layoutControlGroup7 = new DevExpress.XtraLayout.LayoutControlGroup(); |
|
53 |
this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
54 |
this.layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup(); |
|
39 | 55 |
this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); |
40 |
this.btnClose = new DevExpress.XtraEditors.SimpleButton(); |
|
41 | 56 |
this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); |
42 | 57 |
this.splitterItem1 = new DevExpress.XtraLayout.SplitterItem(); |
43 |
this.gridControlSymbol = new DevExpress.XtraGrid.GridControl(); |
|
44 |
this.gridViewSymbol = new DevExpress.XtraGrid.Views.Grid.GridView(); |
|
45 |
this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
46 |
this.layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup(); |
|
47 |
this.treeList1 = new DevExpress.XtraTreeList.TreeList(); |
|
48 |
this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
49 | 58 |
this.layoutControlGroup3 = new DevExpress.XtraLayout.LayoutControlGroup(); |
59 |
this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
50 | 60 |
this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem(); |
51 |
this.pictureEdit1 = new DevExpress.XtraEditors.PictureEdit(); |
|
52 |
this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
53 |
this.splitterItem2 = new DevExpress.XtraLayout.SplitterItem(); |
|
54 |
this.pictureEdit2 = new DevExpress.XtraEditors.PictureEdit(); |
|
55 |
this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
56 |
this.splitterItem3 = new DevExpress.XtraLayout.SplitterItem(); |
|
57 |
this.layoutControlGroup4 = new DevExpress.XtraLayout.LayoutControlGroup(); |
|
58 |
this.layoutControlGroup5 = new DevExpress.XtraLayout.LayoutControlGroup(); |
|
59 |
this.pictureEdit3 = new DevExpress.XtraEditors.PictureEdit(); |
|
60 |
this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
61 | 61 |
this.layoutControlGroup6 = new DevExpress.XtraLayout.LayoutControlGroup(); |
62 |
this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
62 | 63 |
this.splitterItem4 = new DevExpress.XtraLayout.SplitterItem(); |
63 | 64 |
((System.ComponentModel.ISupportInitialize)(this.ribbonControl)).BeginInit(); |
64 | 65 |
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); |
65 | 66 |
this.layoutControl1.SuspendLayout(); |
67 |
((System.ComponentModel.ISupportInitialize)(this.pictureEdit3.Properties)).BeginInit(); |
|
68 |
((System.ComponentModel.ISupportInitialize)(this.pictureEdit2.Properties)).BeginInit(); |
|
69 |
((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).BeginInit(); |
|
70 |
((System.ComponentModel.ISupportInitialize)(this.treeList1)).BeginInit(); |
|
71 |
((System.ComponentModel.ISupportInitialize)(this.gridControlSymbol)).BeginInit(); |
|
72 |
((System.ComponentModel.ISupportInitialize)(this.gridViewSymbol)).BeginInit(); |
|
66 | 73 |
((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit(); |
67 | 74 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit(); |
68 | 75 |
((System.ComponentModel.ISupportInitialize)(this.tabbedControlGroup1)).BeginInit(); |
69 | 76 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); |
77 |
((System.ComponentModel.ISupportInitialize)(this.splitterItem2)).BeginInit(); |
|
78 |
((System.ComponentModel.ISupportInitialize)(this.splitterItem3)).BeginInit(); |
|
79 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup4)).BeginInit(); |
|
80 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); |
|
81 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup5)).BeginInit(); |
|
82 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit(); |
|
83 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup7)).BeginInit(); |
|
84 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); |
|
85 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).BeginInit(); |
|
70 | 86 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); |
71 | 87 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); |
72 | 88 |
((System.ComponentModel.ISupportInitialize)(this.splitterItem1)).BeginInit(); |
73 |
((System.ComponentModel.ISupportInitialize)(this.gridControlSymbol)).BeginInit(); |
|
74 |
((System.ComponentModel.ISupportInitialize)(this.gridViewSymbol)).BeginInit(); |
|
75 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); |
|
76 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).BeginInit(); |
|
77 |
((System.ComponentModel.ISupportInitialize)(this.treeList1)).BeginInit(); |
|
78 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); |
|
79 | 89 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).BeginInit(); |
90 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); |
|
80 | 91 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).BeginInit(); |
81 |
((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).BeginInit(); |
|
82 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); |
|
83 |
((System.ComponentModel.ISupportInitialize)(this.splitterItem2)).BeginInit(); |
|
84 |
((System.ComponentModel.ISupportInitialize)(this.pictureEdit2.Properties)).BeginInit(); |
|
85 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit(); |
|
86 |
((System.ComponentModel.ISupportInitialize)(this.splitterItem3)).BeginInit(); |
|
87 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup4)).BeginInit(); |
|
88 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup5)).BeginInit(); |
|
89 |
((System.ComponentModel.ISupportInitialize)(this.pictureEdit3.Properties)).BeginInit(); |
|
90 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit(); |
|
91 | 92 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup6)).BeginInit(); |
93 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit(); |
|
92 | 94 |
((System.ComponentModel.ISupportInitialize)(this.splitterItem4)).BeginInit(); |
93 | 95 |
this.SuspendLayout(); |
94 | 96 |
// |
... | ... | |
124 | 126 |
this.layoutControl1.TabIndex = 1; |
125 | 127 |
this.layoutControl1.Text = "layoutControl1"; |
126 | 128 |
// |
129 |
// pictureEdit3 |
|
130 |
// |
|
131 |
this.pictureEdit3.Location = new System.Drawing.Point(768, 388); |
|
132 |
this.pictureEdit3.MenuManager = this.ribbonControl; |
|
133 |
this.pictureEdit3.Name = "pictureEdit3"; |
|
134 |
this.pictureEdit3.Properties.ShowCameraMenuItem = DevExpress.XtraEditors.Controls.CameraMenuItemVisibility.Auto; |
|
135 |
this.pictureEdit3.Size = new System.Drawing.Size(331, 278); |
|
136 |
this.pictureEdit3.StyleController = this.layoutControl1; |
|
137 |
this.pictureEdit3.TabIndex = 11; |
|
138 |
// |
|
139 |
// pictureEdit2 |
|
140 |
// |
|
141 |
this.pictureEdit2.Location = new System.Drawing.Point(399, 399); |
|
142 |
this.pictureEdit2.MenuManager = this.ribbonControl; |
|
143 |
this.pictureEdit2.Name = "pictureEdit2"; |
|
144 |
this.pictureEdit2.Properties.ShowCameraMenuItem = DevExpress.XtraEditors.Controls.CameraMenuItemVisibility.Auto; |
|
145 |
this.pictureEdit2.Size = new System.Drawing.Size(319, 255); |
|
146 |
this.pictureEdit2.StyleController = this.layoutControl1; |
|
147 |
this.pictureEdit2.TabIndex = 10; |
|
148 |
// |
|
149 |
// pictureEdit1 |
|
150 |
// |
|
151 |
this.pictureEdit1.Location = new System.Drawing.Point(36, 399); |
|
152 |
this.pictureEdit1.MenuManager = this.ribbonControl; |
|
153 |
this.pictureEdit1.Name = "pictureEdit1"; |
|
154 |
this.pictureEdit1.Properties.ShowCameraMenuItem = DevExpress.XtraEditors.Controls.CameraMenuItemVisibility.Auto; |
|
155 |
this.pictureEdit1.Size = new System.Drawing.Size(325, 255); |
|
156 |
this.pictureEdit1.StyleController = this.layoutControl1; |
|
157 |
this.pictureEdit1.TabIndex = 9; |
|
158 |
// |
|
159 |
// treeList1 |
|
160 |
// |
|
161 |
this.treeList1.Cursor = System.Windows.Forms.Cursors.Default; |
|
162 |
this.treeList1.Location = new System.Drawing.Point(768, 45); |
|
163 |
this.treeList1.Name = "treeList1"; |
|
164 |
this.treeList1.Size = new System.Drawing.Size(331, 284); |
|
165 |
this.treeList1.TabIndex = 8; |
|
166 |
// |
|
167 |
// gridControlSymbol |
|
168 |
// |
|
169 |
this.gridControlSymbol.Location = new System.Drawing.Point(36, 79); |
|
170 |
this.gridControlSymbol.MainView = this.gridViewSymbol; |
|
171 |
this.gridControlSymbol.MenuManager = this.ribbonControl; |
|
172 |
this.gridControlSymbol.Name = "gridControlSymbol"; |
|
173 |
this.gridControlSymbol.Size = new System.Drawing.Size(682, 261); |
|
174 |
this.gridControlSymbol.TabIndex = 7; |
|
175 |
this.gridControlSymbol.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { |
|
176 |
this.gridViewSymbol}); |
|
177 |
// |
|
178 |
// gridViewSymbol |
|
179 |
// |
|
180 |
this.gridViewSymbol.GridControl = this.gridControlSymbol; |
|
181 |
this.gridViewSymbol.Name = "gridViewSymbol"; |
|
182 |
this.gridViewSymbol.OptionsView.ShowAutoFilterRow = true; |
|
183 |
this.gridViewSymbol.OptionsView.ShowGroupPanel = false; |
|
184 |
this.gridViewSymbol.ShowingEditor += new System.ComponentModel.CancelEventHandler(this.gridView_ShowingEditor); |
|
185 |
// |
|
186 |
// btnClose |
|
187 |
// |
|
188 |
this.btnClose.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnClose.ImageOptions.SvgImage"))); |
|
189 |
this.btnClose.Location = new System.Drawing.Point(1011, 682); |
|
190 |
this.btnClose.Name = "btnClose"; |
|
191 |
this.btnClose.Size = new System.Drawing.Size(100, 36); |
|
192 |
this.btnClose.StyleController = this.layoutControl1; |
|
193 |
this.btnClose.TabIndex = 6; |
|
194 |
this.btnClose.Text = " Close "; |
|
195 |
this.btnClose.Click += new System.EventHandler(this.btnClose_Click); |
|
196 |
// |
|
197 |
// btnSave |
|
198 |
// |
|
199 |
this.btnSave.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnSave.ImageOptions.SvgImage"))); |
|
200 |
this.btnSave.Location = new System.Drawing.Point(899, 682); |
|
201 |
this.btnSave.Name = "btnSave"; |
|
202 |
this.btnSave.Size = new System.Drawing.Size(97, 36); |
|
203 |
this.btnSave.StyleController = this.layoutControl1; |
|
204 |
this.btnSave.TabIndex = 5; |
|
205 |
this.btnSave.Text = " Save "; |
|
206 |
this.btnSave.Click += new System.EventHandler(this.btnSave_Click); |
|
207 |
// |
|
127 | 208 |
// Root |
128 | 209 |
// |
129 | 210 |
this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; |
... | ... | |
163 | 244 |
// layoutControlGroup1 |
164 | 245 |
// |
165 | 246 |
this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { |
166 |
this.layoutControlItem4, |
|
167 | 247 |
this.splitterItem2, |
168 | 248 |
this.splitterItem3, |
169 | 249 |
this.layoutControlGroup4, |
170 |
this.layoutControlGroup5}); |
|
250 |
this.layoutControlGroup5, |
|
251 |
this.layoutControlGroup7}); |
|
171 | 252 |
this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); |
172 | 253 |
this.layoutControlGroup1.Name = "layoutControlGroup1"; |
173 |
this.layoutControlGroup1.Size = new System.Drawing.Size(710, 622);
|
|
254 |
this.layoutControlGroup1.Size = new System.Drawing.Size(710, 624);
|
|
174 | 255 |
this.layoutControlGroup1.Text = "Symbol"; |
175 | 256 |
// |
176 |
// btnSave
|
|
257 |
// splitterItem2
|
|
177 | 258 |
// |
178 |
this.btnSave.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnSave.ImageOptions.SvgImage"))); |
|
179 |
this.btnSave.Location = new System.Drawing.Point(899, 682); |
|
180 |
this.btnSave.Name = "btnSave"; |
|
181 |
this.btnSave.Size = new System.Drawing.Size(97, 36); |
|
182 |
this.btnSave.StyleController = this.layoutControl1; |
|
183 |
this.btnSave.TabIndex = 5; |
|
184 |
this.btnSave.Text = " Save "; |
|
259 |
this.splitterItem2.AllowHotTrack = true; |
|
260 |
this.splitterItem2.Location = new System.Drawing.Point(0, 310); |
|
261 |
this.splitterItem2.Name = "splitterItem2"; |
|
262 |
this.splitterItem2.Size = new System.Drawing.Size(710, 10); |
|
185 | 263 |
// |
186 |
// layoutControlItem2
|
|
264 |
// splitterItem3
|
|
187 | 265 |
// |
188 |
this.layoutControlItem2.Control = this.btnSave; |
|
189 |
this.layoutControlItem2.Location = new System.Drawing.Point(887, 670); |
|
190 |
this.layoutControlItem2.Name = "layoutControlItem2"; |
|
191 |
this.layoutControlItem2.Size = new System.Drawing.Size(101, 40); |
|
192 |
this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0); |
|
193 |
this.layoutControlItem2.TextVisible = false; |
|
266 |
this.splitterItem3.AllowHotTrack = true; |
|
267 |
this.splitterItem3.Location = new System.Drawing.Point(353, 320); |
|
268 |
this.splitterItem3.Name = "splitterItem3"; |
|
269 |
this.splitterItem3.Size = new System.Drawing.Size(10, 304); |
|
194 | 270 |
// |
195 |
// btnClose
|
|
271 |
// layoutControlGroup4
|
|
196 | 272 |
// |
197 |
this.btnClose.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnClose.ImageOptions.SvgImage"))); |
|
198 |
this.btnClose.Location = new System.Drawing.Point(1011, 682); |
|
199 |
this.btnClose.Name = "btnClose"; |
|
200 |
this.btnClose.Size = new System.Drawing.Size(100, 36); |
|
201 |
this.btnClose.StyleController = this.layoutControl1; |
|
202 |
this.btnClose.TabIndex = 6; |
|
203 |
this.btnClose.Text = " Close "; |
|
273 |
this.layoutControlGroup4.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { |
|
274 |
this.layoutControlItem5}); |
|
275 |
this.layoutControlGroup4.Location = new System.Drawing.Point(0, 320); |
|
276 |
this.layoutControlGroup4.Name = "layoutControlGroup4"; |
|
277 |
this.layoutControlGroup4.Size = new System.Drawing.Size(353, 304); |
|
278 |
this.layoutControlGroup4.Text = "ID2 Image"; |
|
204 | 279 |
// |
205 |
// layoutControlItem3
|
|
280 |
// layoutControlItem5
|
|
206 | 281 |
// |
207 |
this.layoutControlItem3.Control = this.btnClose;
|
|
208 |
this.layoutControlItem3.Location = new System.Drawing.Point(999, 670);
|
|
209 |
this.layoutControlItem3.Name = "layoutControlItem3";
|
|
210 |
this.layoutControlItem3.Size = new System.Drawing.Size(104, 40);
|
|
211 |
this.layoutControlItem3.TextSize = new System.Drawing.Size(0, 0);
|
|
212 |
this.layoutControlItem3.TextVisible = false;
|
|
282 |
this.layoutControlItem5.Control = this.pictureEdit1;
|
|
283 |
this.layoutControlItem5.Location = new System.Drawing.Point(0, 0);
|
|
284 |
this.layoutControlItem5.Name = "layoutControlItem5";
|
|
285 |
this.layoutControlItem5.Size = new System.Drawing.Size(329, 259);
|
|
286 |
this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0);
|
|
287 |
this.layoutControlItem5.TextVisible = false;
|
|
213 | 288 |
// |
214 |
// splitterItem1
|
|
289 |
// layoutControlGroup5
|
|
215 | 290 |
// |
216 |
this.splitterItem1.AllowHotTrack = true; |
|
217 |
this.splitterItem1.Location = new System.Drawing.Point(734, 0); |
|
218 |
this.splitterItem1.Name = "splitterItem1"; |
|
219 |
this.splitterItem1.Size = new System.Drawing.Size(12, 670); |
|
291 |
this.layoutControlGroup5.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { |
|
292 |
this.layoutControlItem6}); |
|
293 |
this.layoutControlGroup5.Location = new System.Drawing.Point(363, 320); |
|
294 |
this.layoutControlGroup5.Name = "layoutControlGroup5"; |
|
295 |
this.layoutControlGroup5.Size = new System.Drawing.Size(347, 304); |
|
296 |
this.layoutControlGroup5.Text = "Mapped Image"; |
|
220 | 297 |
// |
221 |
// gridControlSymbol
|
|
298 |
// layoutControlItem6
|
|
222 | 299 |
// |
223 |
this.gridControlSymbol.Location = new System.Drawing.Point(24, 48); |
|
224 |
this.gridControlSymbol.MainView = this.gridViewSymbol; |
|
225 |
this.gridControlSymbol.MenuManager = this.ribbonControl; |
|
226 |
this.gridControlSymbol.Name = "gridControlSymbol"; |
|
227 |
this.gridControlSymbol.Size = new System.Drawing.Size(706, 305); |
|
228 |
this.gridControlSymbol.TabIndex = 7; |
|
229 |
this.gridControlSymbol.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { |
|
230 |
this.gridViewSymbol}); |
|
300 |
this.layoutControlItem6.Control = this.pictureEdit2; |
|
301 |
this.layoutControlItem6.Location = new System.Drawing.Point(0, 0); |
|
302 |
this.layoutControlItem6.Name = "layoutControlItem6"; |
|
303 |
this.layoutControlItem6.Size = new System.Drawing.Size(323, 259); |
|
304 |
this.layoutControlItem6.TextSize = new System.Drawing.Size(0, 0); |
|
305 |
this.layoutControlItem6.TextVisible = false; |
|
231 | 306 |
// |
232 |
// gridViewSymbol
|
|
307 |
// layoutControlGroup7
|
|
233 | 308 |
// |
234 |
this.gridViewSymbol.GridControl = this.gridControlSymbol; |
|
235 |
this.gridViewSymbol.Name = "gridViewSymbol"; |
|
236 |
this.gridViewSymbol.OptionsView.ShowGroupPanel = false; |
|
309 |
this.layoutControlGroup7.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { |
|
310 |
this.layoutControlItem4}); |
|
311 |
this.layoutControlGroup7.Location = new System.Drawing.Point(0, 0); |
|
312 |
this.layoutControlGroup7.Name = "layoutControlGroup7"; |
|
313 |
this.layoutControlGroup7.Size = new System.Drawing.Size(710, 310); |
|
314 |
this.layoutControlGroup7.Text = "ID2 Symbol List"; |
|
237 | 315 |
// |
238 | 316 |
// layoutControlItem4 |
239 | 317 |
// |
240 | 318 |
this.layoutControlItem4.Control = this.gridControlSymbol; |
241 | 319 |
this.layoutControlItem4.Location = new System.Drawing.Point(0, 0); |
242 | 320 |
this.layoutControlItem4.Name = "layoutControlItem4"; |
243 |
this.layoutControlItem4.Size = new System.Drawing.Size(710, 309);
|
|
321 |
this.layoutControlItem4.Size = new System.Drawing.Size(686, 265);
|
|
244 | 322 |
this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0); |
245 | 323 |
this.layoutControlItem4.TextVisible = false; |
246 | 324 |
// |
... | ... | |
248 | 326 |
// |
249 | 327 |
this.layoutControlGroup2.Location = new System.Drawing.Point(0, 0); |
250 | 328 |
this.layoutControlGroup2.Name = "layoutControlGroup2"; |
251 |
this.layoutControlGroup2.Size = new System.Drawing.Size(710, 622);
|
|
329 |
this.layoutControlGroup2.Size = new System.Drawing.Size(710, 624);
|
|
252 | 330 |
this.layoutControlGroup2.Text = "Line"; |
253 | 331 |
// |
254 |
// treeList1
|
|
332 |
// layoutControlItem2
|
|
255 | 333 |
// |
256 |
this.treeList1.Cursor = System.Windows.Forms.Cursors.Default; |
|
257 |
this.treeList1.Location = new System.Drawing.Point(770, 43); |
|
258 |
this.treeList1.Name = "treeList1"; |
|
259 |
this.treeList1.Size = new System.Drawing.Size(329, 286); |
|
260 |
this.treeList1.TabIndex = 8; |
|
334 |
this.layoutControlItem2.Control = this.btnSave; |
|
335 |
this.layoutControlItem2.Location = new System.Drawing.Point(887, 670); |
|
336 |
this.layoutControlItem2.Name = "layoutControlItem2"; |
|
337 |
this.layoutControlItem2.Size = new System.Drawing.Size(101, 40); |
|
338 |
this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0); |
|
339 |
this.layoutControlItem2.TextVisible = false; |
|
261 | 340 |
// |
262 |
// layoutControlItem1
|
|
341 |
// layoutControlItem3
|
|
263 | 342 |
// |
264 |
this.layoutControlItem1.Control = this.treeList1; |
|
265 |
this.layoutControlItem1.Location = new System.Drawing.Point(0, 0); |
|
266 |
this.layoutControlItem1.Name = "layoutControlItem1"; |
|
267 |
this.layoutControlItem1.Size = new System.Drawing.Size(333, 290); |
|
268 |
this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0); |
|
269 |
this.layoutControlItem1.TextVisible = false; |
|
343 |
this.layoutControlItem3.Control = this.btnClose; |
|
344 |
this.layoutControlItem3.Location = new System.Drawing.Point(999, 670); |
|
345 |
this.layoutControlItem3.Name = "layoutControlItem3"; |
|
346 |
this.layoutControlItem3.Size = new System.Drawing.Size(104, 40); |
|
347 |
this.layoutControlItem3.TextSize = new System.Drawing.Size(0, 0); |
|
348 |
this.layoutControlItem3.TextVisible = false; |
|
349 |
// |
|
350 |
// splitterItem1 |
|
351 |
// |
|
352 |
this.splitterItem1.AllowHotTrack = true; |
|
353 |
this.splitterItem1.Location = new System.Drawing.Point(734, 0); |
|
354 |
this.splitterItem1.Name = "splitterItem1"; |
|
355 |
this.splitterItem1.Size = new System.Drawing.Size(10, 670); |
|
270 | 356 |
// |
271 | 357 |
// layoutControlGroup3 |
272 | 358 |
// |
273 | 359 |
this.layoutControlGroup3.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { |
274 | 360 |
this.layoutControlItem1}); |
275 |
this.layoutControlGroup3.Location = new System.Drawing.Point(746, 0);
|
|
361 |
this.layoutControlGroup3.Location = new System.Drawing.Point(744, 0);
|
|
276 | 362 |
this.layoutControlGroup3.Name = "layoutControlGroup3"; |
277 |
this.layoutControlGroup3.Size = new System.Drawing.Size(357, 333);
|
|
363 |
this.layoutControlGroup3.Size = new System.Drawing.Size(359, 333);
|
|
278 | 364 |
this.layoutControlGroup3.Text = "Aveva Symbol"; |
279 | 365 |
// |
366 |
// layoutControlItem1 |
|
367 |
// |
|
368 |
this.layoutControlItem1.Control = this.treeList1; |
|
369 |
this.layoutControlItem1.Location = new System.Drawing.Point(0, 0); |
|
370 |
this.layoutControlItem1.Name = "layoutControlItem1"; |
|
371 |
this.layoutControlItem1.Size = new System.Drawing.Size(335, 288); |
|
372 |
this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0); |
|
373 |
this.layoutControlItem1.TextVisible = false; |
|
374 |
// |
|
280 | 375 |
// emptySpaceItem2 |
281 | 376 |
// |
282 | 377 |
this.emptySpaceItem2.AllowHotTrack = false; |
... | ... | |
285 | 380 |
this.emptySpaceItem2.Size = new System.Drawing.Size(11, 40); |
286 | 381 |
this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0); |
287 | 382 |
// |
288 |
// pictureEdit1 |
|
289 |
// |
|
290 |
this.pictureEdit1.Location = new System.Drawing.Point(36, 400); |
|
291 |
this.pictureEdit1.MenuManager = this.ribbonControl; |
|
292 |
this.pictureEdit1.Name = "pictureEdit1"; |
|
293 |
this.pictureEdit1.Properties.ShowCameraMenuItem = DevExpress.XtraEditors.Controls.CameraMenuItemVisibility.Auto; |
|
294 |
this.pictureEdit1.Size = new System.Drawing.Size(325, 254); |
|
295 |
this.pictureEdit1.StyleController = this.layoutControl1; |
|
296 |
this.pictureEdit1.TabIndex = 9; |
|
297 |
// |
|
298 |
// layoutControlItem5 |
|
299 |
// |
|
300 |
this.layoutControlItem5.Control = this.pictureEdit1; |
|
301 |
this.layoutControlItem5.Location = new System.Drawing.Point(0, 0); |
|
302 |
this.layoutControlItem5.Name = "layoutControlItem5"; |
|
303 |
this.layoutControlItem5.Size = new System.Drawing.Size(329, 258); |
|
304 |
this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0); |
|
305 |
this.layoutControlItem5.TextVisible = false; |
|
306 |
// |
|
307 |
// splitterItem2 |
|
308 |
// |
|
309 |
this.splitterItem2.AllowHotTrack = true; |
|
310 |
this.splitterItem2.Location = new System.Drawing.Point(0, 309); |
|
311 |
this.splitterItem2.Name = "splitterItem2"; |
|
312 |
this.splitterItem2.Size = new System.Drawing.Size(710, 12); |
|
313 |
// |
|
314 |
// pictureEdit2 |
|
315 |
// |
|
316 |
this.pictureEdit2.Location = new System.Drawing.Point(401, 400); |
|
317 |
this.pictureEdit2.MenuManager = this.ribbonControl; |
|
318 |
this.pictureEdit2.Name = "pictureEdit2"; |
|
319 |
this.pictureEdit2.Properties.ShowCameraMenuItem = DevExpress.XtraEditors.Controls.CameraMenuItemVisibility.Auto; |
|
320 |
this.pictureEdit2.Size = new System.Drawing.Size(317, 254); |
|
321 |
this.pictureEdit2.StyleController = this.layoutControl1; |
|
322 |
this.pictureEdit2.TabIndex = 10; |
|
323 |
// |
|
324 |
// layoutControlItem6 |
|
325 |
// |
|
326 |
this.layoutControlItem6.Control = this.pictureEdit2; |
|
327 |
this.layoutControlItem6.Location = new System.Drawing.Point(0, 0); |
|
328 |
this.layoutControlItem6.Name = "layoutControlItem6"; |
|
329 |
this.layoutControlItem6.Size = new System.Drawing.Size(321, 258); |
|
330 |
this.layoutControlItem6.TextSize = new System.Drawing.Size(0, 0); |
|
331 |
this.layoutControlItem6.TextVisible = false; |
|
332 |
// |
|
333 |
// splitterItem3 |
|
334 |
// |
|
335 |
this.splitterItem3.AllowHotTrack = true; |
|
336 |
this.splitterItem3.Location = new System.Drawing.Point(353, 321); |
|
337 |
this.splitterItem3.Name = "splitterItem3"; |
|
338 |
this.splitterItem3.Size = new System.Drawing.Size(12, 301); |
|
339 |
// |
|
340 |
// layoutControlGroup4 |
|
341 |
// |
|
342 |
this.layoutControlGroup4.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { |
|
343 |
this.layoutControlItem5}); |
|
344 |
this.layoutControlGroup4.Location = new System.Drawing.Point(0, 321); |
|
345 |
this.layoutControlGroup4.Name = "layoutControlGroup4"; |
|
346 |
this.layoutControlGroup4.Size = new System.Drawing.Size(353, 301); |
|
347 |
this.layoutControlGroup4.Text = "ID2 Image"; |
|
348 |
// |
|
349 |
// layoutControlGroup5 |
|
350 |
// |
|
351 |
this.layoutControlGroup5.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { |
|
352 |
this.layoutControlItem6}); |
|
353 |
this.layoutControlGroup5.Location = new System.Drawing.Point(365, 321); |
|
354 |
this.layoutControlGroup5.Name = "layoutControlGroup5"; |
|
355 |
this.layoutControlGroup5.Size = new System.Drawing.Size(345, 301); |
|
356 |
this.layoutControlGroup5.Text = "Mapped Image"; |
|
357 |
// |
|
358 |
// pictureEdit3 |
|
383 |
// layoutControlGroup6 |
|
359 | 384 |
// |
360 |
this.pictureEdit3.Location = new System.Drawing.Point(770, 388); |
|
361 |
this.pictureEdit3.MenuManager = this.ribbonControl; |
|
362 |
this.pictureEdit3.Name = "pictureEdit3"; |
|
363 |
this.pictureEdit3.Properties.ShowCameraMenuItem = DevExpress.XtraEditors.Controls.CameraMenuItemVisibility.Auto; |
|
364 |
this.pictureEdit3.Size = new System.Drawing.Size(329, 278); |
|
365 |
this.pictureEdit3.StyleController = this.layoutControl1; |
|
366 |
this.pictureEdit3.TabIndex = 11; |
|
385 |
this.layoutControlGroup6.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { |
|
386 |
this.layoutControlItem7}); |
|
387 |
this.layoutControlGroup6.Location = new System.Drawing.Point(744, 343); |
|
388 |
this.layoutControlGroup6.Name = "layoutControlGroup6"; |
|
389 |
this.layoutControlGroup6.Size = new System.Drawing.Size(359, 327); |
|
390 |
this.layoutControlGroup6.Text = "Aveva Symbol"; |
|
367 | 391 |
// |
368 | 392 |
// layoutControlItem7 |
369 | 393 |
// |
370 | 394 |
this.layoutControlItem7.Control = this.pictureEdit3; |
371 | 395 |
this.layoutControlItem7.Location = new System.Drawing.Point(0, 0); |
372 | 396 |
this.layoutControlItem7.Name = "layoutControlItem7"; |
373 |
this.layoutControlItem7.Size = new System.Drawing.Size(333, 282);
|
|
397 |
this.layoutControlItem7.Size = new System.Drawing.Size(335, 282);
|
|
374 | 398 |
this.layoutControlItem7.TextSize = new System.Drawing.Size(0, 0); |
375 | 399 |
this.layoutControlItem7.TextVisible = false; |
376 | 400 |
// |
377 |
// layoutControlGroup6 |
|
378 |
// |
|
379 |
this.layoutControlGroup6.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { |
|
380 |
this.layoutControlItem7}); |
|
381 |
this.layoutControlGroup6.Location = new System.Drawing.Point(746, 345); |
|
382 |
this.layoutControlGroup6.Name = "layoutControlGroup6"; |
|
383 |
this.layoutControlGroup6.Size = new System.Drawing.Size(357, 325); |
|
384 |
this.layoutControlGroup6.Text = "Aveva Symbol"; |
|
385 |
// |
|
386 | 401 |
// splitterItem4 |
387 | 402 |
// |
388 | 403 |
this.splitterItem4.AllowHotTrack = true; |
389 |
this.splitterItem4.Location = new System.Drawing.Point(746, 333);
|
|
404 |
this.splitterItem4.Location = new System.Drawing.Point(744, 333);
|
|
390 | 405 |
this.splitterItem4.Name = "splitterItem4"; |
391 |
this.splitterItem4.Size = new System.Drawing.Size(357, 12);
|
|
406 |
this.splitterItem4.Size = new System.Drawing.Size(359, 10);
|
|
392 | 407 |
// |
393 | 408 |
// MappingForm |
394 | 409 |
// |
... | ... | |
401 | 416 |
this.Ribbon = this.ribbonControl; |
402 | 417 |
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; |
403 | 418 |
this.Text = "Item Mapping"; |
419 |
this.WindowState = System.Windows.Forms.FormWindowState.Maximized; |
|
404 | 420 |
this.Load += new System.EventHandler(this.MappingForm_Load); |
405 | 421 |
((System.ComponentModel.ISupportInitialize)(this.ribbonControl)).EndInit(); |
406 | 422 |
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); |
407 | 423 |
this.layoutControl1.ResumeLayout(false); |
424 |
((System.ComponentModel.ISupportInitialize)(this.pictureEdit3.Properties)).EndInit(); |
|
425 |
((System.ComponentModel.ISupportInitialize)(this.pictureEdit2.Properties)).EndInit(); |
|
426 |
((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).EndInit(); |
|
427 |
((System.ComponentModel.ISupportInitialize)(this.treeList1)).EndInit(); |
|
428 |
((System.ComponentModel.ISupportInitialize)(this.gridControlSymbol)).EndInit(); |
|
429 |
((System.ComponentModel.ISupportInitialize)(this.gridViewSymbol)).EndInit(); |
|
408 | 430 |
((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit(); |
409 | 431 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit(); |
410 | 432 |
((System.ComponentModel.ISupportInitialize)(this.tabbedControlGroup1)).EndInit(); |
411 | 433 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); |
434 |
((System.ComponentModel.ISupportInitialize)(this.splitterItem2)).EndInit(); |
|
435 |
((System.ComponentModel.ISupportInitialize)(this.splitterItem3)).EndInit(); |
|
436 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup4)).EndInit(); |
|
437 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); |
|
438 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup5)).EndInit(); |
|
439 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit(); |
|
440 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup7)).EndInit(); |
|
441 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); |
|
442 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).EndInit(); |
|
412 | 443 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); |
413 | 444 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); |
414 | 445 |
((System.ComponentModel.ISupportInitialize)(this.splitterItem1)).EndInit(); |
415 |
((System.ComponentModel.ISupportInitialize)(this.gridControlSymbol)).EndInit(); |
|
416 |
((System.ComponentModel.ISupportInitialize)(this.gridViewSymbol)).EndInit(); |
|
417 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); |
|
418 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).EndInit(); |
|
419 |
((System.ComponentModel.ISupportInitialize)(this.treeList1)).EndInit(); |
|
420 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); |
|
421 | 446 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).EndInit(); |
447 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); |
|
422 | 448 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).EndInit(); |
423 |
((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).EndInit(); |
|
424 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); |
|
425 |
((System.ComponentModel.ISupportInitialize)(this.splitterItem2)).EndInit(); |
|
426 |
((System.ComponentModel.ISupportInitialize)(this.pictureEdit2.Properties)).EndInit(); |
|
427 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit(); |
|
428 |
((System.ComponentModel.ISupportInitialize)(this.splitterItem3)).EndInit(); |
|
429 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup4)).EndInit(); |
|
430 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup5)).EndInit(); |
|
431 |
((System.ComponentModel.ISupportInitialize)(this.pictureEdit3.Properties)).EndInit(); |
|
432 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit(); |
|
433 | 449 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup6)).EndInit(); |
450 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit(); |
|
434 | 451 |
((System.ComponentModel.ISupportInitialize)(this.splitterItem4)).EndInit(); |
435 | 452 |
this.ResumeLayout(false); |
436 | 453 |
this.PerformLayout(); |
... | ... | |
470 | 487 |
private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup6; |
471 | 488 |
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7; |
472 | 489 |
private DevExpress.XtraLayout.SplitterItem splitterItem4; |
490 |
private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup7; |
|
473 | 491 |
} |
474 | 492 |
} |
DTI_PID/APIDConverter/Form/MappingForm.cs | ||
---|---|---|
7 | 7 |
using System.Text; |
8 | 8 |
using System.Threading.Tasks; |
9 | 9 |
using System.Windows.Forms; |
10 |
|
|
11 |
using DevExpress.XtraEditors.Repository; |
|
12 |
using DevExpress.XtraTreeList; |
|
13 |
using DevExpress.XtraTreeList.Nodes; |
|
14 |
using DevExpress.XtraEditors.Controls; |
|
15 |
using DevExpress.XtraEditors; |
|
16 |
|
|
10 | 17 |
using AVEVA.PID.CustomizationUtility.DB; |
11 | 18 |
using AVEVA.PID.CustomizationUtility.Model; |
12 | 19 |
using AVEVA.PID.CustomizationUtility.Properties; |
... | ... | |
18 | 25 |
public MappingForm() |
19 | 26 |
{ |
20 | 27 |
InitializeComponent(); |
28 |
SetSymbolMappingTable(); |
|
29 |
} |
|
30 |
|
|
31 |
#region Grid |
|
32 |
private bool SetSymbolMappingTable() |
|
33 |
{ |
|
34 |
try |
|
35 |
{ |
|
36 |
RepositoryItemButtonEdit clearButton = new RepositoryItemButtonEdit(); |
|
37 |
clearButton.Buttons[0].Kind = ButtonPredefines.Glyph; |
|
38 |
clearButton.Buttons[0].Image = Resource.cancel_16x16; |
|
39 |
//clearButton.ButtonClick += repositoryItemButtonEdit_ButtonClick; |
|
40 |
clearButton.TextEditStyle = TextEditStyles.HideTextEditor; |
|
41 |
|
|
42 |
#region Symbol Mapping Setting |
|
43 |
DataTable dt = Project_DB.GetSymbolMappingTable(); |
|
44 |
dt.Columns.Add("Clear"); |
|
45 |
dt.Columns["Clear"].Caption = ""; |
|
46 |
#endregion |
|
47 |
|
|
48 |
gridControlSymbol.DataSource = dt; |
|
49 |
gridViewSymbol.Columns["UID"].Visible = false; |
|
50 |
gridViewSymbol.Columns["APID_SYMBOL"].Caption = "APID Symbol Name"; |
|
51 |
gridViewSymbol.Columns["Type"].GroupIndex = 0; |
|
52 |
gridViewSymbol.Columns["APID_SYMBOL"].OptionsColumn.AllowEdit = false; |
|
53 |
gridViewSymbol.Columns["Name"].OptionsColumn.AllowEdit = false; |
|
54 |
gridControlSymbol.RepositoryItems.Add(clearButton); |
|
55 |
gridViewSymbol.ExpandAllGroups(); |
|
56 |
|
|
57 |
gridViewSymbol.Columns["Clear"].ColumnEdit = clearButton; |
|
58 |
gridViewSymbol.Columns["Clear"].MaxWidth = 16; |
|
59 |
} |
|
60 |
catch (Exception ex) |
|
61 |
{ |
|
62 |
return false; |
|
63 |
} |
|
64 |
|
|
65 |
return true; |
|
21 | 66 |
} |
67 |
#endregion |
|
68 |
|
|
22 | 69 |
|
23 | 70 |
private void MappingForm_Load(object sender, EventArgs e) |
24 | 71 |
{ |
... | ... | |
29 | 76 |
DialogResult = DialogResult.Cancel; |
30 | 77 |
} |
31 | 78 |
} |
79 |
|
|
80 |
private void btnSave_Click(object sender, EventArgs e) |
|
81 |
{ |
|
82 |
DialogResult = DialogResult.OK; |
|
83 |
} |
|
84 |
|
|
85 |
private void btnClose_Click(object sender, EventArgs e) |
|
86 |
{ |
|
87 |
DialogResult = DialogResult.Cancel; |
|
88 |
} |
|
89 |
|
|
90 |
private void gridView_ShowingEditor(object sender, CancelEventArgs e) |
|
91 |
{ |
|
92 |
DevExpress.XtraGrid.Views.Grid.GridView gridview = sender as DevExpress.XtraGrid.Views.Grid.GridView; |
|
93 |
if (gridview != null) |
|
94 |
{ |
|
95 |
if (gridview.FocusedColumn.Name != "colClear") |
|
96 |
e.Cancel = true; |
|
97 |
} |
|
98 |
} |
|
32 | 99 |
} |
33 | 100 |
} |
DTI_PID/APIDConverter/PIDCustomization.cs | ||
---|---|---|
32 | 32 |
/// </summary> |
33 | 33 |
public class PIDCustomization |
34 | 34 |
{ |
35 |
private DevExpress.LookAndFeel.DefaultLookAndFeel defaultLookAndFeel = new DevExpress.LookAndFeel.DefaultLookAndFeel(); |
|
36 |
|
|
37 | 35 |
public string ProjectName { get; set; } |
38 | 36 |
public string DrawingID { get; set; } |
39 | 37 |
public string DrawingName { get; set; } |
... | ... | |
64 | 62 |
if (_instance == null) |
65 | 63 |
{ |
66 | 64 |
_instance = new PIDCustomization(); |
67 |
_instance.defaultLookAndFeel.LookAndFeel.SkinName = "Office 2016 Colorful"; |
|
68 | 65 |
} |
69 | 66 |
return _instance; |
70 | 67 |
} |
DTI_PID/APIDConverter/Properties/Resource.Designer.cs | ||
---|---|---|
63 | 63 |
/// <summary> |
64 | 64 |
/// System.Drawing.Bitmap 형식의 지역화된 리소스를 찾습니다. |
65 | 65 |
/// </summary> |
66 |
internal static System.Drawing.Bitmap cancel_16x16 { |
|
67 |
get { |
|
68 |
object obj = ResourceManager.GetObject("cancel_16x16", resourceCulture); |
|
69 |
return ((System.Drawing.Bitmap)(obj)); |
|
70 |
} |
|
71 |
} |
|
72 |
|
|
73 |
/// <summary> |
|
74 |
/// System.Drawing.Bitmap 형식의 지역화된 리소스를 찾습니다. |
|
75 |
/// </summary> |
|
66 | 76 |
internal static System.Drawing.Bitmap convert { |
67 | 77 |
get { |
68 | 78 |
object obj = ResourceManager.GetObject("convert", resourceCulture); |
DTI_PID/APIDConverter/Properties/Resource.resx | ||
---|---|---|
118 | 118 |
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
119 | 119 |
</resheader> |
120 | 120 |
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
121 |
<data name="cancel_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
|
122 |
<value>..\Resources\cancel_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
|
123 |
</data> |
|
121 | 124 |
<data name="convert" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
122 | 125 |
<value>..\Resources\convert.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
123 | 126 |
</data> |
내보내기 Unified diff