개정판 4f0c0ed6
dev issue #000 : dev bulk
Change-Id: I3e15fb48841292611d9b1ce236f2c0361fa4a417
DTI_PID/SPPIDConverter/AutoModeling.cs | ||
---|---|---|
1051 | 1051 |
{ |
1052 | 1052 |
SplashScreenManager.Default.SendCommand(SPPIDSplashScreen.SplashScreenCommand.SetAllProgress, 2); |
1053 | 1053 |
SplashScreenManager.Default.SendCommand(SPPIDSplashScreen.SplashScreenCommand.SetStep, "Bulk Attribute"); |
1054 |
SPPIDUtil.BulkAttribute(dataSource, _ETCSetting.BulkAttributes, BulkAttributeItemType.PipeRun); |
|
1054 |
|
|
1055 |
List<SPPIDModel.BulkAttribute> select = _ETCSetting.BulkAttributes.FindAll(x => x.RuleName.Equals(document.BulkAttributeName)); |
|
1056 |
if (select.Count > 0) |
|
1057 |
SPPIDUtil.BulkAttribute(dataSource, select, BulkAttributeItemType.PipeRun); |
|
1055 | 1058 |
SplashScreenManager.Default.SendCommand(SPPIDSplashScreen.SplashScreenCommand.UpProgress, null); |
1056 |
SPPIDUtil.BulkAttribute(dataSource, _ETCSetting.BulkAttributes, BulkAttributeItemType.Symbol); |
|
1059 |
if (select.Count > 0) |
|
1060 |
SPPIDUtil.BulkAttribute(dataSource, select, BulkAttributeItemType.Symbol); |
|
1057 | 1061 |
SplashScreenManager.Default.SendCommand(SPPIDSplashScreen.SplashScreenCommand.UpProgress, null); |
1058 | 1062 |
} |
1059 | 1063 |
/// <summary> |
DTI_PID/SPPIDConverter/ConverterForm.Designer.cs | ||
---|---|---|
32 | 32 |
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ConverterForm)); |
33 | 33 |
this.ribbonControl = new DevExpress.XtraBars.Ribbon.RibbonControl(); |
34 | 34 |
this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
35 |
this.comboBoxEditBulk = new DevExpress.XtraEditors.ComboBoxEdit(); |
|
35 | 36 |
this.btnID2DB = new DevExpress.XtraEditors.SimpleButton(); |
36 | 37 |
this.checkEditCloseDocument = new DevExpress.XtraEditors.CheckEdit(); |
37 | 38 |
this.btnRefresh = new DevExpress.XtraEditors.SimpleButton(); |
... | ... | |
61 | 62 |
this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); |
62 | 63 |
this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); |
63 | 64 |
this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); |
64 |
this.emptySpaceItem3 = new DevExpress.XtraLayout.EmptySpaceItem(); |
|
65 | 65 |
this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); |
66 | 66 |
this.emptySpaceItem4 = new DevExpress.XtraLayout.EmptySpaceItem(); |
67 | 67 |
this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem(); |
68 |
this.emptySpaceItem5 = new DevExpress.XtraLayout.EmptySpaceItem();
|
|
68 |
this.layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
69 | 69 |
this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); |
70 | 70 |
this.layoutControlGroupID2Project = new DevExpress.XtraLayout.LayoutControlGroup(); |
71 | 71 |
this.labelID2ProjectName = new DevExpress.XtraLayout.SimpleLabelItem(); |
... | ... | |
81 | 81 |
((System.ComponentModel.ISupportInitialize)(this.ribbonControl)).BeginInit(); |
82 | 82 |
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); |
83 | 83 |
this.layoutControl1.SuspendLayout(); |
84 |
((System.ComponentModel.ISupportInitialize)(this.comboBoxEditBulk.Properties)).BeginInit(); |
|
84 | 85 |
((System.ComponentModel.ISupportInitialize)(this.checkEditCloseDocument.Properties)).BeginInit(); |
85 | 86 |
((System.ComponentModel.ISupportInitialize)(this.comboBoxEditDefaultTemplate.Properties)).BeginInit(); |
86 | 87 |
((System.ComponentModel.ISupportInitialize)(this.buttonEditDefaultUnit.Properties)).BeginInit(); |
... | ... | |
104 | 105 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit(); |
105 | 106 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); |
106 | 107 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit(); |
107 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).BeginInit(); |
|
108 | 108 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit(); |
109 | 109 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem4)).BeginInit(); |
110 | 110 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).BeginInit(); |
111 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem5)).BeginInit();
|
|
111 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).BeginInit();
|
|
112 | 112 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit(); |
113 | 113 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroupID2Project)).BeginInit(); |
114 | 114 |
((System.ComponentModel.ISupportInitialize)(this.labelID2ProjectName)).BeginInit(); |
... | ... | |
133 | 133 |
this.ribbonControl.ShowDisplayOptionsMenuButton = DevExpress.Utils.DefaultBoolean.False; |
134 | 134 |
this.ribbonControl.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.ShowOnMultiplePages; |
135 | 135 |
this.ribbonControl.ShowToolbarCustomizeItem = false; |
136 |
this.ribbonControl.Size = new System.Drawing.Size(1258, 32);
|
|
136 |
this.ribbonControl.Size = new System.Drawing.Size(1289, 32);
|
|
137 | 137 |
this.ribbonControl.Toolbar.ShowCustomizeItem = false; |
138 | 138 |
// |
139 | 139 |
// layoutControl1 |
140 | 140 |
// |
141 |
this.layoutControl1.Controls.Add(this.comboBoxEditBulk); |
|
141 | 142 |
this.layoutControl1.Controls.Add(this.btnID2DB); |
142 | 143 |
this.layoutControl1.Controls.Add(this.checkEditCloseDocument); |
143 | 144 |
this.layoutControl1.Controls.Add(this.btnRefresh); |
... | ... | |
153 | 154 |
this.layoutControl1.Name = "layoutControl1"; |
154 | 155 |
this.layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(982, 292, 650, 400); |
155 | 156 |
this.layoutControl1.Root = this.Root; |
156 |
this.layoutControl1.Size = new System.Drawing.Size(1258, 577);
|
|
157 |
this.layoutControl1.Size = new System.Drawing.Size(1289, 581);
|
|
157 | 158 |
this.layoutControl1.TabIndex = 1; |
158 | 159 |
this.layoutControl1.Text = "layoutControl1"; |
159 | 160 |
// |
161 |
// comboBoxEditBulk |
|
162 |
// |
|
163 |
this.comboBoxEditBulk.Location = new System.Drawing.Point(697, 76); |
|
164 |
this.comboBoxEditBulk.MenuManager = this.ribbonControl; |
|
165 |
this.comboBoxEditBulk.Name = "comboBoxEditBulk"; |
|
166 |
this.comboBoxEditBulk.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { |
|
167 |
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); |
|
168 |
this.comboBoxEditBulk.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; |
|
169 |
this.comboBoxEditBulk.Size = new System.Drawing.Size(110, 20); |
|
170 |
this.comboBoxEditBulk.StyleController = this.layoutControl1; |
|
171 |
this.comboBoxEditBulk.TabIndex = 16; |
|
172 |
this.comboBoxEditBulk.SelectedIndexChanged += new System.EventHandler(this.comboBoxEditBulk_SelectedIndexChanged); |
|
173 |
// |
|
160 | 174 |
// btnID2DB |
161 | 175 |
// |
162 | 176 |
this.btnID2DB.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnID2DB.ImageOptions.SvgImage"))); |
163 |
this.btnID2DB.Location = new System.Drawing.Point(985, 58);
|
|
177 |
this.btnID2DB.Location = new System.Drawing.Point(1043, 58);
|
|
164 | 178 |
this.btnID2DB.Name = "btnID2DB"; |
165 |
this.btnID2DB.Size = new System.Drawing.Size(249, 36);
|
|
179 |
this.btnID2DB.Size = new System.Drawing.Size(222, 36);
|
|
166 | 180 |
this.btnID2DB.StyleController = this.layoutControl1; |
167 | 181 |
this.btnID2DB.TabIndex = 15; |
168 | 182 |
this.btnID2DB.Text = "Setting"; |
... | ... | |
170 | 184 |
// |
171 | 185 |
// checkEditCloseDocument |
172 | 186 |
// |
173 |
this.checkEditCloseDocument.Location = new System.Drawing.Point(753, 76);
|
|
187 |
this.checkEditCloseDocument.Location = new System.Drawing.Point(811, 76);
|
|
174 | 188 |
this.checkEditCloseDocument.MenuManager = this.ribbonControl; |
175 | 189 |
this.checkEditCloseDocument.Name = "checkEditCloseDocument"; |
176 | 190 |
this.checkEditCloseDocument.Properties.Caption = "Close Document"; |
... | ... | |
191 | 205 |
// |
192 | 206 |
// comboBoxEditDefaultTemplate |
193 | 207 |
// |
194 |
this.comboBoxEditDefaultTemplate.Location = new System.Drawing.Point(618, 76);
|
|
208 |
this.comboBoxEditDefaultTemplate.Location = new System.Drawing.Point(522, 76);
|
|
195 | 209 |
this.comboBoxEditDefaultTemplate.MenuManager = this.ribbonControl; |
196 | 210 |
this.comboBoxEditDefaultTemplate.Name = "comboBoxEditDefaultTemplate"; |
197 | 211 |
this.comboBoxEditDefaultTemplate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { |
198 | 212 |
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); |
199 | 213 |
this.comboBoxEditDefaultTemplate.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; |
200 |
this.comboBoxEditDefaultTemplate.Size = new System.Drawing.Size(118, 20);
|
|
214 |
this.comboBoxEditDefaultTemplate.Size = new System.Drawing.Size(100, 20);
|
|
201 | 215 |
this.comboBoxEditDefaultTemplate.StyleController = this.layoutControl1; |
202 | 216 |
this.comboBoxEditDefaultTemplate.TabIndex = 12; |
203 | 217 |
this.comboBoxEditDefaultTemplate.SelectedIndexChanged += new System.EventHandler(this.comboBoxEditDefaultTemplate_SelectedIndexChanged); |
204 | 218 |
// |
205 | 219 |
// buttonEditDefaultUnit |
206 | 220 |
// |
207 |
this.buttonEditDefaultUnit.Location = new System.Drawing.Point(395, 76);
|
|
221 |
this.buttonEditDefaultUnit.Location = new System.Drawing.Point(330, 76);
|
|
208 | 222 |
this.buttonEditDefaultUnit.MenuManager = this.ribbonControl; |
209 | 223 |
this.buttonEditDefaultUnit.Name = "buttonEditDefaultUnit"; |
210 | 224 |
this.buttonEditDefaultUnit.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { |
211 | 225 |
new DevExpress.XtraEditors.Controls.EditorButton()}); |
212 | 226 |
this.buttonEditDefaultUnit.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; |
213 |
this.buttonEditDefaultUnit.Size = new System.Drawing.Size(119, 20);
|
|
227 |
this.buttonEditDefaultUnit.Size = new System.Drawing.Size(88, 20);
|
|
214 | 228 |
this.buttonEditDefaultUnit.StyleController = this.layoutControl1; |
215 | 229 |
this.buttonEditDefaultUnit.TabIndex = 11; |
216 | 230 |
this.buttonEditDefaultUnit.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.buttonEditDefaulUnit_ButtonClick); |
... | ... | |
219 | 233 |
// btnRun |
220 | 234 |
// |
221 | 235 |
this.btnRun.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnRun.ImageOptions.SvgImage"))); |
222 |
this.btnRun.Location = new System.Drawing.Point(868, 58);
|
|
236 |
this.btnRun.Location = new System.Drawing.Point(926, 58);
|
|
223 | 237 |
this.btnRun.Name = "btnRun"; |
224 | 238 |
this.btnRun.Size = new System.Drawing.Size(79, 36); |
225 | 239 |
this.btnRun.StyleController = this.layoutControl1; |
... | ... | |
241 | 255 |
// btnItemMapping |
242 | 256 |
// |
243 | 257 |
this.btnItemMapping.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnItemMapping.ImageOptions.SvgImage"))); |
244 |
this.btnItemMapping.Location = new System.Drawing.Point(985, 344);
|
|
258 |
this.btnItemMapping.Location = new System.Drawing.Point(1043, 344);
|
|
245 | 259 |
this.btnItemMapping.Name = "btnItemMapping"; |
246 |
this.btnItemMapping.Size = new System.Drawing.Size(249, 36);
|
|
260 |
this.btnItemMapping.Size = new System.Drawing.Size(222, 36);
|
|
247 | 261 |
this.btnItemMapping.StyleController = this.layoutControl1; |
248 | 262 |
this.btnItemMapping.TabIndex = 7; |
249 | 263 |
this.btnItemMapping.Text = "Item Mapping Setting"; |
... | ... | |
252 | 266 |
// btnSPPIDDB |
253 | 267 |
// |
254 | 268 |
this.btnSPPIDDB.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnSPPIDDB.ImageOptions.SvgImage"))); |
255 |
this.btnSPPIDDB.Location = new System.Drawing.Point(985, 210);
|
|
269 |
this.btnSPPIDDB.Location = new System.Drawing.Point(1043, 210);
|
|
256 | 270 |
this.btnSPPIDDB.Name = "btnSPPIDDB"; |
257 |
this.btnSPPIDDB.Size = new System.Drawing.Size(249, 36);
|
|
271 |
this.btnSPPIDDB.Size = new System.Drawing.Size(222, 36);
|
|
258 | 272 |
this.btnSPPIDDB.StyleController = this.layoutControl1; |
259 | 273 |
this.btnSPPIDDB.TabIndex = 5; |
260 | 274 |
this.btnSPPIDDB.Text = "Setting"; |
... | ... | |
266 | 280 |
this.gridControlConverter.MainView = this.gridViewConverter; |
267 | 281 |
this.gridControlConverter.MenuManager = this.ribbonControl; |
268 | 282 |
this.gridControlConverter.Name = "gridControlConverter"; |
269 |
this.gridControlConverter.Size = new System.Drawing.Size(923, 453);
|
|
283 |
this.gridControlConverter.Size = new System.Drawing.Size(981, 457);
|
|
270 | 284 |
this.gridControlConverter.TabIndex = 4; |
271 | 285 |
this.gridControlConverter.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { |
272 | 286 |
this.gridViewConverter}); |
... | ... | |
291 | 305 |
this.layoutControlGroupID2Project, |
292 | 306 |
this.splitterItem1}); |
293 | 307 |
this.Root.Name = "Root"; |
294 |
this.Root.Size = new System.Drawing.Size(1258, 577);
|
|
308 |
this.Root.Size = new System.Drawing.Size(1289, 581);
|
|
295 | 309 |
this.Root.TextVisible = false; |
296 | 310 |
// |
297 | 311 |
// layoutControlGroupSPPIDDB |
... | ... | |
304 | 318 |
this.layoutControlItem2, |
305 | 319 |
this.simpleLabelItem2, |
306 | 320 |
this.simpleLabelItem1}); |
307 |
this.layoutControlGroupSPPIDDB.Location = new System.Drawing.Point(961, 152);
|
|
321 |
this.layoutControlGroupSPPIDDB.Location = new System.Drawing.Point(1019, 152);
|
|
308 | 322 |
this.layoutControlGroupSPPIDDB.Name = "layoutControlGroupSPPIDDB"; |
309 |
this.layoutControlGroupSPPIDDB.Size = new System.Drawing.Size(277, 134);
|
|
323 |
this.layoutControlGroupSPPIDDB.Size = new System.Drawing.Size(250, 134);
|
|
310 | 324 |
this.layoutControlGroupSPPIDDB.Text = "SPPID DB"; |
311 | 325 |
// |
312 | 326 |
// labelSPPIDPlantName |
... | ... | |
315 | 329 |
this.labelSPPIDPlantName.AppearanceItemCaption.Options.UseForeColor = true; |
316 | 330 |
this.labelSPPIDPlantName.Location = new System.Drawing.Point(78, 40); |
317 | 331 |
this.labelSPPIDPlantName.Name = "labelSPPIDPlantName"; |
318 |
this.labelSPPIDPlantName.Size = new System.Drawing.Size(175, 18);
|
|
332 |
this.labelSPPIDPlantName.Size = new System.Drawing.Size(148, 18);
|
|
319 | 333 |
this.labelSPPIDPlantName.Text = "SPPIDPlantName"; |
320 | 334 |
this.labelSPPIDPlantName.TextSize = new System.Drawing.Size(93, 14); |
321 | 335 |
// |
... | ... | |
325 | 339 |
this.labelSPPIDDBStatus.AppearanceItemCaption.Options.UseForeColor = true; |
326 | 340 |
this.labelSPPIDDBStatus.Location = new System.Drawing.Point(51, 58); |
327 | 341 |
this.labelSPPIDDBStatus.Name = "labelSPPIDDBStatus"; |
328 |
this.labelSPPIDDBStatus.Size = new System.Drawing.Size(202, 18);
|
|
342 |
this.labelSPPIDDBStatus.Size = new System.Drawing.Size(175, 18);
|
|
329 | 343 |
this.labelSPPIDDBStatus.Text = "SPPIDDBStatus"; |
330 | 344 |
this.labelSPPIDDBStatus.TextSize = new System.Drawing.Size(93, 14); |
331 | 345 |
// |
... | ... | |
334 | 348 |
this.layoutControlItem2.Control = this.btnSPPIDDB; |
335 | 349 |
this.layoutControlItem2.Location = new System.Drawing.Point(0, 0); |
336 | 350 |
this.layoutControlItem2.Name = "layoutControlItem2"; |
337 |
this.layoutControlItem2.Size = new System.Drawing.Size(253, 40);
|
|
351 |
this.layoutControlItem2.Size = new System.Drawing.Size(226, 40);
|
|
338 | 352 |
this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0); |
339 | 353 |
this.layoutControlItem2.TextVisible = false; |
340 | 354 |
// |
... | ... | |
374 | 388 |
this.layoutControlItem4, |
375 | 389 |
this.labelItemMappingStatus, |
376 | 390 |
this.simpleLabelItem5}); |
377 |
this.layoutControlGroupItemMapping.Location = new System.Drawing.Point(961, 286);
|
|
391 |
this.layoutControlGroupItemMapping.Location = new System.Drawing.Point(1019, 286);
|
|
378 | 392 |
this.layoutControlGroupItemMapping.Name = "layoutControlGroupItemMapping"; |
379 |
this.layoutControlGroupItemMapping.Size = new System.Drawing.Size(277, 116);
|
|
393 |
this.layoutControlGroupItemMapping.Size = new System.Drawing.Size(250, 116);
|
|
380 | 394 |
this.layoutControlGroupItemMapping.Text = "Item Mapping"; |
381 | 395 |
// |
382 | 396 |
// layoutControlItem4 |
... | ... | |
384 | 398 |
this.layoutControlItem4.Control = this.btnItemMapping; |
385 | 399 |
this.layoutControlItem4.Location = new System.Drawing.Point(0, 0); |
386 | 400 |
this.layoutControlItem4.Name = "layoutControlItem4"; |
387 |
this.layoutControlItem4.Size = new System.Drawing.Size(253, 40);
|
|
401 |
this.layoutControlItem4.Size = new System.Drawing.Size(226, 40);
|
|
388 | 402 |
this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0); |
389 | 403 |
this.layoutControlItem4.TextVisible = false; |
390 | 404 |
// |
... | ... | |
394 | 408 |
this.labelItemMappingStatus.AppearanceItemCaption.Options.UseForeColor = true; |
395 | 409 |
this.labelItemMappingStatus.Location = new System.Drawing.Point(51, 40); |
396 | 410 |
this.labelItemMappingStatus.Name = "labelItemMappingStatus"; |
397 |
this.labelItemMappingStatus.Size = new System.Drawing.Size(202, 18);
|
|
411 |
this.labelItemMappingStatus.Size = new System.Drawing.Size(175, 18);
|
|
398 | 412 |
this.labelItemMappingStatus.Text = "MappingStatus"; |
399 | 413 |
this.labelItemMappingStatus.TextSize = new System.Drawing.Size(93, 14); |
400 | 414 |
// |
... | ... | |
423 | 437 |
this.layoutControlItem6, |
424 | 438 |
this.layoutControlItem3, |
425 | 439 |
this.layoutControlItem8, |
426 |
this.emptySpaceItem3, |
|
427 | 440 |
this.layoutControlItem9, |
428 | 441 |
this.emptySpaceItem4, |
429 | 442 |
this.layoutControlItem10, |
430 |
this.emptySpaceItem5});
|
|
443 |
this.layoutControlItem11});
|
|
431 | 444 |
this.layoutControlGroupAutoConverter.Location = new System.Drawing.Point(0, 0); |
432 | 445 |
this.layoutControlGroupAutoConverter.Name = "layoutControlGroupAutoConverter"; |
433 |
this.layoutControlGroupAutoConverter.Size = new System.Drawing.Size(951, 557);
|
|
446 |
this.layoutControlGroupAutoConverter.Size = new System.Drawing.Size(1009, 561);
|
|
434 | 447 |
this.layoutControlGroupAutoConverter.Text = "Auto Converter"; |
435 | 448 |
// |
436 | 449 |
// layoutControlItem1 |
... | ... | |
438 | 451 |
this.layoutControlItem1.Control = this.gridControlConverter; |
439 | 452 |
this.layoutControlItem1.Location = new System.Drawing.Point(0, 42); |
440 | 453 |
this.layoutControlItem1.Name = "layoutControlItem1"; |
441 |
this.layoutControlItem1.Size = new System.Drawing.Size(927, 457);
|
|
454 |
this.layoutControlItem1.Size = new System.Drawing.Size(985, 461);
|
|
442 | 455 |
this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0); |
443 | 456 |
this.layoutControlItem1.TextVisible = false; |
444 | 457 |
// |
... | ... | |
459 | 472 |
this.emptySpaceItem2.AllowHotTrack = false; |
460 | 473 |
this.emptySpaceItem2.Location = new System.Drawing.Point(236, 0); |
461 | 474 |
this.emptySpaceItem2.Name = "emptySpaceItem2"; |
462 |
this.emptySpaceItem2.Size = new System.Drawing.Size(608, 18);
|
|
475 |
this.emptySpaceItem2.Size = new System.Drawing.Size(666, 18);
|
|
463 | 476 |
this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0); |
464 | 477 |
// |
465 | 478 |
// layoutControlItem6 |
466 | 479 |
// |
467 | 480 |
this.layoutControlItem6.Control = this.btnRun; |
468 |
this.layoutControlItem6.Location = new System.Drawing.Point(844, 0);
|
|
481 |
this.layoutControlItem6.Location = new System.Drawing.Point(902, 0);
|
|
469 | 482 |
this.layoutControlItem6.MaxSize = new System.Drawing.Size(83, 40); |
470 | 483 |
this.layoutControlItem6.MinSize = new System.Drawing.Size(83, 40); |
471 | 484 |
this.layoutControlItem6.Name = "layoutControlItem6"; |
... | ... | |
477 | 490 |
// layoutControlItem3 |
478 | 491 |
// |
479 | 492 |
this.layoutControlItem3.Control = this.buttonEditDefaultUnit; |
480 |
this.layoutControlItem3.Location = new System.Drawing.Point(301, 18);
|
|
493 |
this.layoutControlItem3.Location = new System.Drawing.Point(236, 18);
|
|
481 | 494 |
this.layoutControlItem3.Name = "layoutControlItem3"; |
482 |
this.layoutControlItem3.Size = new System.Drawing.Size(193, 24);
|
|
495 |
this.layoutControlItem3.Size = new System.Drawing.Size(162, 24);
|
|
483 | 496 |
this.layoutControlItem3.Text = "Default Unit"; |
484 | 497 |
this.layoutControlItem3.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; |
485 | 498 |
this.layoutControlItem3.TextSize = new System.Drawing.Size(65, 14); |
... | ... | |
488 | 501 |
// layoutControlItem8 |
489 | 502 |
// |
490 | 503 |
this.layoutControlItem8.Control = this.comboBoxEditDefaultTemplate; |
491 |
this.layoutControlItem8.Location = new System.Drawing.Point(494, 18);
|
|
504 |
this.layoutControlItem8.Location = new System.Drawing.Point(398, 18);
|
|
492 | 505 |
this.layoutControlItem8.Name = "layoutControlItem8"; |
493 |
this.layoutControlItem8.Size = new System.Drawing.Size(222, 24);
|
|
506 |
this.layoutControlItem8.Size = new System.Drawing.Size(204, 24);
|
|
494 | 507 |
this.layoutControlItem8.Text = "Default Template"; |
495 | 508 |
this.layoutControlItem8.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; |
496 | 509 |
this.layoutControlItem8.TextSize = new System.Drawing.Size(95, 14); |
497 | 510 |
this.layoutControlItem8.TextToControlDistance = 5; |
498 | 511 |
// |
499 |
// emptySpaceItem3 |
|
500 |
// |
|
501 |
this.emptySpaceItem3.AllowHotTrack = false; |
|
502 |
this.emptySpaceItem3.Location = new System.Drawing.Point(236, 18); |
|
503 |
this.emptySpaceItem3.Name = "emptySpaceItem3"; |
|
504 |
this.emptySpaceItem3.Size = new System.Drawing.Size(65, 24); |
|
505 |
this.emptySpaceItem3.TextSize = new System.Drawing.Size(0, 0); |
|
506 |
// |
|
507 | 512 |
// layoutControlItem9 |
508 | 513 |
// |
509 | 514 |
this.layoutControlItem9.Control = this.btnRefresh; |
... | ... | |
527 | 532 |
// layoutControlItem10 |
528 | 533 |
// |
529 | 534 |
this.layoutControlItem10.Control = this.checkEditCloseDocument; |
530 |
this.layoutControlItem10.Location = new System.Drawing.Point(729, 18);
|
|
535 |
this.layoutControlItem10.Location = new System.Drawing.Point(787, 18);
|
|
531 | 536 |
this.layoutControlItem10.MaxSize = new System.Drawing.Size(115, 24); |
532 | 537 |
this.layoutControlItem10.MinSize = new System.Drawing.Size(115, 24); |
533 | 538 |
this.layoutControlItem10.Name = "layoutControlItem10"; |
... | ... | |
536 | 541 |
this.layoutControlItem10.TextSize = new System.Drawing.Size(0, 0); |
537 | 542 |
this.layoutControlItem10.TextVisible = false; |
538 | 543 |
// |
539 |
// emptySpaceItem5
|
|
544 |
// layoutControlItem11
|
|
540 | 545 |
// |
541 |
this.emptySpaceItem5.AllowHotTrack = false; |
|
542 |
this.emptySpaceItem5.Location = new System.Drawing.Point(716, 18); |
|
543 |
this.emptySpaceItem5.Name = "emptySpaceItem5"; |
|
544 |
this.emptySpaceItem5.Size = new System.Drawing.Size(13, 24); |
|
545 |
this.emptySpaceItem5.TextSize = new System.Drawing.Size(0, 0); |
|
546 |
this.layoutControlItem11.Control = this.comboBoxEditBulk; |
|
547 |
this.layoutControlItem11.Location = new System.Drawing.Point(602, 18); |
|
548 |
this.layoutControlItem11.Name = "layoutControlItem11"; |
|
549 |
this.layoutControlItem11.Size = new System.Drawing.Size(185, 24); |
|
550 |
this.layoutControlItem11.Text = "Default Bulk"; |
|
551 |
this.layoutControlItem11.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; |
|
552 |
this.layoutControlItem11.TextSize = new System.Drawing.Size(66, 14); |
|
553 |
this.layoutControlItem11.TextToControlDistance = 5; |
|
546 | 554 |
// |
547 | 555 |
// emptySpaceItem1 |
548 | 556 |
// |
549 | 557 |
this.emptySpaceItem1.AllowHotTrack = false; |
550 |
this.emptySpaceItem1.Location = new System.Drawing.Point(961, 402);
|
|
558 |
this.emptySpaceItem1.Location = new System.Drawing.Point(1019, 402);
|
|
551 | 559 |
this.emptySpaceItem1.Name = "emptySpaceItem1"; |
552 |
this.emptySpaceItem1.Size = new System.Drawing.Size(277, 155);
|
|
560 |
this.emptySpaceItem1.Size = new System.Drawing.Size(250, 159);
|
|
553 | 561 |
this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0); |
554 | 562 |
// |
555 | 563 |
// layoutControlGroupID2Project |
... | ... | |
564 | 572 |
this.layoutControlItem7, |
565 | 573 |
this.labelDBType, |
566 | 574 |
this.simpleLabelItem7}); |
567 |
this.layoutControlGroupID2Project.Location = new System.Drawing.Point(961, 0);
|
|
575 |
this.layoutControlGroupID2Project.Location = new System.Drawing.Point(1019, 0);
|
|
568 | 576 |
this.layoutControlGroupID2Project.Name = "layoutControlGroupID2Project"; |
569 |
this.layoutControlGroupID2Project.Size = new System.Drawing.Size(277, 152);
|
|
577 |
this.layoutControlGroupID2Project.Size = new System.Drawing.Size(250, 152);
|
|
570 | 578 |
this.layoutControlGroupID2Project.Text = "ID2 Project"; |
571 | 579 |
// |
572 | 580 |
// labelID2ProjectName |
... | ... | |
575 | 583 |
this.labelID2ProjectName.AppearanceItemCaption.Options.UseForeColor = true; |
576 | 584 |
this.labelID2ProjectName.Location = new System.Drawing.Point(90, 40); |
577 | 585 |
this.labelID2ProjectName.Name = "labelID2ProjectName"; |
578 |
this.labelID2ProjectName.Size = new System.Drawing.Size(163, 18);
|
|
586 |
this.labelID2ProjectName.Size = new System.Drawing.Size(136, 18);
|
|
579 | 587 |
this.labelID2ProjectName.Text = "ID2ProjectName"; |
580 | 588 |
this.labelID2ProjectName.TextSize = new System.Drawing.Size(93, 14); |
581 | 589 |
// |
... | ... | |
585 | 593 |
this.labelID2ProjectStatus.AppearanceItemCaption.Options.UseForeColor = true; |
586 | 594 |
this.labelID2ProjectStatus.Location = new System.Drawing.Point(51, 76); |
587 | 595 |
this.labelID2ProjectStatus.Name = "labelID2ProjectStatus"; |
588 |
this.labelID2ProjectStatus.Size = new System.Drawing.Size(202, 18);
|
|
596 |
this.labelID2ProjectStatus.Size = new System.Drawing.Size(175, 18);
|
|
589 | 597 |
this.labelID2ProjectStatus.Text = "ID2ProjectStatus"; |
590 | 598 |
this.labelID2ProjectStatus.TextSize = new System.Drawing.Size(93, 14); |
591 | 599 |
// |
... | ... | |
622 | 630 |
this.layoutControlItem7.Control = this.btnID2DB; |
623 | 631 |
this.layoutControlItem7.Location = new System.Drawing.Point(0, 0); |
624 | 632 |
this.layoutControlItem7.Name = "layoutControlItem7"; |
625 |
this.layoutControlItem7.Size = new System.Drawing.Size(253, 40);
|
|
633 |
this.layoutControlItem7.Size = new System.Drawing.Size(226, 40);
|
|
626 | 634 |
this.layoutControlItem7.TextSize = new System.Drawing.Size(0, 0); |
627 | 635 |
this.layoutControlItem7.TextVisible = false; |
628 | 636 |
// |
... | ... | |
633 | 641 |
this.labelDBType.Location = new System.Drawing.Point(63, 58); |
634 | 642 |
this.labelDBType.MinSize = new System.Drawing.Size(97, 18); |
635 | 643 |
this.labelDBType.Name = "labelDBType"; |
636 |
this.labelDBType.Size = new System.Drawing.Size(190, 18);
|
|
644 |
this.labelDBType.Size = new System.Drawing.Size(163, 18);
|
|
637 | 645 |
this.labelDBType.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
638 | 646 |
this.labelDBType.Text = "DB Type"; |
639 | 647 |
this.labelDBType.TextSize = new System.Drawing.Size(93, 14); |
... | ... | |
655 | 663 |
// splitterItem1 |
656 | 664 |
// |
657 | 665 |
this.splitterItem1.AllowHotTrack = true; |
658 |
this.splitterItem1.Location = new System.Drawing.Point(951, 0);
|
|
666 |
this.splitterItem1.Location = new System.Drawing.Point(1009, 0);
|
|
659 | 667 |
this.splitterItem1.Name = "splitterItem1"; |
660 |
this.splitterItem1.Size = new System.Drawing.Size(10, 557);
|
|
668 |
this.splitterItem1.Size = new System.Drawing.Size(10, 561);
|
|
661 | 669 |
// |
662 | 670 |
// xtraFolderBrowserDialog |
663 | 671 |
// |
... | ... | |
675 | 683 |
// |
676 | 684 |
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F); |
677 | 685 |
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
678 |
this.ClientSize = new System.Drawing.Size(1258, 609);
|
|
686 |
this.ClientSize = new System.Drawing.Size(1289, 613);
|
|
679 | 687 |
this.Controls.Add(this.layoutControl1); |
680 | 688 |
this.Controls.Add(this.ribbonControl); |
681 | 689 |
this.Name = "ConverterForm"; |
... | ... | |
686 | 694 |
((System.ComponentModel.ISupportInitialize)(this.ribbonControl)).EndInit(); |
687 | 695 |
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); |
688 | 696 |
this.layoutControl1.ResumeLayout(false); |
697 |
((System.ComponentModel.ISupportInitialize)(this.comboBoxEditBulk.Properties)).EndInit(); |
|
689 | 698 |
((System.ComponentModel.ISupportInitialize)(this.checkEditCloseDocument.Properties)).EndInit(); |
690 | 699 |
((System.ComponentModel.ISupportInitialize)(this.comboBoxEditDefaultTemplate.Properties)).EndInit(); |
691 | 700 |
((System.ComponentModel.ISupportInitialize)(this.buttonEditDefaultUnit.Properties)).EndInit(); |
... | ... | |
709 | 718 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit(); |
710 | 719 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); |
711 | 720 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit(); |
712 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).EndInit(); |
|
713 | 721 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit(); |
714 | 722 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem4)).EndInit(); |
715 | 723 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).EndInit(); |
716 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem5)).EndInit();
|
|
724 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).EndInit();
|
|
717 | 725 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit(); |
718 | 726 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroupID2Project)).EndInit(); |
719 | 727 |
((System.ComponentModel.ISupportInitialize)(this.labelID2ProjectName)).EndInit(); |
... | ... | |
767 | 775 |
private DevExpress.XtraEditors.ButtonEdit buttonEditDefaultUnit; |
768 | 776 |
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; |
769 | 777 |
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8; |
770 |
private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem3; |
|
771 | 778 |
private DevExpress.XtraEditors.SimpleButton btnRefresh; |
772 | 779 |
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem9; |
773 | 780 |
private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem4; |
774 | 781 |
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem10; |
775 |
private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem5; |
|
776 | 782 |
public DevExpress.XtraEditors.CheckEdit checkEditCloseDocument; |
777 | 783 |
private DevExpress.XtraEditors.SimpleButton btnID2DB; |
778 | 784 |
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7; |
779 | 785 |
private DevExpress.XtraLayout.SimpleLabelItem labelDBType; |
780 | 786 |
private DevExpress.XtraLayout.SimpleLabelItem simpleLabelItem7; |
787 |
private DevExpress.XtraEditors.ComboBoxEdit comboBoxEditBulk; |
|
788 |
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem11; |
|
781 | 789 |
} |
782 | 790 |
} |
DTI_PID/SPPIDConverter/ConverterForm.cs | ||
---|---|---|
37 | 37 |
private DataTable _SPPIDUnitDT = new DataTable(); |
38 | 38 |
private DataTable _SPPIDAttributeDT = new DataTable(); |
39 | 39 |
private RepositoryItemComboBox templateComboBox; |
40 |
private RepositoryItemComboBox bulkRuleComboBox; |
|
40 | 41 |
|
41 | 42 |
|
42 | 43 |
private DataTable _ID2SymbolDT = new DataTable(); |
... | ... | |
95 | 96 |
col.Caption = "Drawing Number"; |
96 | 97 |
col = _ConverterDT.Columns.Add("colDrawingName"); |
97 | 98 |
col.Caption = "Drawing Name"; |
99 |
col = _ConverterDT.Columns.Add("colRuleName"); |
|
100 |
col.Caption = "Bulk Rule Name"; |
|
98 | 101 |
col = _ConverterDT.Columns.Add("colStatus"); |
99 | 102 |
col.Caption = "Status"; |
100 | 103 |
col = _ConverterDT.Columns.Add("colUID"); |
... | ... | |
124 | 127 |
gridControlConverter.RepositoryItems.Add(templateComboBox); |
125 | 128 |
gridViewConverter.Columns["colTemplate"].ColumnEdit = templateComboBox; |
126 | 129 |
|
130 |
bulkRuleComboBox = new RepositoryItemComboBox(); |
|
131 |
bulkRuleComboBox.TextEditStyle = TextEditStyles.DisableTextEditor; |
|
132 |
bulkRuleComboBox.EditValueChanged += templateComboBox_EditValueChanged; |
|
133 |
gridControlConverter.RepositoryItems.Add(bulkRuleComboBox); |
|
134 |
gridViewConverter.Columns["colRuleName"].ColumnEdit = bulkRuleComboBox; |
|
135 |
|
|
127 | 136 |
gridViewConverter.Columns["colUnit"].OptionsColumn.AllowEdit = false; |
128 | 137 |
gridViewConverter.Columns["colDrawingFileName"].OptionsColumn.AllowEdit = false; |
129 | 138 |
gridViewConverter.Columns["colUnit"].OptionsColumn.ReadOnly = true; |
... | ... | |
143 | 152 |
|
144 | 153 |
private void gridViewConverter_RowCellClick(object sender, DevExpress.XtraGrid.Views.Grid.RowCellClickEventArgs e) |
145 | 154 |
{ |
146 |
if (e.Column.Name == "colcolTemplate") |
|
155 |
if (e.Column.Name == "colcolTemplate" || e.Column.Name == "colcolRuleName")
|
|
147 | 156 |
{ |
148 | 157 |
gridViewConverter.ShowEditor(); |
149 | 158 |
(gridViewConverter.ActiveEditor as ComboBoxEdit).ShowPopup(); |
... | ... | |
387 | 396 |
{ |
388 | 397 |
buttonEditDefaultUnit.TextChanged -= new EventHandler(buttonEditDefaultUnit_TextChanged); |
389 | 398 |
comboBoxEditDefaultTemplate.SelectedIndexChanged -= new EventHandler(comboBoxEditDefaultTemplate_SelectedIndexChanged); |
399 |
comboBoxEditBulk.SelectedIndexChanged -= new System.EventHandler(this.comboBoxEditBulk_SelectedIndexChanged); |
|
390 | 400 |
|
391 | 401 |
Project_Info _ProjectInfo = Project_Info.GetInstance(); |
392 | 402 |
if (_ProjectInfo.Enable) |
... | ... | |
403 | 413 |
comboBoxEditDefaultTemplate.Properties.Items.Clear(); |
404 | 414 |
buttonEditDefaultUnit.Text = ""; |
405 | 415 |
|
416 |
|
|
417 |
// Bulk Attribute |
|
418 |
RefreshBulkRule(); |
|
419 |
|
|
406 | 420 |
SPPID_DBInfo _SPPIDInfo = SPPID_DBInfo.GetInstance(); |
407 | 421 |
if (_SPPIDInfo.Enable) |
408 | 422 |
{ |
... | ... | |
433 | 447 |
if (!string.IsNullOrEmpty(Settings.Default.DefaultTemplate) && comboBoxEditDefaultTemplate.Properties.Items.Contains(Settings.Default.DefaultTemplate)) |
434 | 448 |
comboBoxEditDefaultTemplate.SelectedItem = Settings.Default.DefaultTemplate; |
435 | 449 |
|
450 |
if (!string.IsNullOrEmpty(Settings.Default.DefaultBulkRule) && comboBoxEditBulk.Properties.Items.Contains(Settings.Default.DefaultBulkRule)) |
|
451 |
comboBoxEditBulk.SelectedItem = Settings.Default.DefaultBulkRule; |
|
452 |
|
|
436 | 453 |
// Unit 있는지 없는지 검사 필요 |
437 | 454 |
if (!string.IsNullOrEmpty(Settings.Default.DefaultUnit)) |
438 | 455 |
buttonEditDefaultUnit.Text = Settings.Default.DefaultUnit; |
... | ... | |
451 | 468 |
|
452 | 469 |
buttonEditDefaultUnit.TextChanged += new EventHandler(buttonEditDefaultUnit_TextChanged); |
453 | 470 |
comboBoxEditDefaultTemplate.SelectedIndexChanged += new EventHandler(comboBoxEditDefaultTemplate_SelectedIndexChanged); |
471 |
comboBoxEditBulk.SelectedIndexChanged += new System.EventHandler(this.comboBoxEditBulk_SelectedIndexChanged); |
|
454 | 472 |
} |
455 | 473 |
|
456 | 474 |
private void InitSPPIDSymbolTreeTable() |
... | ... | |
540 | 558 |
row["colUID"] = ""; |
541 | 559 |
if (comboBoxEditDefaultTemplate.SelectedIndex > -1) |
542 | 560 |
row["colTemplate"] = comboBoxEditDefaultTemplate.SelectedItem; |
561 |
if (comboBoxEditBulk.SelectedIndex > -1) |
|
562 |
row["colRuleName"] = comboBoxEditBulk.SelectedItem; |
|
543 | 563 |
if (!string.IsNullOrEmpty(buttonEditDefaultUnit.Text)) |
544 | 564 |
row["colUnit"] = buttonEditDefaultUnit.Text; |
545 | 565 |
|
... | ... | |
559 | 579 |
|
560 | 580 |
if (comboBoxEditDefaultTemplate.SelectedIndex > -1) |
561 | 581 |
row["colTemplate"] = comboBoxEditDefaultTemplate.SelectedItem; |
582 |
if (comboBoxEditBulk.SelectedIndex > -1) |
|
583 |
row["colRuleName"] = comboBoxEditBulk.SelectedItem; |
|
562 | 584 |
if (!string.IsNullOrEmpty(buttonEditDefaultUnit.Text)) |
563 | 585 |
row["colUnit"] = buttonEditDefaultUnit.Text; |
564 | 586 |
|
... | ... | |
611 | 633 |
string _Template = gridViewConverter.GetRowCellDisplayText(rowHandle, "colTemplate"); |
612 | 634 |
string _DrawingNumber = gridViewConverter.GetRowCellDisplayText(rowHandle, "colDrawingNumber"); |
613 | 635 |
string _DrawingName = gridViewConverter.GetRowCellDisplayText(rowHandle, "colDrawingName"); |
614 |
|
|
636 |
string _RuleName = gridViewConverter.GetRowCellDisplayText(rowHandle, "colRuleName"); |
|
615 | 637 |
DataRow[] rows = tDrawing.Select(string.Format("NAME = '{0}'", Path.GetFileNameWithoutExtension(_FilePath) + ".png")); |
616 | 638 |
if (rows.Length != 1) |
617 | 639 |
continue; |
... | ... | |
622 | 644 |
document.DrawingNumber = _DrawingNumber; |
623 | 645 |
document.DrawingName = _DrawingName; |
624 | 646 |
document.UID = rows[0]["UID"].ToString(); |
647 |
document.BulkAttributeName = _RuleName; |
|
625 | 648 |
|
626 | 649 |
document.SymbolTable = _ID2SymbolTable; |
627 | 650 |
document.SymbolMappings = symbolMappings; |
... | ... | |
663 | 686 |
MappingForm form = new MappingForm(_ID2SymbolDT,_SPPIDSymbolPathDT, _ID2LineDT, _ID2LinePropertyDT, _ID2AttributeDT, _SPPIDAttributeDT, _ID2DrawingAttributeDT); |
664 | 687 |
form.ShowDialog(); |
665 | 688 |
InitMapping(); |
689 |
RefreshBulkRule(); |
|
666 | 690 |
} |
667 | 691 |
private List<int> prevSelectedList = new List<int>(); |
668 | 692 |
|
... | ... | |
781 | 805 |
Settings.Default.Save(); |
782 | 806 |
} |
783 | 807 |
|
808 |
private void comboBoxEditBulk_SelectedIndexChanged(object sender, EventArgs e) |
|
809 |
{ |
|
810 |
Settings.Default.DefaultBulkRule = comboBoxEditBulk.SelectedItem.ToString(); |
|
811 |
Settings.Default.Save(); |
|
812 |
} |
|
813 |
|
|
814 |
private void RefreshBulkRule() |
|
815 |
{ |
|
816 |
ETCSetting eTCSetting = ETCSetting.GetInstance(); |
|
817 |
bulkRuleComboBox.Items.Clear(); |
|
818 |
bulkRuleComboBox.Items.Add(""); |
|
819 |
foreach (var item in eTCSetting.BulkAttributes) |
|
820 |
if (!bulkRuleComboBox.Items.Contains(item.RuleName)) |
|
821 |
bulkRuleComboBox.Items.Add(item.RuleName); |
|
822 |
|
|
823 |
for (int i = 0; i < gridViewConverter.DataRowCount; i++) |
|
824 |
{ |
|
825 |
DataRow row = gridViewConverter.GetDataRow(i); |
|
826 |
object data = row["colRuleName"]; |
|
827 |
if (data != null && !DBNull.Value.Equals(data)) |
|
828 |
{ |
|
829 |
string sData = data.ToString(); |
|
830 |
if (eTCSetting.BulkAttributes.Find(x => x.RuleName.Equals(sData)) == null) |
|
831 |
row["colRuleName"] = string.Empty; |
|
832 |
} |
|
833 |
} |
|
834 |
|
|
835 |
comboBoxEditBulk.Properties.Items.Clear(); |
|
836 |
comboBoxEditBulk.Properties.Items.Add(""); |
|
837 |
foreach (var item in eTCSetting.BulkAttributes) |
|
838 |
if (!comboBoxEditBulk.Properties.Items.Contains(item.RuleName)) |
|
839 |
comboBoxEditBulk.Properties.Items.Add(item.RuleName); |
|
840 |
if (eTCSetting.BulkAttributes.Find(x => x.RuleName.Equals(comboBoxEditBulk.Text)) == null) |
|
841 |
comboBoxEditBulk.SelectedIndex = 0; |
|
842 |
} |
|
843 |
|
|
784 | 844 |
|
785 | 845 |
} |
786 | 846 |
} |
DTI_PID/SPPIDConverter/Form/MappingForm.Designer.cs | ||
---|---|---|
31 | 31 |
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MappingForm)); |
32 | 32 |
this.ribbonControl = new DevExpress.XtraBars.Ribbon.RibbonControl(); |
33 | 33 |
this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
34 |
this.gridControlBulkAttribute = new DevExpress.XtraGrid.GridControl(); |
|
35 |
this.gridViewBulkAttribute = new DevExpress.XtraGrid.Views.Grid.GridView(); |
|
34 |
this.textEditRuleName = new DevExpress.XtraEditors.TextEdit(); |
|
35 |
this.btnAddNewChild = new DevExpress.XtraEditors.SimpleButton(); |
|
36 |
this.btnAddNewBulk = new DevExpress.XtraEditors.SimpleButton(); |
|
37 |
this.treeListBulkAttribute = new DevExpress.XtraTreeList.TreeList(); |
|
36 | 38 |
this.radioGroupUnit = new DevExpress.XtraEditors.RadioGroup(); |
37 | 39 |
this.gridControlDrawingAttribute = new DevExpress.XtraGrid.GridControl(); |
38 | 40 |
this.gridViewDrawingAttribute = new DevExpress.XtraGrid.Views.Grid.GridView(); |
... | ... | |
82 | 84 |
this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem(); |
83 | 85 |
this.splitterItem3 = new DevExpress.XtraLayout.SplitterItem(); |
84 | 86 |
this.tabbedControlGroup = new DevExpress.XtraLayout.TabbedControlGroup(); |
85 |
this.GroupETCSetting = new DevExpress.XtraLayout.LayoutControlGroup(); |
|
86 |
this.layoutControlGroup9 = new DevExpress.XtraLayout.LayoutControlGroup(); |
|
87 |
this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
88 |
this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
89 |
this.layoutControlItem16 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
90 |
this.layoutControlItem17 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
91 |
this.layoutControlGroup10 = new DevExpress.XtraLayout.LayoutControlGroup(); |
|
92 |
this.layoutControlItem14 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
93 |
this.layoutControlGroup12 = new DevExpress.XtraLayout.LayoutControlGroup(); |
|
94 |
this.layoutControlItem24 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
95 |
this.layoutControlGroup13 = new DevExpress.XtraLayout.LayoutControlGroup(); |
|
96 |
this.layoutControlItem28 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
97 |
this.layoutControlGroup14 = new DevExpress.XtraLayout.LayoutControlGroup(); |
|
98 |
this.layoutControlItem29 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
99 |
this.layoutControlGroup16 = new DevExpress.XtraLayout.LayoutControlGroup(); |
|
100 |
this.layoutControlItem31 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
101 |
this.layoutControlGroup17 = new DevExpress.XtraLayout.LayoutControlGroup(); |
|
102 |
this.layoutControlItem32 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
103 | 87 |
this.GroupSymbol = new DevExpress.XtraLayout.LayoutControlGroup(); |
104 | 88 |
this.splitterItem1 = new DevExpress.XtraLayout.SplitterItem(); |
105 | 89 |
this.layoutControlGroup3 = new DevExpress.XtraLayout.LayoutControlGroup(); |
... | ... | |
123 | 107 |
this.splitterItem6 = new DevExpress.XtraLayout.SplitterItem(); |
124 | 108 |
this.layoutControlGroup15 = new DevExpress.XtraLayout.LayoutControlGroup(); |
125 | 109 |
this.layoutControlItem30 = new DevExpress.XtraLayout.LayoutControlItem(); |
110 |
this.GroupETCSetting = new DevExpress.XtraLayout.LayoutControlGroup(); |
|
111 |
this.layoutControlGroup9 = new DevExpress.XtraLayout.LayoutControlGroup(); |
|
112 |
this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
113 |
this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
114 |
this.layoutControlItem16 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
115 |
this.layoutControlItem17 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
116 |
this.layoutControlGroup10 = new DevExpress.XtraLayout.LayoutControlGroup(); |
|
117 |
this.layoutControlItem14 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
118 |
this.layoutControlGroup12 = new DevExpress.XtraLayout.LayoutControlGroup(); |
|
119 |
this.layoutControlItem24 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
120 |
this.layoutControlGroup13 = new DevExpress.XtraLayout.LayoutControlGroup(); |
|
121 |
this.layoutControlItem28 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
122 |
this.layoutControlGroup14 = new DevExpress.XtraLayout.LayoutControlGroup(); |
|
123 |
this.layoutControlItem29 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
124 |
this.layoutControlGroup16 = new DevExpress.XtraLayout.LayoutControlGroup(); |
|
125 |
this.layoutControlItem31 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
126 |
this.layoutControlGroup17 = new DevExpress.XtraLayout.LayoutControlGroup(); |
|
127 |
this.layoutControlItem32 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
128 |
this.layoutControlItem33 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
129 |
this.layoutControlItem34 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
130 |
this.emptySpaceItem5 = new DevExpress.XtraLayout.EmptySpaceItem(); |
|
131 |
this.layoutControlItem35 = new DevExpress.XtraLayout.LayoutControlItem(); |
|
132 |
this.emptySpaceItem3 = new DevExpress.XtraLayout.EmptySpaceItem(); |
|
126 | 133 |
this.GroupGridSetting = new DevExpress.XtraLayout.LayoutControlGroup(); |
127 | 134 |
this.emptySpaceItem4 = new DevExpress.XtraLayout.EmptySpaceItem(); |
128 | 135 |
this.layoutControlGroupSnapGrid = new DevExpress.XtraLayout.LayoutControlGroup(); |
... | ... | |
139 | 146 |
((System.ComponentModel.ISupportInitialize)(this.ribbonControl)).BeginInit(); |
140 | 147 |
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); |
141 | 148 |
this.layoutControl1.SuspendLayout(); |
142 |
((System.ComponentModel.ISupportInitialize)(this.gridControlBulkAttribute)).BeginInit();
|
|
143 |
((System.ComponentModel.ISupportInitialize)(this.gridViewBulkAttribute)).BeginInit();
|
|
149 |
((System.ComponentModel.ISupportInitialize)(this.textEditRuleName.Properties)).BeginInit();
|
|
150 |
((System.ComponentModel.ISupportInitialize)(this.treeListBulkAttribute)).BeginInit();
|
|
144 | 151 |
((System.ComponentModel.ISupportInitialize)(this.radioGroupUnit.Properties)).BeginInit(); |
145 | 152 |
((System.ComponentModel.ISupportInitialize)(this.gridControlDrawingAttribute)).BeginInit(); |
146 | 153 |
((System.ComponentModel.ISupportInitialize)(this.gridViewDrawingAttribute)).BeginInit(); |
... | ... | |
184 | 191 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).BeginInit(); |
185 | 192 |
((System.ComponentModel.ISupportInitialize)(this.splitterItem3)).BeginInit(); |
186 | 193 |
((System.ComponentModel.ISupportInitialize)(this.tabbedControlGroup)).BeginInit(); |
187 |
((System.ComponentModel.ISupportInitialize)(this.GroupETCSetting)).BeginInit(); |
|
188 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup9)).BeginInit(); |
|
189 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); |
|
190 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit(); |
|
191 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).BeginInit(); |
|
192 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).BeginInit(); |
|
193 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup10)).BeginInit(); |
|
194 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).BeginInit(); |
|
195 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup12)).BeginInit(); |
|
196 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem24)).BeginInit(); |
|
197 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup13)).BeginInit(); |
|
198 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem28)).BeginInit(); |
|
199 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup14)).BeginInit(); |
|
200 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem29)).BeginInit(); |
|
201 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup16)).BeginInit(); |
|
202 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem31)).BeginInit(); |
|
203 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup17)).BeginInit(); |
|
204 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem32)).BeginInit(); |
|
205 | 194 |
((System.ComponentModel.ISupportInitialize)(this.GroupSymbol)).BeginInit(); |
206 | 195 |
((System.ComponentModel.ISupportInitialize)(this.splitterItem1)).BeginInit(); |
207 | 196 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).BeginInit(); |
... | ... | |
225 | 214 |
((System.ComponentModel.ISupportInitialize)(this.splitterItem6)).BeginInit(); |
226 | 215 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup15)).BeginInit(); |
227 | 216 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem30)).BeginInit(); |
217 |
((System.ComponentModel.ISupportInitialize)(this.GroupETCSetting)).BeginInit(); |
|
218 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup9)).BeginInit(); |
|
219 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); |
|
220 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit(); |
|
221 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).BeginInit(); |
|
222 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).BeginInit(); |
|
223 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup10)).BeginInit(); |
|
224 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).BeginInit(); |
|
225 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup12)).BeginInit(); |
|
226 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem24)).BeginInit(); |
|
227 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup13)).BeginInit(); |
|
228 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem28)).BeginInit(); |
|
229 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup14)).BeginInit(); |
|
230 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem29)).BeginInit(); |
|
231 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup16)).BeginInit(); |
|
232 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem31)).BeginInit(); |
|
233 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup17)).BeginInit(); |
|
234 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem32)).BeginInit(); |
|
235 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem33)).BeginInit(); |
|
236 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem34)).BeginInit(); |
|
237 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem5)).BeginInit(); |
|
238 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem35)).BeginInit(); |
|
239 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).BeginInit(); |
|
228 | 240 |
((System.ComponentModel.ISupportInitialize)(this.GroupGridSetting)).BeginInit(); |
229 | 241 |
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem4)).BeginInit(); |
230 | 242 |
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroupSnapGrid)).BeginInit(); |
... | ... | |
252 | 264 |
this.ribbonControl.ShowDisplayOptionsMenuButton = DevExpress.Utils.DefaultBoolean.False; |
253 | 265 |
this.ribbonControl.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.ShowOnMultiplePages; |
254 | 266 |
this.ribbonControl.ShowToolbarCustomizeItem = false; |
255 |
this.ribbonControl.Size = new System.Drawing.Size(1163, 27);
|
|
267 |
this.ribbonControl.Size = new System.Drawing.Size(1171, 32);
|
|
256 | 268 |
this.ribbonControl.Toolbar.ShowCustomizeItem = false; |
257 | 269 |
// |
258 | 270 |
// layoutControl1 |
259 | 271 |
// |
260 |
this.layoutControl1.Controls.Add(this.gridControlBulkAttribute); |
|
272 |
this.layoutControl1.Controls.Add(this.textEditRuleName); |
|
273 |
this.layoutControl1.Controls.Add(this.btnAddNewChild); |
|
274 |
this.layoutControl1.Controls.Add(this.btnAddNewBulk); |
|
275 |
this.layoutControl1.Controls.Add(this.treeListBulkAttribute); |
|
261 | 276 |
this.layoutControl1.Controls.Add(this.radioGroupUnit); |
262 | 277 |
this.layoutControl1.Controls.Add(this.gridControlDrawingAttribute); |
263 | 278 |
this.layoutControl1.Controls.Add(this.textBoxVendorSymbolPath); |
... | ... | |
290 | 305 |
this.layoutControl1.Controls.Add(this.textBoxFlowMarkSymbolPath); |
291 | 306 |
this.layoutControl1.Controls.Add(this.btnBorder); |
292 | 307 |
this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; |
293 |
this.layoutControl1.Location = new System.Drawing.Point(0, 27);
|
|
308 |
this.layoutControl1.Location = new System.Drawing.Point(0, 32);
|
|
294 | 309 |
this.layoutControl1.Name = "layoutControl1"; |
295 | 310 |
this.layoutControl1.Root = this.Root; |
296 |
this.layoutControl1.Size = new System.Drawing.Size(1163, 843);
|
|
311 |
this.layoutControl1.Size = new System.Drawing.Size(1171, 842);
|
|
297 | 312 |
this.layoutControl1.TabIndex = 2; |
298 | 313 |
this.layoutControl1.Text = "layoutControl1"; |
299 | 314 |
// |
300 |
// gridControlBulkAttribute |
|
301 |
// |
|
302 |
this.gridControlBulkAttribute.Location = new System.Drawing.Point(36, 527); |
|
303 |
this.gridControlBulkAttribute.MainView = this.gridViewBulkAttribute; |
|
304 |
this.gridControlBulkAttribute.MenuManager = this.ribbonControl; |
|
305 |
this.gridControlBulkAttribute.Name = "gridControlBulkAttribute"; |
|
306 |
this.gridControlBulkAttribute.Size = new System.Drawing.Size(764, 240); |
|
307 |
this.gridControlBulkAttribute.TabIndex = 44; |
|
308 |
this.gridControlBulkAttribute.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { |
|
309 |
this.gridViewBulkAttribute}); |
|
310 |
// |
|
311 |
// gridViewBulkAttribute |
|
312 |
// |
|
313 |
this.gridViewBulkAttribute.GridControl = this.gridControlBulkAttribute; |
|
314 |
this.gridViewBulkAttribute.Name = "gridViewBulkAttribute"; |
|
315 |
this.gridViewBulkAttribute.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.True; |
|
316 |
this.gridViewBulkAttribute.OptionsView.ShowGroupPanel = false; |
|
317 |
this.gridViewBulkAttribute.CustomRowCellEditForEditing += new DevExpress.XtraGrid.Views.Grid.CustomRowCellEditEventHandler(this.gridViewBulkAttribute_CustomRowCellEditForEditing); |
|
318 |
this.gridViewBulkAttribute.KeyDown += new System.Windows.Forms.KeyEventHandler(this.gridViewBulkAttribute_KeyDown); |
|
315 |
// textEditRuleName |
|
316 |
// |
|
317 |
this.textEditRuleName.Location = new System.Drawing.Point(99, 536); |
|
318 |
this.textEditRuleName.MenuManager = this.ribbonControl; |
|
319 |
this.textEditRuleName.Name = "textEditRuleName"; |
|
320 |
this.textEditRuleName.Size = new System.Drawing.Size(163, 20); |
|
321 |
this.textEditRuleName.StyleController = this.layoutControl1; |
|
322 |
this.textEditRuleName.TabIndex = 47; |
|
323 |
// |
|
324 |
// btnAddNewChild |
|
325 |
// |
|
326 |
this.btnAddNewChild.Location = new System.Drawing.Point(367, 536); |
|
327 |
this.btnAddNewChild.Name = "btnAddNewChild"; |
|
328 |
this.btnAddNewChild.Size = new System.Drawing.Size(87, 22); |
|
329 |
this.btnAddNewChild.StyleController = this.layoutControl1; |
|
330 |
this.btnAddNewChild.TabIndex = 46; |
|
331 |
this.btnAddNewChild.Text = "Add Rule Item"; |
|
332 |
this.btnAddNewChild.Click += new System.EventHandler(this.btnAddNewChild_Click); |
|
333 |
// |
|
334 |
// btnAddNewBulk |
|
335 |
// |
|
336 |
this.btnAddNewBulk.Location = new System.Drawing.Point(266, 536); |
|
337 |
this.btnAddNewBulk.Name = "btnAddNewBulk"; |
|
338 |
this.btnAddNewBulk.Size = new System.Drawing.Size(87, 22); |
|
339 |
this.btnAddNewBulk.StyleController = this.layoutControl1; |
|
340 |
this.btnAddNewBulk.TabIndex = 45; |
|
341 |
this.btnAddNewBulk.Text = "Add New Rule"; |
|
342 |
this.btnAddNewBulk.Click += new System.EventHandler(this.btnAddNewBulk_Click); |
|
343 |
// |
|
344 |
// treeListBulkAttribute |
|
345 |
// |
|
346 |
this.treeListBulkAttribute.Cursor = System.Windows.Forms.Cursors.Default; |
|
347 |
this.treeListBulkAttribute.Location = new System.Drawing.Point(36, 562); |
|
348 |
this.treeListBulkAttribute.Name = "treeListBulkAttribute"; |
|
349 |
this.treeListBulkAttribute.Size = new System.Drawing.Size(732, 204); |
|
350 |
this.treeListBulkAttribute.TabIndex = 44; |
|
351 |
this.treeListBulkAttribute.CustomNodeCellEditForEditing += new DevExpress.XtraTreeList.GetCustomNodeCellEditEventHandler(this.treeListBulkAttribute_CustomNodeCellEditForEditing); |
|
352 |
this.treeListBulkAttribute.ShownEditor += new System.EventHandler(this.treeListBulkAttribute_ShownEditor); |
|
353 |
this.treeListBulkAttribute.KeyDown += new System.Windows.Forms.KeyEventHandler(this.treeListBulkAttribute_KeyDown); |
|
319 | 354 |
// |
320 | 355 |
// radioGroupUnit |
321 | 356 |
// |
322 |
this.radioGroupUnit.Location = new System.Drawing.Point(36, 437);
|
|
357 |
this.radioGroupUnit.Location = new System.Drawing.Point(36, 448);
|
|
323 | 358 |
this.radioGroupUnit.MenuManager = this.ribbonControl; |
324 | 359 |
this.radioGroupUnit.Name = "radioGroupUnit"; |
325 | 360 |
this.radioGroupUnit.Properties.Items.AddRange(new DevExpress.XtraEditors.Controls.RadioGroupItem[] { |
326 | 361 |
new DevExpress.XtraEditors.Controls.RadioGroupItem("Metric", "Metric"), |
327 | 362 |
new DevExpress.XtraEditors.Controls.RadioGroupItem("Imperial", "Imperial")}); |
328 |
this.radioGroupUnit.Size = new System.Drawing.Size(764, 43);
|
|
363 |
this.radioGroupUnit.Size = new System.Drawing.Size(732, 39);
|
|
329 | 364 |
this.radioGroupUnit.StyleController = this.layoutControl1; |
330 | 365 |
this.radioGroupUnit.TabIndex = 43; |
331 | 366 |
// |
332 | 367 |
// gridControlDrawingAttribute |
333 | 368 |
// |
334 |
this.gridControlDrawingAttribute.Location = new System.Drawing.Point(36, 578);
|
|
369 |
this.gridControlDrawingAttribute.Location = new System.Drawing.Point(36, 584);
|
|
335 | 370 |
this.gridControlDrawingAttribute.MainView = this.gridViewDrawingAttribute; |
336 | 371 |
this.gridControlDrawingAttribute.MenuManager = this.ribbonControl; |
337 | 372 |
this.gridControlDrawingAttribute.Name = "gridControlDrawingAttribute"; |
338 |
this.gridControlDrawingAttribute.Size = new System.Drawing.Size(764, 189);
|
|
373 |
this.gridControlDrawingAttribute.Size = new System.Drawing.Size(732, 182);
|
|
339 | 374 |
this.gridControlDrawingAttribute.TabIndex = 42; |
340 | 375 |
this.gridControlDrawingAttribute.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { |
341 | 376 |
this.gridViewDrawingAttribute}); |
... | ... | |
348 | 383 |
// |
349 | 384 |
// textBoxVendorSymbolPath |
350 | 385 |
// |
351 |
this.textBoxVendorSymbolPath.Location = new System.Drawing.Point(184, 370);
|
|
386 |
this.textBoxVendorSymbolPath.Location = new System.Drawing.Point(184, 379);
|
|
352 | 387 |
this.textBoxVendorSymbolPath.MenuManager = this.ribbonControl; |
353 | 388 |
this.textBoxVendorSymbolPath.Name = "textBoxVendorSymbolPath"; |
354 | 389 |
this.textBoxVendorSymbolPath.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { |
355 | 390 |
new DevExpress.XtraEditors.Controls.EditorButton()}); |
356 |
this.textBoxVendorSymbolPath.Size = new System.Drawing.Size(616, 20);
|
|
391 |
this.textBoxVendorSymbolPath.Size = new System.Drawing.Size(584, 20);
|
|
357 | 392 |
this.textBoxVendorSymbolPath.StyleController = this.layoutControl1; |
358 | 393 |
this.textBoxVendorSymbolPath.TabIndex = 40; |
359 | 394 |
this.textBoxVendorSymbolPath.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.textBoxETC_ButtonClick); |
... | ... | |
361 | 396 |
// btnImportData |
362 | 397 |
// |
363 | 398 |
this.btnImportData.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnImportData.ImageOptions.SvgImage"))); |
364 |
this.btnImportData.Location = new System.Drawing.Point(845, 741);
|
|
399 |
this.btnImportData.Location = new System.Drawing.Point(818, 742);
|
|
365 | 400 |
this.btnImportData.Name = "btnImportData"; |
366 |
this.btnImportData.Size = new System.Drawing.Size(294, 38);
|
|
401 |
this.btnImportData.Size = new System.Drawing.Size(329, 36);
|
|
367 | 402 |
this.btnImportData.StyleController = this.layoutControl1; |
368 | 403 |
this.btnImportData.TabIndex = 39; |
369 | 404 |
this.btnImportData.Text = "Import Mapping Data"; |
... | ... | |
372 | 407 |
// btnExportData |
373 | 408 |
// |
374 | 409 |
this.btnExportData.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnExportData.ImageOptions.SvgImage"))); |
375 |
this.btnExportData.Location = new System.Drawing.Point(845, 699);
|
|
410 |
this.btnExportData.Location = new System.Drawing.Point(818, 702);
|
|
376 | 411 |
this.btnExportData.Name = "btnExportData"; |
377 |
this.btnExportData.Size = new System.Drawing.Size(294, 38);
|
|
412 |
this.btnExportData.Size = new System.Drawing.Size(329, 36);
|
|
378 | 413 |
this.btnExportData.StyleController = this.layoutControl1; |
379 | 414 |
this.btnExportData.TabIndex = 38; |
380 | 415 |
this.btnExportData.Text = "Export Mapping Data"; |
... | ... | |
383 | 418 |
// btnExportExcel |
384 | 419 |
// |
385 | 420 |
this.btnExportExcel.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnExportExcel.ImageOptions.Image"))); |
386 |
this.btnExportExcel.Location = new System.Drawing.Point(845, 657);
|
|
421 |
this.btnExportExcel.Location = new System.Drawing.Point(818, 662);
|
|
387 | 422 |
this.btnExportExcel.Name = "btnExportExcel"; |
388 |
this.btnExportExcel.Size = new System.Drawing.Size(294, 38);
|
|
423 |
this.btnExportExcel.Size = new System.Drawing.Size(329, 36);
|
|
389 | 424 |
this.btnExportExcel.StyleController = this.layoutControl1; |
390 | 425 |
this.btnExportExcel.TabIndex = 37; |
391 | 426 |
this.btnExportExcel.Text = "Export Mapping Info to Excel"; |
... | ... | |
398 | 433 |
0, |
399 | 434 |
0, |
400 | 435 |
0}); |
401 |
this.spinEditDrainValveCellCount.Location = new System.Drawing.Point(567, 156);
|
|
436 |
this.spinEditDrainValveCellCount.Location = new System.Drawing.Point(544, 158);
|
|
402 | 437 |
this.spinEditDrainValveCellCount.MenuManager = this.ribbonControl; |
403 | 438 |
this.spinEditDrainValveCellCount.Name = "spinEditDrainValveCellCount"; |
404 | 439 |
this.spinEditDrainValveCellCount.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { |
405 | 440 |
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); |
406 | 441 |
this.spinEditDrainValveCellCount.Properties.IsFloatValue = false; |
407 | 442 |
this.spinEditDrainValveCellCount.Properties.Mask.EditMask = "N00"; |
408 |
this.spinEditDrainValveCellCount.Size = new System.Drawing.Size(221, 20);
|
|
443 |
this.spinEditDrainValveCellCount.Size = new System.Drawing.Size(212, 20);
|
|
409 | 444 |
this.spinEditDrainValveCellCount.StyleController = this.layoutControl1; |
410 | 445 |
this.spinEditDrainValveCellCount.TabIndex = 35; |
411 | 446 |
// |
... | ... | |
416 | 451 |
0, |
417 | 452 |
0, |
418 | 453 |
0}); |
419 |
this.spinEditMinSymbolGridCellCount.Location = new System.Drawing.Point(196, 156);
|
|
454 |
this.spinEditMinSymbolGridCellCount.Location = new System.Drawing.Point(196, 158);
|
|
420 | 455 |
this.spinEditMinSymbolGridCellCount.MenuManager = this.ribbonControl; |
421 | 456 |
this.spinEditMinSymbolGridCellCount.Name = "spinEditMinSymbolGridCellCount"; |
422 | 457 |
this.spinEditMinSymbolGridCellCount.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { |
423 | 458 |
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); |
424 | 459 |
this.spinEditMinSymbolGridCellCount.Properties.IsFloatValue = false; |
425 | 460 |
this.spinEditMinSymbolGridCellCount.Properties.Mask.EditMask = "N00"; |
426 |
this.spinEditMinSymbolGridCellCount.Size = new System.Drawing.Size(219, 20);
|
|
461 |
this.spinEditMinSymbolGridCellCount.Size = new System.Drawing.Size(196, 20);
|
|
427 | 462 |
this.spinEditMinSymbolGridCellCount.StyleController = this.layoutControl1; |
428 | 463 |
this.spinEditMinSymbolGridCellCount.TabIndex = 34; |
429 | 464 |
// |
430 | 465 |
// comboBoxEditUnit |
431 | 466 |
// |
432 | 467 |
this.comboBoxEditUnit.EditValue = "Inch"; |
433 |
this.comboBoxEditUnit.Location = new System.Drawing.Point(567, 101);
|
|
468 |
this.comboBoxEditUnit.Location = new System.Drawing.Point(544, 101);
|
|
434 | 469 |
this.comboBoxEditUnit.MenuManager = this.ribbonControl; |
435 | 470 |
this.comboBoxEditUnit.Name = "comboBoxEditUnit"; |
436 | 471 |
this.comboBoxEditUnit.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { |
437 | 472 |
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); |
438 | 473 |
this.comboBoxEditUnit.Properties.Items.AddRange(new object[] { |
439 | 474 |
"Inch"}); |
440 |
this.comboBoxEditUnit.Size = new System.Drawing.Size(233, 20);
|
|
475 |
this.comboBoxEditUnit.Size = new System.Drawing.Size(224, 20);
|
|
441 | 476 |
this.comboBoxEditUnit.StyleController = this.layoutControl1; |
442 | 477 |
this.comboBoxEditUnit.TabIndex = 33; |
443 | 478 |
// |
... | ... | |
458 | 493 |
0, |
459 | 494 |
0, |
460 | 495 |
131072}); |
461 |
this.spinEditDensity.Size = new System.Drawing.Size(231, 20);
|
|
496 |
this.spinEditDensity.Size = new System.Drawing.Size(208, 20);
|
|
462 | 497 |
this.spinEditDensity.StyleController = this.layoutControl1; |
463 | 498 |
this.spinEditDensity.TabIndex = 32; |
464 | 499 |
// |
465 | 500 |
// checkComboBoxLineNumberLocation |
466 | 501 |
// |
467 |
this.checkComboBoxLineNumberLocation.Location = new System.Drawing.Point(557, 78);
|
|
502 |
this.checkComboBoxLineNumberLocation.Location = new System.Drawing.Point(532, 79);
|
|
468 | 503 |
this.checkComboBoxLineNumberLocation.MenuManager = this.ribbonControl; |
469 | 504 |
this.checkComboBoxLineNumberLocation.Name = "checkComboBoxLineNumberLocation"; |
470 | 505 |
this.checkComboBoxLineNumberLocation.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { |
471 | 506 |
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); |
472 |
this.checkComboBoxLineNumberLocation.Size = new System.Drawing.Size(243, 20);
|
|
507 |
this.checkComboBoxLineNumberLocation.Size = new System.Drawing.Size(236, 20);
|
|
473 | 508 |
this.checkComboBoxLineNumberLocation.StyleController = this.layoutControl1; |
474 | 509 |
this.checkComboBoxLineNumberLocation.TabIndex = 30; |
475 | 510 |
// |
476 | 511 |
// checkComboBoxNoteLocation |
477 | 512 |
// |
478 |
this.checkComboBoxNoteLocation.Location = new System.Drawing.Point(549, 169);
|
|
513 |
this.checkComboBoxNoteLocation.Location = new System.Drawing.Point(524, 172);
|
|
479 | 514 |
this.checkComboBoxNoteLocation.MenuManager = this.ribbonControl; |
480 | 515 |
this.checkComboBoxNoteLocation.Name = "checkComboBoxNoteLocation"; |
481 | 516 |
this.checkComboBoxNoteLocation.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { |
482 | 517 |
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); |
483 |
this.checkComboBoxNoteLocation.Size = new System.Drawing.Size(251, 20);
|
|
518 |
this.checkComboBoxNoteLocation.Size = new System.Drawing.Size(244, 20);
|
|
484 | 519 |
this.checkComboBoxNoteLocation.StyleController = this.layoutControl1; |
485 | 520 |
this.checkComboBoxNoteLocation.TabIndex = 29; |
486 | 521 |
// |
487 | 522 |
// checkComboBoxTextLocation |
488 | 523 |
// |
489 |
this.checkComboBoxTextLocation.Location = new System.Drawing.Point(549, 145);
|
|
524 |
this.checkComboBoxTextLocation.Location = new System.Drawing.Point(524, 148);
|
|
490 | 525 |
this.checkComboBoxTextLocation.MenuManager = this.ribbonControl; |
491 | 526 |
this.checkComboBoxTextLocation.Name = "checkComboBoxTextLocation"; |
492 | 527 |
this.checkComboBoxTextLocation.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { |
493 | 528 |
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); |
494 |
this.checkComboBoxTextLocation.Size = new System.Drawing.Size(251, 20);
|
|
529 |
this.checkComboBoxTextLocation.Size = new System.Drawing.Size(244, 20);
|
|
495 | 530 |
this.checkComboBoxTextLocation.StyleController = this.layoutControl1; |
496 | 531 |
this.checkComboBoxTextLocation.TabIndex = 28; |
497 | 532 |
// |
498 | 533 |
// btnImageRefresh |
499 | 534 |
// |
500 | 535 |
this.btnImageRefresh.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnImageRefresh.ImageOptions.SvgImage"))); |
501 |
this.btnImageRefresh.Location = new System.Drawing.Point(845, 615);
|
|
536 |
this.btnImageRefresh.Location = new System.Drawing.Point(818, 622);
|
|
502 | 537 |
this.btnImageRefresh.Name = "btnImageRefresh"; |
503 |
this.btnImageRefresh.Size = new System.Drawing.Size(294, 38);
|
|
538 |
this.btnImageRefresh.Size = new System.Drawing.Size(329, 36);
|
|
504 | 539 |
this.btnImageRefresh.StyleController = this.layoutControl1; |
505 | 540 |
this.btnImageRefresh.TabIndex = 27; |
506 | 541 |
this.btnImageRefresh.Text = "Refresh SPPID Image"; |
... | ... | |
508 | 543 |
// |
509 | 544 |
// textBoxDrainValveSize |
510 | 545 |
// |
511 |
this.textBoxDrainValveSize.Location = new System.Drawing.Point(184, 303);
|
|
546 |
this.textBoxDrainValveSize.Location = new System.Drawing.Point(184, 310);
|
|
512 | 547 |
this.textBoxDrainValveSize.MenuManager = this.ribbonControl; |
513 | 548 |
this.textBoxDrainValveSize.Name = "textBoxDrainValveSize"; |
514 |
this.textBoxDrainValveSize.Size = new System.Drawing.Size(616, 20);
|
|
549 |
this.textBoxDrainValveSize.Size = new System.Drawing.Size(584, 20);
|
|
515 | 550 |
this.textBoxDrainValveSize.StyleController = this.layoutControl1; |
516 | 551 |
this.textBoxDrainValveSize.TabIndex = 26; |
517 | 552 |
// |
518 | 553 |
// textBoxNoteSymbolPath |
519 | 554 |
// |
520 |
this.textBoxNoteSymbolPath.Location = new System.Drawing.Point(184, 169);
|
|
555 |
this.textBoxNoteSymbolPath.Location = new System.Drawing.Point(184, 172);
|
|
521 | 556 |
this.textBoxNoteSymbolPath.MenuManager = this.ribbonControl; |
522 | 557 |
this.textBoxNoteSymbolPath.Name = "textBoxNoteSymbolPath"; |
523 | 558 |
this.textBoxNoteSymbolPath.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { |
524 | 559 |
new DevExpress.XtraEditors.Controls.EditorButton()}); |
525 |
this.textBoxNoteSymbolPath.Size = new System.Drawing.Size(278, 20);
|
|
560 |
this.textBoxNoteSymbolPath.Size = new System.Drawing.Size(253, 20);
|
|
526 | 561 |
this.textBoxNoteSymbolPath.StyleController = this.layoutControl1; |
527 | 562 |
this.textBoxNoteSymbolPath.TabIndex = 25; |
528 | 563 |
this.textBoxNoteSymbolPath.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.textBoxETC_ButtonClick); |
529 | 564 |
// |
530 | 565 |
// textBoxTextSymbolPath |
531 | 566 |
// |
532 |
this.textBoxTextSymbolPath.Location = new System.Drawing.Point(184, 145);
|
|
567 |
this.textBoxTextSymbolPath.Location = new System.Drawing.Point(184, 148);
|
|
533 | 568 |
this.textBoxTextSymbolPath.MenuManager = this.ribbonControl; |
534 | 569 |
this.textBoxTextSymbolPath.Name = "textBoxTextSymbolPath"; |
535 | 570 |
this.textBoxTextSymbolPath.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { |
536 | 571 |
new DevExpress.XtraEditors.Controls.EditorButton()}); |
537 |
this.textBoxTextSymbolPath.Size = new System.Drawing.Size(278, 20);
|
|
572 |
this.textBoxTextSymbolPath.Size = new System.Drawing.Size(253, 20);
|
|
538 | 573 |
this.textBoxTextSymbolPath.StyleController = this.layoutControl1; |
539 | 574 |
this.textBoxTextSymbolPath.TabIndex = 24; |
540 | 575 |
this.textBoxTextSymbolPath.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.textBoxETC_ButtonClick); |
541 | 576 |
// |
542 | 577 |
// textBoxLineNumberPath |
543 | 578 |
// |
544 |
this.textBoxLineNumberPath.Location = new System.Drawing.Point(208, 78);
|
|
579 |
this.textBoxLineNumberPath.Location = new System.Drawing.Point(208, 79);
|
|
545 | 580 |
this.textBoxLineNumberPath.MenuManager = this.ribbonControl; |
546 | 581 |
this.textBoxLineNumberPath.Name = "textBoxLineNumberPath"; |
547 | 582 |
this.textBoxLineNumberPath.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { |
548 | 583 |
new DevExpress.XtraEditors.Controls.EditorButton()}); |
549 | 584 |
this.textBoxLineNumberPath.Properties.ReadOnly = true; |
550 |
this.textBoxLineNumberPath.Size = new System.Drawing.Size(262, 20);
|
|
585 |
this.textBoxLineNumberPath.Size = new System.Drawing.Size(237, 20);
|
|
551 | 586 |
this.textBoxLineNumberPath.StyleController = this.layoutControl1; |
552 | 587 |
this.textBoxLineNumberPath.TabIndex = 23; |
553 | 588 |
this.textBoxLineNumberPath.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.textBoxLineNumberPath_ButtonClick); |
554 | 589 |
// |
555 | 590 |
// gridControlLineNumber |
556 | 591 |
// |
557 |
this.gridControlLineNumber.Location = new System.Drawing.Point(36, 102);
|
|
592 |
this.gridControlLineNumber.Location = new System.Drawing.Point(36, 103);
|
|
558 | 593 |
this.gridControlLineNumber.MainView = this.gridViewLineNumber; |
559 | 594 |
this.gridControlLineNumber.MenuManager = this.ribbonControl; |
560 | 595 |
this.gridControlLineNumber.Name = "gridControlLineNumber"; |
561 |
this.gridControlLineNumber.Size = new System.Drawing.Size(764, 665);
|
|
596 |
this.gridControlLineNumber.Size = new System.Drawing.Size(732, 663);
|
|
562 | 597 |
this.gridControlLineNumber.TabIndex = 21; |
563 | 598 |
this.gridControlLineNumber.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { |
564 | 599 |
this.gridViewLineNumber}); |
... | ... | |
573 | 608 |
// btnClose |
574 | 609 |
// |
575 | 610 |
this.btnClose.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnClose.ImageOptions.SvgImage"))); |
576 |
this.btnClose.Location = new System.Drawing.Point(1065, 795);
|
|
611 |
this.btnClose.Location = new System.Drawing.Point(1073, 794);
|
|
577 | 612 |
this.btnClose.Name = "btnClose"; |
578 | 613 |
this.btnClose.Size = new System.Drawing.Size(86, 36); |
579 | 614 |
this.btnClose.StyleController = this.layoutControl1; |
... | ... | |
583 | 618 |
// |
584 | 619 |
// gridControlAttribute |
585 | 620 |
// |
586 |
this.gridControlAttribute.Location = new System.Drawing.Point(36, 78);
|
|
621 |
this.gridControlAttribute.Location = new System.Drawing.Point(36, 79);
|
|
587 | 622 |
this.gridControlAttribute.MainView = this.gridViewAttribute; |
588 | 623 |
this.gridControlAttribute.MenuManager = this.ribbonControl; |
589 | 624 |
this.gridControlAttribute.Name = "gridControlAttribute"; |
590 |
this.gridControlAttribute.Size = new System.Drawing.Size(764, 448);
|
|
625 |
this.gridControlAttribute.Size = new System.Drawing.Size(732, 446);
|
|
591 | 626 |
this.gridControlAttribute.TabIndex = 19; |
592 | 627 |
this.gridControlAttribute.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { |
593 | 628 |
this.gridViewAttribute}); |
... | ... | |
601 | 636 |
// |
602 | 637 |
// gridControlLine |
603 | 638 |
// |
604 |
this.gridControlLine.Location = new System.Drawing.Point(36, 78);
|
|
639 |
this.gridControlLine.Location = new System.Drawing.Point(36, 79);
|
|
605 | 640 |
this.gridControlLine.MainView = this.gridViewLine; |
606 | 641 |
this.gridControlLine.MenuManager = this.ribbonControl; |
607 | 642 |
this.gridControlLine.Name = "gridControlLine"; |
608 |
this.gridControlLine.Size = new System.Drawing.Size(764, 689);
|
|
643 |
this.gridControlLine.Size = new System.Drawing.Size(732, 687);
|
|
609 | 644 |
this.gridControlLine.TabIndex = 18; |
610 | 645 |
this.gridControlLine.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { |
611 | 646 |
this.gridViewLine}); |
... | ... | |
619 | 654 |
// |
620 | 655 |
// gridControlSymbol |
621 | 656 |
// |
622 |
this.gridControlSymbol.Location = new System.Drawing.Point(36, 78);
|
|
657 |
this.gridControlSymbol.Location = new System.Drawing.Point(36, 79);
|
|
623 | 658 |
this.gridControlSymbol.MainView = this.gridViewSymbol; |
624 | 659 |
this.gridControlSymbol.MenuManager = this.ribbonControl; |
625 | 660 |
this.gridControlSymbol.Name = "gridControlSymbol"; |
626 |
this.gridControlSymbol.Size = new System.Drawing.Size(764, 304);
|
|
661 |
this.gridControlSymbol.Size = new System.Drawing.Size(732, 302);
|
|
627 | 662 |
this.gridControlSymbol.TabIndex = 16; |
628 | 663 |
this.gridControlSymbol.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { |
629 | 664 |
this.gridViewSymbol}); |
... | ... | |
639 | 674 |
// |
640 | 675 |
// pictureEditSPPIDSymbol |
641 | 676 |
// |
642 |
this.pictureEditSPPIDSymbol.Location = new System.Drawing.Point(857, 347);
|
|
677 |
this.pictureEditSPPIDSymbol.Location = new System.Drawing.Point(830, 355);
|
|
643 | 678 |
this.pictureEditSPPIDSymbol.MenuManager = this.ribbonControl; |
644 | 679 |
this.pictureEditSPPIDSymbol.Name = "pictureEditSPPIDSymbol"; |
645 | 680 |
this.pictureEditSPPIDSymbol.Properties.ShowCameraMenuItem = DevExpress.XtraEditors.Controls.CameraMenuItemVisibility.Auto; |
646 | 681 |
this.pictureEditSPPIDSymbol.Properties.SizeMode = DevExpress.XtraEditors.Controls.PictureSizeMode.Squeeze; |
647 |
this.pictureEditSPPIDSymbol.Size = new System.Drawing.Size(270, 252);
|
|
682 |
this.pictureEditSPPIDSymbol.Size = new System.Drawing.Size(305, 251);
|
|
648 | 683 |
this.pictureEditSPPIDSymbol.StyleController = this.layoutControl1; |
649 | 684 |
this.pictureEditSPPIDSymbol.TabIndex = 15; |
650 | 685 |
// |
651 | 686 |
// btnSave |
652 | 687 |
// |
653 | 688 |
this.btnSave.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnSave.ImageOptions.SvgImage"))); |
654 |
this.btnSave.Location = new System.Drawing.Point(962, 795);
|
|
689 |
this.btnSave.Location = new System.Drawing.Point(970, 794);
|
|
655 | 690 |
this.btnSave.Name = "btnSave"; |
656 | 691 |
this.btnSave.Size = new System.Drawing.Size(84, 36); |
657 | 692 |
this.btnSave.StyleController = this.layoutControl1; |
... | ... | |
662 | 697 |
// treeListSPPIDTreeList |
663 | 698 |
// |
664 | 699 |
this.treeListSPPIDTreeList.Cursor = System.Windows.Forms.Cursors.Default; |
665 |
this.treeListSPPIDTreeList.Location = new System.Drawing.Point(845, 43);
|
|
700 |
this.treeListSPPIDTreeList.Location = new System.Drawing.Point(818, 45);
|
|
666 | 701 |
this.treeListSPPIDTreeList.Name = "treeListSPPIDTreeList"; |
667 | 702 |
this.treeListSPPIDTreeList.OptionsView.ShowAutoFilterRow = true; |
668 |
this.treeListSPPIDTreeList.Size = new System.Drawing.Size(294, 264);
|
|
703 |
this.treeListSPPIDTreeList.Size = new System.Drawing.Size(329, 263);
|
|
669 | 704 |
this.treeListSPPIDTreeList.TabIndex = 12; |
670 | 705 |
this.treeListSPPIDTreeList.FocusedNodeChanged += new DevExpress.XtraTreeList.FocusedNodeChangedEventHandler(this.treeListSPPIDTreeList_FocusedNodeChanged); |
671 | 706 |
this.treeListSPPIDTreeList.DoubleClick += new System.EventHandler(this.treeListSPPIDTreeList_DoubleClick); |
672 | 707 |
// |
673 | 708 |
// pictureEditID2Symbol |
674 | 709 |
// |
675 |
this.pictureEditID2Symbol.Location = new System.Drawing.Point(36, 434);
|
|
710 |
this.pictureEditID2Symbol.Location = new System.Drawing.Point(36, 440);
|
|
676 | 711 |
this.pictureEditID2Symbol.MenuManager = this.ribbonControl; |
677 | 712 |
this.pictureEditID2Symbol.Name = "pictureEditID2Symbol"; |
678 | 713 |
this.pictureEditID2Symbol.Properties.ShowCameraMenuItem = DevExpress.XtraEditors.Controls.CameraMenuItemVisibility.Auto; |
679 | 714 |
this.pictureEditID2Symbol.Properties.SizeMode = DevExpress.XtraEditors.Controls.PictureSizeMode.Squeeze; |
680 |
this.pictureEditID2Symbol.Size = new System.Drawing.Size(364, 333);
|
|
715 |
this.pictureEditID2Symbol.Size = new System.Drawing.Size(342, 326);
|
|
681 | 716 |
this.pictureEditID2Symbol.StyleController = this.layoutControl1; |
682 | 717 |
this.pictureEditID2Symbol.TabIndex = 4; |
683 | 718 |
// |
684 | 719 |
// pictureEditMapped |
685 | 720 |
// |
686 |
this.pictureEditMapped.Location = new System.Drawing.Point(433, 434);
|
|
721 |
this.pictureEditMapped.Location = new System.Drawing.Point(416, 440);
|
|
687 | 722 |
this.pictureEditMapped.MenuManager = this.ribbonControl; |
688 | 723 |
this.pictureEditMapped.Name = "pictureEditMapped"; |
689 | 724 |
this.pictureEditMapped.Properties.ShowCameraMenuItem = DevExpress.XtraEditors.Controls.CameraMenuItemVisibility.Auto; |
690 | 725 |
this.pictureEditMapped.Properties.SizeMode = DevExpress.XtraEditors.Controls.PictureSizeMode.Squeeze; |
691 |
this.pictureEditMapped.Size = new System.Drawing.Size(367, 333);
|
|
726 |
this.pictureEditMapped.Size = new System.Drawing.Size(352, 326);
|
|
692 | 727 |
this.pictureEditMapped.StyleController = this.layoutControl1; |
693 | 728 |
this.pictureEditMapped.TabIndex = 5; |
694 | 729 |
// |
695 | 730 |
// checkEditSnapGrid |
696 | 731 |
// |
697 | 732 |
this.checkEditSnapGrid.EditValue = true; |
698 |
this.checkEditSnapGrid.Location = new System.Drawing.Point(36, 78);
|
|
733 |
this.checkEditSnapGrid.Location = new System.Drawing.Point(36, 79);
|
|
699 | 734 |
this.checkEditSnapGrid.MenuManager = this.ribbonControl; |
700 | 735 |
this.checkEditSnapGrid.Name = "checkEditSnapGrid"; |
701 | 736 |
this.checkEditSnapGrid.Properties.Caption = "Use Snap Grid"; |
702 |
this.checkEditSnapGrid.Size = new System.Drawing.Size(764, 19);
|
|
737 |
this.checkEditSnapGrid.Size = new System.Drawing.Size(732, 18);
|
|
703 | 738 |
this.checkEditSnapGrid.StyleController = this.layoutControl1; |
704 | 739 |
this.checkEditSnapGrid.TabIndex = 31; |
705 | 740 |
this.checkEditSnapGrid.CheckedChanged += new System.EventHandler(this.checkEditSnapGrid_CheckedChanged); |
706 | 741 |
// |
707 | 742 |
// textBoxFlowMarkSymbolPath |
708 | 743 |
// |
709 |
this.textBoxFlowMarkSymbolPath.Location = new System.Drawing.Point(184, 236);
|
|
744 |
this.textBoxFlowMarkSymbolPath.Location = new System.Drawing.Point(184, 241);
|
|
710 | 745 |
this.textBoxFlowMarkSymbolPath.MenuManager = this.ribbonControl; |
711 | 746 |
this.textBoxFlowMarkSymbolPath.Name = "textBoxFlowMarkSymbolPath"; |
712 | 747 |
this.textBoxFlowMarkSymbolPath.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { |
713 | 748 |
new DevExpress.XtraEditors.Controls.EditorButton()}); |
714 |
this.textBoxFlowMarkSymbolPath.Size = new System.Drawing.Size(616, 20);
|
|
749 |
this.textBoxFlowMarkSymbolPath.Size = new System.Drawing.Size(584, 20);
|
|
715 | 750 |
this.textBoxFlowMarkSymbolPath.StyleController = this.layoutControl1; |
716 | 751 |
this.textBoxFlowMarkSymbolPath.TabIndex = 36; |
717 | 752 |
this.textBoxFlowMarkSymbolPath.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.textBoxETC_ButtonClick); |
718 | 753 |
// |
719 | 754 |
// btnBorder |
720 | 755 |
// |
721 |
this.btnBorder.Location = new System.Drawing.Point(184, 78);
|
|
756 |
this.btnBorder.Location = new System.Drawing.Point(184, 79);
|
|
722 | 757 |
this.btnBorder.MenuManager = this.ribbonControl; |
723 | 758 |
this.btnBorder.Name = "btnBorder"; |
724 | 759 |
this.btnBorder.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { |
725 | 760 |
new DevExpress.XtraEditors.Controls.EditorButton()}); |
726 |
this.btnBorder.Size = new System.Drawing.Size(616, 20);
|
|
761 |
this.btnBorder.Size = new System.Drawing.Size(584, 20);
|
|
727 | 762 |
this.btnBorder.StyleController = this.layoutControl1; |
728 | 763 |
this.btnBorder.TabIndex = 41; |
729 | 764 |
this.btnBorder.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.btnBorder_ButtonClick); |
... | ... | |
741 | 776 |
this.layoutControlItem4, |
742 | 777 |
this.emptySpaceItem1}); |
743 | 778 |
this.Root.Name = "Root"; |
744 |
this.Root.Size = new System.Drawing.Size(1163, 843);
|
|
779 |
this.Root.Size = new System.Drawing.Size(1171, 842);
|
|
745 | 780 |
this.Root.TextVisible = false; |
746 | 781 |
// |
747 | 782 |
// layoutControlGroup2 |
... | ... | |
754 | 789 |
this.layoutControlItem25, |
755 | 790 |
this.layoutControlItem26, |
756 | 791 |
this.layoutControlItem27}); |
757 |
this.layoutControlGroup2.Location = new System.Drawing.Point(821, 0);
|
|
792 |
this.layoutControlGroup2.Location = new System.Drawing.Point(794, 0);
|
|
758 | 793 |
this.layoutControlGroup2.Name = "layoutControlGroup2"; |
759 |
this.layoutControlGroup2.Size = new System.Drawing.Size(322, 783);
|
|
794 |
this.layoutControlGroup2.Size = new System.Drawing.Size(357, 782);
|
|
760 | 795 |
this.layoutControlGroup2.Text = "SPPID Symbol"; |
761 | 796 |
// |
762 | 797 |
// layoutControlItem8 |
... | ... | |
764 | 799 |
this.layoutControlItem8.Control = this.treeListSPPIDTreeList; |
765 | 800 |
this.layoutControlItem8.Location = new System.Drawing.Point(0, 0); |
766 | 801 |
this.layoutControlItem8.Name = "layoutControlItem8"; |
767 |
this.layoutControlItem8.Size = new System.Drawing.Size(298, 268);
|
|
802 |
this.layoutControlItem8.Size = new System.Drawing.Size(333, 267);
|
|
768 | 803 |
this.layoutControlItem8.TextSize = new System.Drawing.Size(0, 0); |
769 | 804 |
this.layoutControlItem8.TextVisible = false; |
770 | 805 |
// |
... | ... | |
772 | 807 |
// |
773 | 808 |
this.layoutControlGroup5.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { |
774 | 809 |
this.layoutControlItem9}); |
775 |
this.layoutControlGroup5.Location = new System.Drawing.Point(0, 273);
|
|
810 |
this.layoutControlGroup5.Location = new System.Drawing.Point(0, 277);
|
|
776 | 811 |
this.layoutControlGroup5.Name = "layoutControlGroup5"; |
777 |
this.layoutControlGroup5.Size = new System.Drawing.Size(298, 299);
|
|
812 |
this.layoutControlGroup5.Size = new System.Drawing.Size(333, 300);
|
|
778 | 813 |
this.layoutControlGroup5.Text = "SPPID Image"; |
779 | 814 |
// |
780 | 815 |
// layoutControlItem9 |
... | ... | |
782 | 817 |
this.layoutControlItem9.Control = this.pictureEditSPPIDSymbol; |
783 | 818 |
this.layoutControlItem9.Location = new System.Drawing.Point(0, 0); |
784 | 819 |
this.layoutControlItem9.Name = "layoutControlItem9"; |
785 |
this.layoutControlItem9.Size = new System.Drawing.Size(274, 256);
|
|
820 |
this.layoutControlItem9.Size = new System.Drawing.Size(309, 255);
|
|
786 | 821 |
this.layoutControlItem9.TextSize = new System.Drawing.Size(0, 0); |
787 | 822 |
this.layoutControlItem9.TextVisible = false; |
788 | 823 |
// |
789 | 824 |
// splitterItem5 |
790 | 825 |
// |
791 | 826 |
this.splitterItem5.AllowHotTrack = true; |
792 |
this.splitterItem5.Location = new System.Drawing.Point(0, 268);
|
|
827 |
this.splitterItem5.Location = new System.Drawing.Point(0, 267);
|
|
793 | 828 |
this.splitterItem5.Name = "splitterItem5"; |
794 |
this.splitterItem5.Size = new System.Drawing.Size(298, 5);
|
|
829 |
this.splitterItem5.Size = new System.Drawing.Size(333, 10);
|
|
795 | 830 |
// |
796 | 831 |
// layoutControlItem15 |
797 | 832 |
// |
798 | 833 |
this.layoutControlItem15.Control = this.btnImageRefresh; |
799 |
this.layoutControlItem15.Location = new System.Drawing.Point(0, 572);
|
|
834 |
this.layoutControlItem15.Location = new System.Drawing.Point(0, 577);
|
|
800 | 835 |
this.layoutControlItem15.Name = "layoutControlItem15"; |
801 |
this.layoutControlItem15.Size = new System.Drawing.Size(298, 42);
|
|
836 |
this.layoutControlItem15.Size = new System.Drawing.Size(333, 40);
|
|
802 | 837 |
this.layoutControlItem15.TextSize = new System.Drawing.Size(0, 0); |
803 | 838 |
this.layoutControlItem15.TextVisible = false; |
804 | 839 |
// |
805 | 840 |
// layoutControlItem25 |
806 | 841 |
// |
807 | 842 |
this.layoutControlItem25.Control = this.btnExportExcel; |
808 |
this.layoutControlItem25.Location = new System.Drawing.Point(0, 614);
|
|
843 |
this.layoutControlItem25.Location = new System.Drawing.Point(0, 617);
|
|
809 | 844 |
this.layoutControlItem25.Name = "layoutControlItem25"; |
810 |
this.layoutControlItem25.Size = new System.Drawing.Size(298, 42);
|
|
845 |
this.layoutControlItem25.Size = new System.Drawing.Size(333, 40);
|
|
811 | 846 |
this.layoutControlItem25.TextSize = new System.Drawing.Size(0, 0); |
812 | 847 |
this.layoutControlItem25.TextVisible = false; |
813 | 848 |
// |
814 | 849 |
// layoutControlItem26 |
815 | 850 |
// |
816 | 851 |
this.layoutControlItem26.Control = this.btnExportData; |
817 |
this.layoutControlItem26.Location = new System.Drawing.Point(0, 656);
|
|
852 |
this.layoutControlItem26.Location = new System.Drawing.Point(0, 657);
|
|
818 | 853 |
this.layoutControlItem26.Name = "layoutControlItem26"; |
819 |
this.layoutControlItem26.Size = new System.Drawing.Size(298, 42);
|
|
854 |
this.layoutControlItem26.Size = new System.Drawing.Size(333, 40);
|
|
820 | 855 |
this.layoutControlItem26.TextSize = new System.Drawing.Size(0, 0); |
821 | 856 |
this.layoutControlItem26.TextVisible = false; |
822 | 857 |
// |
823 | 858 |
// layoutControlItem27 |
824 | 859 |
// |
825 | 860 |
this.layoutControlItem27.Control = this.btnImportData; |
826 |
this.layoutControlItem27.Location = new System.Drawing.Point(0, 698);
|
|
861 |
this.layoutControlItem27.Location = new System.Drawing.Point(0, 697);
|
|
827 | 862 |
this.layoutControlItem27.Name = "layoutControlItem27"; |
828 |
this.layoutControlItem27.Size = new System.Drawing.Size(298, 42);
|
|
863 |
this.layoutControlItem27.Size = new System.Drawing.Size(333, 40);
|
|
829 | 864 |
this.layoutControlItem27.TextSize = new System.Drawing.Size(0, 0); |
830 | 865 |
this.layoutControlItem27.TextVisible = false; |
831 | 866 |
// |
832 | 867 |
// emptySpaceItem2 |
833 | 868 |
// |
834 | 869 |
this.emptySpaceItem2.AllowHotTrack = false; |
835 |
this.emptySpaceItem2.Location = new System.Drawing.Point(0, 783);
|
|
870 |
this.emptySpaceItem2.Location = new System.Drawing.Point(0, 782);
|
|
836 | 871 |
this.emptySpaceItem2.Name = "emptySpaceItem2"; |
837 |
this.emptySpaceItem2.Size = new System.Drawing.Size(950, 40);
|
|
872 |
this.emptySpaceItem2.Size = new System.Drawing.Size(958, 40);
|
|
838 | 873 |
this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0); |
839 | 874 |
// |
840 | 875 |
// splitterItem3 |
841 | 876 |
// |
842 | 877 |
this.splitterItem3.AllowHotTrack = true; |
843 |
this.splitterItem3.Location = new System.Drawing.Point(816, 0);
|
|
878 |
this.splitterItem3.Location = new System.Drawing.Point(784, 0);
|
|
844 | 879 |
this.splitterItem3.Name = "splitterItem3"; |
845 |
this.splitterItem3.Size = new System.Drawing.Size(5, 783);
|
|
880 |
this.splitterItem3.Size = new System.Drawing.Size(10, 782);
|
|
846 | 881 |
// |
847 | 882 |
// tabbedControlGroup |
848 | 883 |
// |
849 | 884 |
this.tabbedControlGroup.Location = new System.Drawing.Point(0, 0); |
850 | 885 |
this.tabbedControlGroup.Name = "tabbedControlGroup"; |
851 | 886 |
this.tabbedControlGroup.SelectedTabPage = this.GroupSymbol; |
852 |
this.tabbedControlGroup.Size = new System.Drawing.Size(816, 783);
|
|
887 |
this.tabbedControlGroup.Size = new System.Drawing.Size(784, 782);
|
|
853 | 888 |
this.tabbedControlGroup.TabPages.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { |
854 | 889 |
this.GroupSymbol, |
855 | 890 |
this.GroupLine, |
... | ... | |
858 | 893 |
this.GroupETCSetting, |
859 | 894 |
this.GroupGridSetting}); |
860 | 895 |
// |
861 |
// GroupETCSetting |
|
862 |
// |
|
863 |
this.GroupETCSetting.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { |
|
864 |
this.layoutControlGroup9, |
|
865 |
this.layoutControlGroup10, |
|
866 |
this.layoutControlGroup12, |
|
867 |
this.layoutControlGroup13, |
|
868 |
this.layoutControlGroup14, |
|
869 |
this.layoutControlGroup16, |
|
870 |
this.layoutControlGroup17}); |
|
871 |
this.GroupETCSetting.Location = new System.Drawing.Point(0, 0); |
|
872 |
this.GroupETCSetting.Name = "GroupETCSetting"; |
|
873 |
this.GroupETCSetting.Size = new System.Drawing.Size(792, 736); |
|
874 |
this.GroupETCSetting.Text = "ETC Setting"; |
|
875 |
// |
|
876 |
// layoutControlGroup9 |
|
877 |
// |
|
878 |
this.layoutControlGroup9.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { |
|
879 |
this.layoutControlItem5, |
|
880 |
this.layoutControlItem7, |
|
881 |
this.layoutControlItem16, |
|
882 |
this.layoutControlItem17}); |
|
883 |
this.layoutControlGroup9.Location = new System.Drawing.Point(0, 67); |
|
884 |
this.layoutControlGroup9.Name = "layoutControlGroup9"; |
|
885 |
this.layoutControlGroup9.Size = new System.Drawing.Size(792, 91); |
|
886 |
this.layoutControlGroup9.Text = "Text && Note Setting"; |
|
887 |
// |
|
888 |
// layoutControlItem5 |
|
889 |
// |
|
890 |
this.layoutControlItem5.Control = this.textBoxTextSymbolPath; |
|
891 |
this.layoutControlItem5.Location = new System.Drawing.Point(0, 0); |
|
892 |
this.layoutControlItem5.Name = "layoutControlItem5"; |
|
893 |
this.layoutControlItem5.Size = new System.Drawing.Size(430, 24); |
|
894 |
this.layoutControlItem5.Text = "SPPID Text Symbol Path"; |
|
895 |
this.layoutControlItem5.TextSize = new System.Drawing.Size(145, 14); |
|
896 |
// |
|
897 |
// layoutControlItem7 |
|
898 |
// |
|
899 |
this.layoutControlItem7.Control = this.textBoxNoteSymbolPath; |
|
900 |
this.layoutControlItem7.Location = new System.Drawing.Point(0, 24); |
|
901 |
this.layoutControlItem7.Name = "layoutControlItem7"; |
|
902 |
this.layoutControlItem7.Size = new System.Drawing.Size(430, 24); |
|
903 |
this.layoutControlItem7.Text = "SPPID Note Symbol Path"; |
|
904 |
this.layoutControlItem7.TextSize = new System.Drawing.Size(145, 14); |
|
905 |
// |
|
906 |
// layoutControlItem16 |
|
907 |
// |
|
908 |
this.layoutControlItem16.Control = this.checkComboBoxTextLocation; |
|
909 |
this.layoutControlItem16.Location = new System.Drawing.Point(430, 0); |
|
910 |
this.layoutControlItem16.Name = "layoutControlItem16"; |
내보내기 Unified diff