From 0e6a1b0840fd64f8ab75f88aba3a1ca3ef4e884b Mon Sep 17 00:00:00 2001 From: tangxu <tangxu76880903> Date: 星期二, 11 六月 2024 11:05:04 +0800 Subject: [PATCH] 成行 AnaProject.db 数据库表中增加4列, StartOpenPumpIndexs , EndOpenPumpIndexs ,StartReservoirLevel,EndReservoirLevel 都是 TEXT --- WinFrmUI/IStation.WinFrmUI.CalcErQu/Wizard/pageCalcParas.designer.cs | 86 +++++++++++++++++++++---------------------- 1 files changed, 42 insertions(+), 44 deletions(-) diff --git a/WinFrmUI/IStation.WinFrmUI.CalcErQu/Wizard/pageCalcParas.designer.cs b/WinFrmUI/IStation.WinFrmUI.CalcErQu/Wizard/pageCalcParas.designer.cs index 399030a..ceca371 100644 --- a/WinFrmUI/IStation.WinFrmUI.CalcErQu/Wizard/pageCalcParas.designer.cs +++ b/WinFrmUI/IStation.WinFrmUI.CalcErQu/Wizard/pageCalcParas.designer.cs @@ -56,9 +56,8 @@ this.winBottomPnl = new DevExpress.XtraBars.Docking2010.WindowsUIButtonPanel(); this.tileNavPane1 = new DevExpress.XtraBars.Navigation.TileNavPane(); this.navButton3 = new DevExpress.XtraBars.Navigation.NavButton(); - this.textEdit褰撳墠姘村簱姘翠綅 = new DevExpress.XtraEditors.TextEdit(); + this.textEdit寮�濮嬫按搴撴按浣� = new DevExpress.XtraEditors.TextEdit(); this.reservoirParasRequestCtrl = new IStation.WinFrmUI.River.ReservoirParaRequestCtrl(); - this.imageComboCurrentOpenCount = new DevExpress.XtraEditors.ImageComboBoxEdit(); this.imageComboSouceWL = new DevExpress.XtraEditors.ImageComboBoxEdit(); this.imageComboClacOptType = new DevExpress.XtraEditors.ImageComboBoxEdit(); this.dateEditDay = new DevExpress.XtraEditors.DateEdit(); @@ -98,6 +97,7 @@ this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem(); this.windowsUIButtonPanel1 = new DevExpress.XtraBars.Docking2010.WindowsUIButtonPanel(); + this.imageComboCurrentOpenCount = new DevExpress.XtraEditors.CheckedComboBoxEdit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); this.layoutControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.spinEditEnd.Properties)).BeginInit(); @@ -109,8 +109,7 @@ ((System.ComponentModel.ISupportInitialize)(this.textEdit鏈�楂樻按浣嶉檺鍒�.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit渚涙按鎬婚噺.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tileNavPane1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.textEdit褰撳墠姘村簱姘翠綅.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.imageComboCurrentOpenCount.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.textEdit寮�濮嬫按搴撴按浣�.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.imageComboSouceWL.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.imageComboClacOptType.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dateEditDay.Properties)).BeginInit(); @@ -150,6 +149,7 @@ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.imageComboCurrentOpenCount.Properties)).BeginInit(); this.SuspendLayout(); // // layoutControl1 @@ -166,13 +166,13 @@ this.layoutControl1.Controls.Add(this.winStepPnl); this.layoutControl1.Controls.Add(this.winBottomPnl); this.layoutControl1.Controls.Add(this.tileNavPane1); - this.layoutControl1.Controls.Add(this.textEdit褰撳墠姘村簱姘翠綅); + this.layoutControl1.Controls.Add(this.textEdit寮�濮嬫按搴撴按浣�); this.layoutControl1.Controls.Add(this.reservoirParasRequestCtrl); - this.layoutControl1.Controls.Add(this.imageComboCurrentOpenCount); this.layoutControl1.Controls.Add(this.imageComboSouceWL); this.layoutControl1.Controls.Add(this.imageComboClacOptType); this.layoutControl1.Controls.Add(this.dateEditDay); this.layoutControl1.Controls.Add(this.textEdit鍙栨按鎬婚噺涓�); + this.layoutControl1.Controls.Add(this.imageComboCurrentOpenCount); this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.layoutControl1.HiddenItems.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlGroup5}); @@ -431,16 +431,16 @@ this.navButton3.Caption = "鍒嗘瀽鍙傛暟璁剧疆"; this.navButton3.Name = "navButton3"; // - // textEdit褰撳墠姘村簱姘翠綅 + // textEdit寮�濮嬫按搴撴按浣� // - this.textEdit褰撳墠姘村簱姘翠綅.EditValue = ""; - this.textEdit褰撳墠姘村簱姘翠綅.Location = new System.Drawing.Point(336, 97); - this.textEdit褰撳墠姘村簱姘翠綅.Name = "textEdit褰撳墠姘村簱姘翠綅"; - this.textEdit褰撳墠姘村簱姘翠綅.Properties.Appearance.Options.UseTextOptions = true; - this.textEdit褰撳墠姘村簱姘翠綅.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; - this.textEdit褰撳墠姘村簱姘翠綅.Size = new System.Drawing.Size(83, 20); - this.textEdit褰撳墠姘村簱姘翠綅.StyleController = this.layoutControl1; - this.textEdit褰撳墠姘村簱姘翠綅.TabIndex = 22; + this.textEdit寮�濮嬫按搴撴按浣�.EditValue = ""; + this.textEdit寮�濮嬫按搴撴按浣�.Location = new System.Drawing.Point(348, 97); + this.textEdit寮�濮嬫按搴撴按浣�.Name = "textEdit寮�濮嬫按搴撴按浣�"; + this.textEdit寮�濮嬫按搴撴按浣�.Properties.Appearance.Options.UseTextOptions = true; + this.textEdit寮�濮嬫按搴撴按浣�.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; + this.textEdit寮�濮嬫按搴撴按浣�.Size = new System.Drawing.Size(71, 20); + this.textEdit寮�濮嬫按搴撴按浣�.StyleController = this.layoutControl1; + this.textEdit寮�濮嬫按搴撴按浣�.TabIndex = 22; // // reservoirParasRequestCtrl // @@ -449,26 +449,6 @@ this.reservoirParasRequestCtrl.Name = "reservoirParasRequestCtrl"; this.reservoirParasRequestCtrl.Size = new System.Drawing.Size(1290, 115); this.reservoirParasRequestCtrl.TabIndex = 21; - // - // imageComboCurrentOpenCount - // - this.imageComboCurrentOpenCount.EditValue = -1; - this.imageComboCurrentOpenCount.Location = new System.Drawing.Point(109, 97); - this.imageComboCurrentOpenCount.Name = "imageComboCurrentOpenCount"; - this.imageComboCurrentOpenCount.Properties.Appearance.Options.UseTextOptions = true; - this.imageComboCurrentOpenCount.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; - this.imageComboCurrentOpenCount.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { - new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); - this.imageComboCurrentOpenCount.Properties.Items.AddRange(new DevExpress.XtraEditors.Controls.ImageComboBoxItem[] { - new DevExpress.XtraEditors.Controls.ImageComboBoxItem("涓嶈�冭檻", -1, -1), - new DevExpress.XtraEditors.Controls.ImageComboBoxItem("鏈紑", 0, -1), - new DevExpress.XtraEditors.Controls.ImageComboBoxItem("涓�鍙�", 1, -1), - new DevExpress.XtraEditors.Controls.ImageComboBoxItem("涓ゅ彴", 2, -1), - new DevExpress.XtraEditors.Controls.ImageComboBoxItem("涓夊彴", 3, -1), - new DevExpress.XtraEditors.Controls.ImageComboBoxItem("鍥涘彴", 4, -1)}); - this.imageComboCurrentOpenCount.Size = new System.Drawing.Size(115, 20); - this.imageComboCurrentOpenCount.StyleController = this.layoutControl1; - this.imageComboCurrentOpenCount.TabIndex = 19; // // imageComboSouceWL // @@ -618,8 +598,7 @@ this.layoutControlItem5.Control = this.imageComboCurrentOpenCount; this.layoutControlItem5.CustomizationFormText = "寮�濮嬫椂寮�娉垫儏鍐�:"; this.layoutControlItem5.Location = new System.Drawing.Point(0, 24); - this.layoutControlItem5.MaxSize = new System.Drawing.Size(224, 0); - this.layoutControlItem5.MinSize = new System.Drawing.Size(224, 24); + this.layoutControlItem5.MinSize = new System.Drawing.Size(50, 25); this.layoutControlItem5.Name = "layoutControlItem5"; this.layoutControlItem5.Size = new System.Drawing.Size(224, 26); this.layoutControlItem5.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; @@ -639,15 +618,15 @@ // // layoutControlItem11 // - this.layoutControlItem11.Control = this.textEdit褰撳墠姘村簱姘翠綅; + this.layoutControlItem11.Control = this.textEdit寮�濮嬫按搴撴按浣�; this.layoutControlItem11.Location = new System.Drawing.Point(224, 24); this.layoutControlItem11.MaxSize = new System.Drawing.Size(195, 0); this.layoutControlItem11.MinSize = new System.Drawing.Size(195, 24); this.layoutControlItem11.Name = "layoutControlItem11"; this.layoutControlItem11.Size = new System.Drawing.Size(195, 26); this.layoutControlItem11.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; - this.layoutControlItem11.Text = "鏈�鍒濇按搴撴按浣�(m):"; - this.layoutControlItem11.TextSize = new System.Drawing.Size(96, 14); + this.layoutControlItem11.Text = "寮�濮嬫椂姘村簱姘翠綅(m):"; + this.layoutControlItem11.TextSize = new System.Drawing.Size(108, 14); // // labRefresh姘翠綅 // @@ -994,6 +973,25 @@ this.windowsUIButtonPanel1.TabIndex = 0; this.windowsUIButtonPanel1.Text = "windowsUIButtonPanel1"; // + // imageComboCurrentOpenCount + // + this.imageComboCurrentOpenCount.EditValue = ""; + this.imageComboCurrentOpenCount.Location = new System.Drawing.Point(109, 97); + this.imageComboCurrentOpenCount.Name = "imageComboCurrentOpenCount"; + this.imageComboCurrentOpenCount.Properties.Appearance.Options.UseTextOptions = true; + this.imageComboCurrentOpenCount.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; + this.imageComboCurrentOpenCount.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); + this.imageComboCurrentOpenCount.Properties.Items.AddRange(new DevExpress.XtraEditors.Controls.CheckedListBoxItem[] { + new DevExpress.XtraEditors.Controls.CheckedListBoxItem(0, "1#鍙锋车"), + new DevExpress.XtraEditors.Controls.CheckedListBoxItem(1, "2#鍙锋车"), + new DevExpress.XtraEditors.Controls.CheckedListBoxItem(2, "3#鍙锋车"), + new DevExpress.XtraEditors.Controls.CheckedListBoxItem(((long)(3)), "4#鍙锋车"), + new DevExpress.XtraEditors.Controls.CheckedListBoxItem(4, "5#鍙锋车")}); + this.imageComboCurrentOpenCount.Size = new System.Drawing.Size(115, 20); + this.imageComboCurrentOpenCount.StyleController = this.layoutControl1; + this.imageComboCurrentOpenCount.TabIndex = 19; + // // pageCalcParas // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; @@ -1017,8 +1015,7 @@ ((System.ComponentModel.ISupportInitialize)(this.textEdit鏈�楂樻按浣嶉檺鍒�.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.checkEdit渚涙按鎬婚噺.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tileNavPane1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.textEdit褰撳墠姘村簱姘翠綅.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.imageComboCurrentOpenCount.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.textEdit寮�濮嬫按搴撴按浣�.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.imageComboSouceWL.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.imageComboClacOptType.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dateEditDay.Properties.CalendarTimeProperties)).EndInit(); @@ -1058,6 +1055,7 @@ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.imageComboCurrentOpenCount.Properties)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); @@ -1078,13 +1076,12 @@ private DevExpress.XtraEditors.ImageComboBoxEdit imageComboSouceWL; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; private DevExpress.XtraLayout.SimpleLabelItem btnRefresh姘翠綅; - private DevExpress.XtraEditors.ImageComboBoxEdit imageComboCurrentOpenCount; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5; private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup2; private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup3; private IStation.WinFrmUI.River.ReservoirParaRequestCtrl reservoirParasRequestCtrl; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem9; - private DevExpress.XtraEditors.TextEdit textEdit褰撳墠姘村簱姘翠綅; + private DevExpress.XtraEditors.TextEdit textEdit寮�濮嬫按搴撴按浣�; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem11; private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem3; private DevExpress.XtraBars.Docking2010.WindowsUIButtonPanel winBottomPnl; @@ -1130,5 +1127,6 @@ private DevExpress.XtraEditors.SpinEdit spinEditEnd; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem20; private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem6; + private DevExpress.XtraEditors.CheckedComboBoxEdit imageComboCurrentOpenCount; } } -- Gitblit v1.9.3