| | |
| | | private void InitializeComponent() |
| | | { |
| | | components = new System.ComponentModel.Container(); |
| | | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ScheduleValidView)); |
| | | layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
| | | gridControl1 = new DevExpress.XtraGrid.GridControl(); |
| | | scheduleValidViewModelBindingSource = new BindingSource(components); |
| | | bandedGridView1 = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridView(); |
| | | gridBandSrc = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); |
| | | gridBandScr = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); |
| | | colTime = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); |
| | | colTotalFlowSrc = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); |
| | | colTotalHeadSrc = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); |
| | | colTotalPowerSrc = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); |
| | | colFlagRpmDict = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); |
| | | colRunFlagsSrc = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); |
| | | gridBandCalcFre = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); |
| | | colFlagRpmDict = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); |
| | | colFlagHeadDict = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); |
| | | colFlagPowerDict = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); |
| | | colFlagFlowDict = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); |
| | | gridBandSchedule = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); |
| | | colRunFlagsSchedule = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); |
| | | colTotalFlowSchedule = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); |
| | | colTotalHeadSchedule = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); |
| | | colTotalPowerSchedule = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); |
| | | colTotalFlowScheduleSrcDiff = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); |
| | | colTotalPowerScheduleSrcDiff = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); |
| | | gridBandCalc = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); |
| | | colTotalFlowCalc = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); |
| | | colTotalPowerCalc = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); |
| | | colTotalFlowCalcSrcDiff = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); |
| | | colTotalPowerCalcSrcDiff = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); |
| | | gridBandSchedule = new DevExpress.XtraGrid.Views.BandedGrid.GridBand(); |
| | | colTotalFlowSchedule = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); |
| | | colTotalHeadSchedule = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); |
| | | colTotalPowerSchedule = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); |
| | | colRunFlagsSchedule = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); |
| | | colTotalFlowScheduleSrcDiff = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); |
| | | colTotalPowerScheduleSrcDiff = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn(); |
| | | ribbonControl1 = new DevExpress.XtraBars.Ribbon.RibbonControl(); |
| | | barBtnImport = new DevExpress.XtraBars.BarButtonItem(); |
| | | barBtnSchedule = new DevExpress.XtraBars.BarButtonItem(); |
| | | barEditSelStation = new DevExpress.XtraBars.BarEditItem(); |
| | | repRadioGroupSelStation = new DevExpress.XtraEditors.Repository.RepositoryItemRadioGroup(); |
| | | ribbonPageValid = new DevExpress.XtraBars.Ribbon.RibbonPage(); |
| | | ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); |
| | | barBtnImport = new DevExpress.XtraEditors.SimpleButton(); |
| | | cmbSelectStation = new DevExpress.XtraEditors.ComboBoxEdit(); |
| | | barBtnSchedule = new DevExpress.XtraEditors.SimpleButton(); |
| | | Root = new DevExpress.XtraLayout.LayoutControlGroup(); |
| | | layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); |
| | | layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); |
| | | layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | scheduleValidViewModelBindingSource = new BindingSource(components); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControl1).BeginInit(); |
| | | layoutControl1.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)gridControl1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)scheduleValidViewModelBindingSource).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)bandedGridView1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)ribbonControl1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)repRadioGroupSelStation).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)cmbSelectStation.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)Root).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem2).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlGroup1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem3).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem4).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)scheduleValidViewModelBindingSource).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | | // layoutControl1 |
| | | // |
| | | layoutControl1.Controls.Add(gridControl1); |
| | | layoutControl1.Controls.Add(barBtnImport); |
| | | layoutControl1.Controls.Add(cmbSelectStation); |
| | | layoutControl1.Controls.Add(barBtnSchedule); |
| | | layoutControl1.Dock = DockStyle.Fill; |
| | | layoutControl1.Location = new Point(0, 0); |
| | | layoutControl1.Margin = new Padding(4, 3, 4, 3); |
| | | layoutControl1.Name = "layoutControl1"; |
| | | layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(788, 587, 975, 600); |
| | | layoutControl1.Root = Root; |
| | | layoutControl1.Size = new Size(1286, 976); |
| | | layoutControl1.TabIndex = 0; |
| | | layoutControl1.Text = "layoutControl1"; |
| | | // |
| | | // gridControl1 |
| | | // |
| | | gridControl1.DataSource = scheduleValidViewModelBindingSource; |
| | | gridControl1.Dock = DockStyle.Fill; |
| | | gridControl1.EmbeddedNavigator.Margin = new Padding(4, 3, 4, 3); |
| | | gridControl1.Location = new Point(0, 272); |
| | | gridControl1.EmbeddedNavigator.Margin = new Padding(2, 3, 2, 3); |
| | | gridControl1.Location = new Point(0, 66); |
| | | gridControl1.MainView = bandedGridView1; |
| | | gridControl1.Margin = new Padding(4, 3, 4, 3); |
| | | gridControl1.Margin = new Padding(2, 3, 2, 3); |
| | | gridControl1.Name = "gridControl1"; |
| | | gridControl1.Size = new Size(1849, 945); |
| | | gridControl1.TabIndex = 5; |
| | | gridControl1.Size = new Size(1286, 910); |
| | | gridControl1.TabIndex = 4; |
| | | gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { bandedGridView1 }); |
| | | // |
| | | // bandedGridView1 |
| | | // |
| | | bandedGridView1.Bands.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.GridBand[] { gridBandScr, gridBandSchedule, gridBandCalc }); |
| | | bandedGridView1.Columns.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn[] { colTime, colTotalFlowSrc, colTotalHeadSrc, colTotalPowerSrc, colRunFlagsSrc, colFlagRpmDict, colFlagFlowDict, colFlagHeadDict, colFlagPowerDict, colTotalFlowCalc, colTotalPowerCalc, colTotalFlowSchedule, colTotalHeadSchedule, colTotalPowerSchedule, colRunFlagsSchedule, colTotalFlowScheduleSrcDiff, colTotalPowerScheduleSrcDiff, colTotalFlowCalcSrcDiff, colTotalPowerCalcSrcDiff }); |
| | | bandedGridView1.GridControl = gridControl1; |
| | | bandedGridView1.Name = "bandedGridView1"; |
| | | // |
| | | // gridBandScr |
| | | // |
| | | gridBandScr.Caption = "原始值"; |
| | | gridBandScr.Columns.Add(colTime); |
| | | gridBandScr.Columns.Add(colTotalFlowSrc); |
| | | gridBandScr.Columns.Add(colTotalHeadSrc); |
| | | gridBandScr.Columns.Add(colTotalPowerSrc); |
| | | gridBandScr.Columns.Add(colRunFlagsSrc); |
| | | gridBandScr.Columns.Add(colFlagRpmDict); |
| | | gridBandScr.Columns.Add(colFlagHeadDict); |
| | | gridBandScr.Columns.Add(colFlagPowerDict); |
| | | gridBandScr.Columns.Add(colFlagFlowDict); |
| | | gridBandScr.MinWidth = 12; |
| | | gridBandScr.Name = "gridBandScr"; |
| | | gridBandScr.VisibleIndex = 0; |
| | | gridBandScr.Width = 295; |
| | | // |
| | | // colTime |
| | | // |
| | | colTime.FieldName = "Time"; |
| | | colTime.MinWidth = 30; |
| | | colTime.Name = "colTime"; |
| | | colTime.Visible = true; |
| | | colTime.Width = 59; |
| | | // |
| | | // colTotalFlowSrc |
| | | // |
| | | colTotalFlowSrc.FieldName = "TotalFlowSrc"; |
| | | colTotalFlowSrc.MinWidth = 30; |
| | | colTotalFlowSrc.Name = "colTotalFlowSrc"; |
| | | colTotalFlowSrc.Visible = true; |
| | | colTotalFlowSrc.Width = 59; |
| | | // |
| | | // colTotalHeadSrc |
| | | // |
| | | colTotalHeadSrc.FieldName = "TotalHeadSrc"; |
| | | colTotalHeadSrc.MinWidth = 30; |
| | | colTotalHeadSrc.Name = "colTotalHeadSrc"; |
| | | colTotalHeadSrc.Visible = true; |
| | | colTotalHeadSrc.Width = 59; |
| | | // |
| | | // colTotalPowerSrc |
| | | // |
| | | colTotalPowerSrc.FieldName = "TotalPowerSrc"; |
| | | colTotalPowerSrc.MinWidth = 30; |
| | | colTotalPowerSrc.Name = "colTotalPowerSrc"; |
| | | colTotalPowerSrc.Visible = true; |
| | | colTotalPowerSrc.Width = 59; |
| | | // |
| | | // colRunFlagsSrc |
| | | // |
| | | colRunFlagsSrc.FieldName = "RunFlagsSrc"; |
| | | colRunFlagsSrc.MinWidth = 30; |
| | | colRunFlagsSrc.Name = "colRunFlagsSrc"; |
| | | colRunFlagsSrc.Visible = true; |
| | | colRunFlagsSrc.Width = 59; |
| | | // |
| | | // colFlagRpmDict |
| | | // |
| | | colFlagRpmDict.FieldName = "FlagRpmDict"; |
| | | colFlagRpmDict.MinWidth = 30; |
| | | colFlagRpmDict.Name = "colFlagRpmDict"; |
| | | colFlagRpmDict.Width = 66; |
| | | // |
| | | // colFlagHeadDict |
| | | // |
| | | colFlagHeadDict.FieldName = "FlagHeadDict"; |
| | | colFlagHeadDict.MinWidth = 30; |
| | | colFlagHeadDict.Name = "colFlagHeadDict"; |
| | | colFlagHeadDict.Width = 59; |
| | | // |
| | | // colFlagPowerDict |
| | | // |
| | | colFlagPowerDict.FieldName = "FlagPowerDict"; |
| | | colFlagPowerDict.MinWidth = 30; |
| | | colFlagPowerDict.Name = "colFlagPowerDict"; |
| | | colFlagPowerDict.Width = 59; |
| | | // |
| | | // colFlagFlowDict |
| | | // |
| | | colFlagFlowDict.FieldName = "FlagFlowDict"; |
| | | colFlagFlowDict.MinWidth = 30; |
| | | colFlagFlowDict.Name = "colFlagFlowDict"; |
| | | colFlagFlowDict.Width = 59; |
| | | // |
| | | // gridBandSchedule |
| | | // |
| | | gridBandSchedule.Caption = "调度值"; |
| | | gridBandSchedule.Columns.Add(colRunFlagsSchedule); |
| | | gridBandSchedule.Columns.Add(colTotalFlowSchedule); |
| | | gridBandSchedule.Columns.Add(colTotalHeadSchedule); |
| | | gridBandSchedule.Columns.Add(colTotalPowerSchedule); |
| | | gridBandSchedule.Columns.Add(colTotalFlowScheduleSrcDiff); |
| | | gridBandSchedule.Columns.Add(colTotalPowerScheduleSrcDiff); |
| | | gridBandSchedule.MinWidth = 12; |
| | | gridBandSchedule.Name = "gridBandSchedule"; |
| | | gridBandSchedule.VisibleIndex = 1; |
| | | gridBandSchedule.Width = 354; |
| | | // |
| | | // colRunFlagsSchedule |
| | | // |
| | | colRunFlagsSchedule.FieldName = "RunFlagsSchedule"; |
| | | colRunFlagsSchedule.MinWidth = 30; |
| | | colRunFlagsSchedule.Name = "colRunFlagsSchedule"; |
| | | colRunFlagsSchedule.Visible = true; |
| | | colRunFlagsSchedule.Width = 59; |
| | | // |
| | | // colTotalFlowSchedule |
| | | // |
| | | colTotalFlowSchedule.FieldName = "TotalFlowSchedule"; |
| | | colTotalFlowSchedule.MinWidth = 30; |
| | | colTotalFlowSchedule.Name = "colTotalFlowSchedule"; |
| | | colTotalFlowSchedule.Visible = true; |
| | | colTotalFlowSchedule.Width = 59; |
| | | // |
| | | // colTotalHeadSchedule |
| | | // |
| | | colTotalHeadSchedule.FieldName = "TotalHeadSchedule"; |
| | | colTotalHeadSchedule.MinWidth = 30; |
| | | colTotalHeadSchedule.Name = "colTotalHeadSchedule"; |
| | | colTotalHeadSchedule.Visible = true; |
| | | colTotalHeadSchedule.Width = 59; |
| | | // |
| | | // colTotalPowerSchedule |
| | | // |
| | | colTotalPowerSchedule.FieldName = "TotalPowerSchedule"; |
| | | colTotalPowerSchedule.MinWidth = 30; |
| | | colTotalPowerSchedule.Name = "colTotalPowerSchedule"; |
| | | colTotalPowerSchedule.Visible = true; |
| | | colTotalPowerSchedule.Width = 59; |
| | | // |
| | | // colTotalFlowScheduleSrcDiff |
| | | // |
| | | colTotalFlowScheduleSrcDiff.FieldName = "TotalFlowScheduleSrcDiff"; |
| | | colTotalFlowScheduleSrcDiff.MinWidth = 30; |
| | | colTotalFlowScheduleSrcDiff.Name = "colTotalFlowScheduleSrcDiff"; |
| | | colTotalFlowScheduleSrcDiff.Visible = true; |
| | | colTotalFlowScheduleSrcDiff.Width = 59; |
| | | // |
| | | // colTotalPowerScheduleSrcDiff |
| | | // |
| | | colTotalPowerScheduleSrcDiff.FieldName = "TotalPowerScheduleSrcDiff"; |
| | | colTotalPowerScheduleSrcDiff.MinWidth = 30; |
| | | colTotalPowerScheduleSrcDiff.Name = "colTotalPowerScheduleSrcDiff"; |
| | | colTotalPowerScheduleSrcDiff.Visible = true; |
| | | colTotalPowerScheduleSrcDiff.Width = 59; |
| | | // |
| | | // gridBandCalc |
| | | // |
| | | gridBandCalc.Caption = "计算值"; |
| | | gridBandCalc.Columns.Add(colTotalFlowCalc); |
| | | gridBandCalc.Columns.Add(colTotalPowerCalc); |
| | | gridBandCalc.Columns.Add(colTotalFlowCalcSrcDiff); |
| | | gridBandCalc.Columns.Add(colTotalPowerCalcSrcDiff); |
| | | gridBandCalc.Name = "gridBandCalc"; |
| | | gridBandCalc.VisibleIndex = 2; |
| | | gridBandCalc.Width = 245; |
| | | // |
| | | // colTotalFlowCalc |
| | | // |
| | | colTotalFlowCalc.FieldName = "TotalFlowCalc"; |
| | | colTotalFlowCalc.MinWidth = 30; |
| | | colTotalFlowCalc.Name = "colTotalFlowCalc"; |
| | | colTotalFlowCalc.Visible = true; |
| | | colTotalFlowCalc.Width = 59; |
| | | // |
| | | // colTotalPowerCalc |
| | | // |
| | | colTotalPowerCalc.FieldName = "TotalPowerCalc"; |
| | | colTotalPowerCalc.MinWidth = 30; |
| | | colTotalPowerCalc.Name = "colTotalPowerCalc"; |
| | | colTotalPowerCalc.Visible = true; |
| | | colTotalPowerCalc.Width = 59; |
| | | // |
| | | // colTotalFlowCalcSrcDiff |
| | | // |
| | | colTotalFlowCalcSrcDiff.FieldName = "TotalFlowCalcSrcDiff"; |
| | | colTotalFlowCalcSrcDiff.MinWidth = 30; |
| | | colTotalFlowCalcSrcDiff.Name = "colTotalFlowCalcSrcDiff"; |
| | | colTotalFlowCalcSrcDiff.Visible = true; |
| | | colTotalFlowCalcSrcDiff.Width = 59; |
| | | // |
| | | // colTotalPowerCalcSrcDiff |
| | | // |
| | | colTotalPowerCalcSrcDiff.FieldName = "TotalPowerCalcSrcDiff"; |
| | | colTotalPowerCalcSrcDiff.MinWidth = 30; |
| | | colTotalPowerCalcSrcDiff.Name = "colTotalPowerCalcSrcDiff"; |
| | | colTotalPowerCalcSrcDiff.Visible = true; |
| | | colTotalPowerCalcSrcDiff.Width = 68; |
| | | // |
| | | // barBtnImport |
| | | // |
| | | barBtnImport.Location = new Point(212, 14); |
| | | barBtnImport.Margin = new Padding(2, 3, 2, 3); |
| | | barBtnImport.Name = "barBtnImport"; |
| | | barBtnImport.Size = new Size(145, 38); |
| | | barBtnImport.StyleController = layoutControl1; |
| | | barBtnImport.TabIndex = 2; |
| | | barBtnImport.Text = "导入文件"; |
| | | barBtnImport.Click += barBtnImport_Click; |
| | | // |
| | | // cmbSelectStation |
| | | // |
| | | cmbSelectStation.EditValue = "一输水"; |
| | | cmbSelectStation.Location = new Point(75, 14); |
| | | cmbSelectStation.Margin = new Padding(2, 3, 2, 3); |
| | | cmbSelectStation.Name = "cmbSelectStation"; |
| | | cmbSelectStation.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); |
| | | cmbSelectStation.Properties.Items.AddRange(new object[] { "一输水", "二输水" }); |
| | | cmbSelectStation.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; |
| | | cmbSelectStation.Size = new Size(133, 38); |
| | | cmbSelectStation.StyleController = layoutControl1; |
| | | cmbSelectStation.TabIndex = 0; |
| | | cmbSelectStation.SelectedIndexChanged += cmbSelectStation_SelectedIndexChanged; |
| | | // |
| | | // barBtnSchedule |
| | | // |
| | | barBtnSchedule.Location = new Point(361, 14); |
| | | barBtnSchedule.Margin = new Padding(2, 3, 2, 3); |
| | | barBtnSchedule.Name = "barBtnSchedule"; |
| | | barBtnSchedule.Size = new Size(145, 38); |
| | | barBtnSchedule.StyleController = layoutControl1; |
| | | barBtnSchedule.TabIndex = 3; |
| | | barBtnSchedule.Text = "调度"; |
| | | barBtnSchedule.Click += barBtnSchedule_Click; |
| | | // |
| | | // Root |
| | | // |
| | | Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; |
| | | Root.GroupBordersVisible = false; |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem2, layoutControlGroup1 }); |
| | | Root.Name = "Root"; |
| | | Root.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); |
| | | Root.Size = new Size(1286, 976); |
| | | Root.TextVisible = false; |
| | | // |
| | | // layoutControlItem2 |
| | | // |
| | | layoutControlItem2.Control = gridControl1; |
| | | layoutControlItem2.Location = new Point(0, 66); |
| | | layoutControlItem2.Name = "layoutControlItem2"; |
| | | layoutControlItem2.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); |
| | | layoutControlItem2.Size = new Size(1286, 910); |
| | | layoutControlItem2.TextSize = new Size(0, 0); |
| | | layoutControlItem2.TextVisible = false; |
| | | // |
| | | // layoutControlGroup1 |
| | | // |
| | | layoutControlGroup1.GroupStyle = DevExpress.Utils.GroupStyle.Title; |
| | | layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1, layoutControlItem3, emptySpaceItem1, layoutControlItem4 }); |
| | | layoutControlGroup1.Location = new Point(0, 0); |
| | | layoutControlGroup1.Name = "layoutControlGroup1"; |
| | | layoutControlGroup1.Size = new Size(1286, 66); |
| | | layoutControlGroup1.Text = "调度验证"; |
| | | layoutControlGroup1.TextVisible = false; |
| | | // |
| | | // layoutControlItem1 |
| | | // |
| | | layoutControlItem1.Control = barBtnImport; |
| | | layoutControlItem1.Location = new Point(198, 0); |
| | | layoutControlItem1.MinSize = new Size(99, 36); |
| | | layoutControlItem1.Name = "layoutControlItem1"; |
| | | layoutControlItem1.Size = new Size(149, 42); |
| | | layoutControlItem1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
| | | layoutControlItem1.TextSize = new Size(0, 0); |
| | | layoutControlItem1.TextVisible = false; |
| | | // |
| | | // layoutControlItem3 |
| | | // |
| | | layoutControlItem3.Control = cmbSelectStation; |
| | | layoutControlItem3.Location = new Point(0, 0); |
| | | layoutControlItem3.Name = "layoutControlItem3"; |
| | | layoutControlItem3.Size = new Size(198, 42); |
| | | layoutControlItem3.Text = "泵站:"; |
| | | layoutControlItem3.TextSize = new Size(49, 25); |
| | | // |
| | | // emptySpaceItem1 |
| | | // |
| | | emptySpaceItem1.AllowHotTrack = false; |
| | | emptySpaceItem1.Location = new Point(496, 0); |
| | | emptySpaceItem1.Name = "emptySpaceItem1"; |
| | | emptySpaceItem1.Size = new Size(766, 42); |
| | | emptySpaceItem1.TextSize = new Size(0, 0); |
| | | // |
| | | // layoutControlItem4 |
| | | // |
| | | layoutControlItem4.Control = barBtnSchedule; |
| | | layoutControlItem4.Location = new Point(347, 0); |
| | | layoutControlItem4.MinSize = new Size(56, 36); |
| | | layoutControlItem4.Name = "layoutControlItem4"; |
| | | layoutControlItem4.Size = new Size(149, 42); |
| | | layoutControlItem4.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
| | | layoutControlItem4.TextSize = new Size(0, 0); |
| | | layoutControlItem4.TextVisible = false; |
| | | // |
| | | // scheduleValidViewModelBindingSource |
| | | // |
| | | scheduleValidViewModelBindingSource.DataSource = typeof(ScheduleValidViewModel); |
| | | // |
| | | // bandedGridView1 |
| | | // |
| | | bandedGridView1.Appearance.Row.FontSizeDelta = 2; |
| | | bandedGridView1.Appearance.Row.Options.UseFont = true; |
| | | bandedGridView1.Bands.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.GridBand[] { gridBandSrc, gridBandCalcFre, gridBandSchedule }); |
| | | bandedGridView1.Columns.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn[] { colTime, colTotalFlowSrc, colTotalHeadSrc, colTotalPowerSrc, colRunFlagsSrc, colFlagRpmDict, colTotalFlowCalc, colTotalPowerCalc, colTotalFlowSchedule, colTotalHeadSchedule, colTotalPowerSchedule, colRunFlagsSchedule, colTotalFlowScheduleSrcDiff, colTotalPowerScheduleSrcDiff, colTotalFlowCalcSrcDiff, colTotalPowerCalcSrcDiff }); |
| | | bandedGridView1.DetailHeight = 398; |
| | | bandedGridView1.GridControl = gridControl1; |
| | | bandedGridView1.Name = "bandedGridView1"; |
| | | bandedGridView1.OptionsEditForm.PopupEditFormWidth = 960; |
| | | // |
| | | // gridBandSrc |
| | | // |
| | | gridBandSrc.Caption = "原始点"; |
| | | gridBandSrc.Columns.Add(colTime); |
| | | gridBandSrc.Columns.Add(colTotalFlowSrc); |
| | | gridBandSrc.Columns.Add(colTotalHeadSrc); |
| | | gridBandSrc.Columns.Add(colTotalPowerSrc); |
| | | gridBandSrc.Columns.Add(colFlagRpmDict); |
| | | gridBandSrc.Columns.Add(colRunFlagsSrc); |
| | | gridBandSrc.MinWidth = 12; |
| | | gridBandSrc.Name = "gridBandSrc"; |
| | | gridBandSrc.VisibleIndex = 0; |
| | | gridBandSrc.Width = 670; |
| | | // |
| | | // colTime |
| | | // |
| | | colTime.FieldName = "Time"; |
| | | colTime.MinWidth = 36; |
| | | colTime.Name = "colTime"; |
| | | colTime.Visible = true; |
| | | colTime.Width = 134; |
| | | // |
| | | // colTotalFlowSrc |
| | | // |
| | | colTotalFlowSrc.FieldName = "TotalFlowSrc"; |
| | | colTotalFlowSrc.MinWidth = 36; |
| | | colTotalFlowSrc.Name = "colTotalFlowSrc"; |
| | | colTotalFlowSrc.Visible = true; |
| | | colTotalFlowSrc.Width = 134; |
| | | // |
| | | // colTotalHeadSrc |
| | | // |
| | | colTotalHeadSrc.FieldName = "TotalHeadSrc"; |
| | | colTotalHeadSrc.MinWidth = 36; |
| | | colTotalHeadSrc.Name = "colTotalHeadSrc"; |
| | | colTotalHeadSrc.Visible = true; |
| | | colTotalHeadSrc.Width = 134; |
| | | // |
| | | // colTotalPowerSrc |
| | | // |
| | | colTotalPowerSrc.FieldName = "TotalPowerSrc"; |
| | | colTotalPowerSrc.MinWidth = 36; |
| | | colTotalPowerSrc.Name = "colTotalPowerSrc"; |
| | | colTotalPowerSrc.Visible = true; |
| | | colTotalPowerSrc.Width = 134; |
| | | // |
| | | // colFlagRpmDict |
| | | // |
| | | colFlagRpmDict.FieldName = "FlagRpmDict"; |
| | | colFlagRpmDict.MinWidth = 36; |
| | | colFlagRpmDict.Name = "colFlagRpmDict"; |
| | | colFlagRpmDict.Width = 134; |
| | | // |
| | | // colRunFlagsSrc |
| | | // |
| | | colRunFlagsSrc.FieldName = "RunFlagsSrc"; |
| | | colRunFlagsSrc.MinWidth = 36; |
| | | colRunFlagsSrc.Name = "colRunFlagsSrc"; |
| | | colRunFlagsSrc.Visible = true; |
| | | colRunFlagsSrc.Width = 134; |
| | | // |
| | | // gridBandCalcFre |
| | | // |
| | | gridBandCalcFre.Caption = "原频率计算点"; |
| | | gridBandCalcFre.Columns.Add(colTotalFlowCalc); |
| | | gridBandCalcFre.Columns.Add(colTotalPowerCalc); |
| | | gridBandCalcFre.Columns.Add(colTotalFlowCalcSrcDiff); |
| | | gridBandCalcFre.Columns.Add(colTotalPowerCalcSrcDiff); |
| | | gridBandCalcFre.MinWidth = 12; |
| | | gridBandCalcFre.Name = "gridBandCalcFre"; |
| | | gridBandCalcFre.VisibleIndex = 1; |
| | | gridBandCalcFre.Width = 536; |
| | | // |
| | | // colTotalFlowCalc |
| | | // |
| | | colTotalFlowCalc.FieldName = "TotalFlowCalc"; |
| | | colTotalFlowCalc.MinWidth = 36; |
| | | colTotalFlowCalc.Name = "colTotalFlowCalc"; |
| | | colTotalFlowCalc.Visible = true; |
| | | colTotalFlowCalc.Width = 134; |
| | | // |
| | | // colTotalPowerCalc |
| | | // |
| | | colTotalPowerCalc.FieldName = "TotalPowerCalc"; |
| | | colTotalPowerCalc.MinWidth = 36; |
| | | colTotalPowerCalc.Name = "colTotalPowerCalc"; |
| | | colTotalPowerCalc.Visible = true; |
| | | colTotalPowerCalc.Width = 134; |
| | | // |
| | | // colTotalFlowCalcSrcDiff |
| | | // |
| | | colTotalFlowCalcSrcDiff.FieldName = "TotalFlowCalcSrcDiff"; |
| | | colTotalFlowCalcSrcDiff.MinWidth = 36; |
| | | colTotalFlowCalcSrcDiff.Name = "colTotalFlowCalcSrcDiff"; |
| | | colTotalFlowCalcSrcDiff.Visible = true; |
| | | colTotalFlowCalcSrcDiff.Width = 134; |
| | | // |
| | | // colTotalPowerCalcSrcDiff |
| | | // |
| | | colTotalPowerCalcSrcDiff.FieldName = "TotalPowerCalcSrcDiff"; |
| | | colTotalPowerCalcSrcDiff.MinWidth = 36; |
| | | colTotalPowerCalcSrcDiff.Name = "colTotalPowerCalcSrcDiff"; |
| | | colTotalPowerCalcSrcDiff.Visible = true; |
| | | colTotalPowerCalcSrcDiff.Width = 134; |
| | | // |
| | | // gridBandSchedule |
| | | // |
| | | gridBandSchedule.Caption = "调度计算点"; |
| | | gridBandSchedule.Columns.Add(colTotalFlowSchedule); |
| | | gridBandSchedule.Columns.Add(colTotalHeadSchedule); |
| | | gridBandSchedule.Columns.Add(colTotalPowerSchedule); |
| | | gridBandSchedule.Columns.Add(colRunFlagsSchedule); |
| | | gridBandSchedule.Columns.Add(colTotalFlowScheduleSrcDiff); |
| | | gridBandSchedule.Columns.Add(colTotalPowerScheduleSrcDiff); |
| | | gridBandSchedule.MinWidth = 12; |
| | | gridBandSchedule.Name = "gridBandSchedule"; |
| | | gridBandSchedule.VisibleIndex = 2; |
| | | gridBandSchedule.Width = 804; |
| | | // |
| | | // colTotalFlowSchedule |
| | | // |
| | | colTotalFlowSchedule.FieldName = "TotalFlowSchedule"; |
| | | colTotalFlowSchedule.MinWidth = 36; |
| | | colTotalFlowSchedule.Name = "colTotalFlowSchedule"; |
| | | colTotalFlowSchedule.Visible = true; |
| | | colTotalFlowSchedule.Width = 134; |
| | | // |
| | | // colTotalHeadSchedule |
| | | // |
| | | colTotalHeadSchedule.FieldName = "TotalHeadSchedule"; |
| | | colTotalHeadSchedule.MinWidth = 36; |
| | | colTotalHeadSchedule.Name = "colTotalHeadSchedule"; |
| | | colTotalHeadSchedule.Visible = true; |
| | | colTotalHeadSchedule.Width = 134; |
| | | // |
| | | // colTotalPowerSchedule |
| | | // |
| | | colTotalPowerSchedule.FieldName = "TotalPowerSchedule"; |
| | | colTotalPowerSchedule.MinWidth = 36; |
| | | colTotalPowerSchedule.Name = "colTotalPowerSchedule"; |
| | | colTotalPowerSchedule.Visible = true; |
| | | colTotalPowerSchedule.Width = 134; |
| | | // |
| | | // colRunFlagsSchedule |
| | | // |
| | | colRunFlagsSchedule.FieldName = "RunFlagsSchedule"; |
| | | colRunFlagsSchedule.MinWidth = 36; |
| | | colRunFlagsSchedule.Name = "colRunFlagsSchedule"; |
| | | colRunFlagsSchedule.Visible = true; |
| | | colRunFlagsSchedule.Width = 134; |
| | | // |
| | | // colTotalFlowScheduleSrcDiff |
| | | // |
| | | colTotalFlowScheduleSrcDiff.FieldName = "TotalFlowScheduleSrcDiff"; |
| | | colTotalFlowScheduleSrcDiff.MinWidth = 36; |
| | | colTotalFlowScheduleSrcDiff.Name = "colTotalFlowScheduleSrcDiff"; |
| | | colTotalFlowScheduleSrcDiff.Visible = true; |
| | | colTotalFlowScheduleSrcDiff.Width = 134; |
| | | // |
| | | // colTotalPowerScheduleSrcDiff |
| | | // |
| | | colTotalPowerScheduleSrcDiff.FieldName = "TotalPowerScheduleSrcDiff"; |
| | | colTotalPowerScheduleSrcDiff.MinWidth = 36; |
| | | colTotalPowerScheduleSrcDiff.Name = "colTotalPowerScheduleSrcDiff"; |
| | | colTotalPowerScheduleSrcDiff.Visible = true; |
| | | colTotalPowerScheduleSrcDiff.Width = 134; |
| | | // |
| | | // ribbonControl1 |
| | | // |
| | | ribbonControl1.EmptyAreaImageOptions.ImagePadding = new Padding(36, 34, 36, 34); |
| | | ribbonControl1.ExpandCollapseItem.Id = 0; |
| | | ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { ribbonControl1.ExpandCollapseItem, barBtnImport, barBtnSchedule, barEditSelStation }); |
| | | ribbonControl1.Location = new Point(0, 0); |
| | | ribbonControl1.Margin = new Padding(4, 3, 4, 3); |
| | | ribbonControl1.MaxItemId = 6; |
| | | ribbonControl1.Name = "ribbonControl1"; |
| | | ribbonControl1.OptionsMenuMinWidth = 396; |
| | | ribbonControl1.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] { ribbonPageValid }); |
| | | ribbonControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { repRadioGroupSelStation }); |
| | | ribbonControl1.Size = new Size(1849, 272); |
| | | // |
| | | // barBtnImport |
| | | // |
| | | barBtnImport.Caption = "导入文件"; |
| | | barBtnImport.Id = 2; |
| | | barBtnImport.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnImport.ImageOptions.SvgImage"); |
| | | barBtnImport.Name = "barBtnImport"; |
| | | barBtnImport.ItemClick += barBtnImport_ItemClick; |
| | | // |
| | | // barBtnSchedule |
| | | // |
| | | barBtnSchedule.Caption = "调度"; |
| | | barBtnSchedule.CausesValidation = true; |
| | | barBtnSchedule.Id = 3; |
| | | barBtnSchedule.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnSchedule.ImageOptions.SvgImage"); |
| | | barBtnSchedule.Name = "barBtnSchedule"; |
| | | barBtnSchedule.ItemClick += barBtnSchedule_ItemClick; |
| | | // |
| | | // barEditSelStation |
| | | // |
| | | barEditSelStation.Caption = "泵站"; |
| | | barEditSelStation.Edit = repRadioGroupSelStation; |
| | | barEditSelStation.Id = 5; |
| | | barEditSelStation.Name = "barEditSelStation"; |
| | | barEditSelStation.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonItemStyles.SmallWithoutText; |
| | | barEditSelStation.EditValueChanged += barEditSelStation_EditValueChanged; |
| | | // |
| | | // repRadioGroupSelStation |
| | | // |
| | | repRadioGroupSelStation.Items.AddRange(new DevExpress.XtraEditors.Controls.RadioGroupItem[] { new DevExpress.XtraEditors.Controls.RadioGroupItem(1, "一输"), new DevExpress.XtraEditors.Controls.RadioGroupItem(2, "二输") }); |
| | | repRadioGroupSelStation.ItemsLayout = DevExpress.XtraEditors.RadioGroupItemsLayout.Flow; |
| | | repRadioGroupSelStation.Name = "repRadioGroupSelStation"; |
| | | // |
| | | // ribbonPageValid |
| | | // |
| | | ribbonPageValid.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { ribbonPageGroup1 }); |
| | | ribbonPageValid.Name = "ribbonPageValid"; |
| | | ribbonPageValid.Text = "验证"; |
| | | // |
| | | // ribbonPageGroup1 |
| | | // |
| | | ribbonPageGroup1.ItemLinks.Add(barBtnImport); |
| | | ribbonPageGroup1.ItemLinks.Add(barEditSelStation, true); |
| | | ribbonPageGroup1.ItemLinks.Add(barBtnSchedule); |
| | | ribbonPageGroup1.Name = "ribbonPageGroup1"; |
| | | ribbonPageGroup1.Text = "功能"; |
| | | // |
| | | // ScheduleValidView |
| | | // |
| | | AutoScaleDimensions = new SizeF(12F, 25F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | Controls.Add(gridControl1); |
| | | Controls.Add(ribbonControl1); |
| | | Controls.Add(layoutControl1); |
| | | Margin = new Padding(4, 3, 4, 3); |
| | | Name = "ScheduleValidView"; |
| | | Size = new Size(1849, 1217); |
| | | Size = new Size(1286, 976); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControl1).EndInit(); |
| | | layoutControl1.ResumeLayout(false); |
| | | ((System.ComponentModel.ISupportInitialize)gridControl1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)scheduleValidViewModelBindingSource).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)bandedGridView1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)ribbonControl1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)repRadioGroupSelStation).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)cmbSelectStation.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)Root).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem2).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlGroup1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem3).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem4).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)scheduleValidViewModelBindingSource).EndInit(); |
| | | ResumeLayout(false); |
| | | PerformLayout(); |
| | | } |
| | | |
| | | #endregion |
| | | private DevExpress.XtraEditors.Repository.RepositoryItemRadioGroup repRadioGroupSelStation; |
| | | private DevExpress.XtraGrid.Views.BandedGrid.GridBand gridBand1; |
| | | private DevExpress.XtraBars.Navigation.NavigationPage navigationPage1; |
| | | private DevExpress.XtraLayout.LayoutControl layoutControl1; |
| | | private DevExpress.XtraLayout.LayoutControlGroup Root; |
| | | private DevExpress.XtraEditors.SimpleButton barBtnImport; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; |
| | | private DevExpress.XtraGrid.GridControl gridControl1; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; |
| | | private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup1; |
| | | private DevExpress.XtraEditors.ComboBoxEdit cmbSelectStation; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; |
| | | private DevExpress.XtraGrid.Views.BandedGrid.BandedGridView bandedGridView1; |
| | | private DevExpress.XtraGrid.Views.BandedGrid.GridBand gridBandSrc; |
| | | private DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn colTime; |
| | | private DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn colTotalFlowSrc; |
| | | private DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn colTotalHeadSrc; |
| | | private DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn colTotalPowerSrc; |
| | | private DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn colFlagRpmDict; |
| | | private DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn colRunFlagsSrc; |
| | | private DevExpress.XtraGrid.Views.BandedGrid.GridBand gridBandCalcFre; |
| | | private DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn colFlagRpmDict; |
| | | private DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn colFlagFlowDict; |
| | | private DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn colFlagHeadDict; |
| | | private DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn colFlagPowerDict; |
| | | private DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn colTotalFlowCalc; |
| | | private DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn colTotalPowerCalc; |
| | | private DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn colTotalFlowCalcSrcDiff; |
| | | private DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn colTotalPowerCalcSrcDiff; |
| | | private DevExpress.XtraGrid.Views.BandedGrid.GridBand gridBandSchedule; |
| | | private DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn colTotalFlowSchedule; |
| | | private DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn colTotalHeadSchedule; |
| | | private DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn colTotalPowerSchedule; |
| | | private DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn colRunFlagsSchedule; |
| | | private DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn colTotalFlowScheduleSrcDiff; |
| | | private DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn colTotalPowerScheduleSrcDiff; |
| | | private DevExpress.XtraBars.Ribbon.RibbonControl ribbonControl1; |
| | | private DevExpress.XtraBars.BarButtonItem barBtnImport; |
| | | private DevExpress.XtraBars.BarButtonItem barBtnSchedule; |
| | | private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPageValid; |
| | | private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup1; |
| | | private DevExpress.XtraBars.BarEditItem barEditSelStation; |
| | | private DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn colTotalFlowCalcSrcDiff; |
| | | private DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn colTotalPowerCalcSrcDiff; |
| | | private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1; |
| | | private DevExpress.XtraEditors.SimpleButton barBtnSchedule; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; |
| | | private DevExpress.XtraGrid.Views.BandedGrid.GridBand gridBandCalc; |
| | | private DevExpress.XtraGrid.Views.BandedGrid.GridBand gridBandScr; |
| | | private DevExpress.XtraGrid.Views.BandedGrid.GridBand gridBandSchedule; |
| | | private BindingSource scheduleValidViewModelBindingSource; |
| | | } |
| | | } |