Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.gridMain = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.comboBoxBus = ((System.Windows.Controls.ComboBox)(target));

            #line 23 "..\..\..\Pages\PageBusLoad.xaml"
                this.comboBoxBus.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBoxBus_SelectionChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.buttonImport = ((System.Windows.Controls.Button)(target));

            #line 24 "..\..\..\Pages\PageBusLoad.xaml"
                this.buttonImport.Click += new System.Windows.RoutedEventHandler(this.buttonImport_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.dataGridBusLoad = ((System.Windows.Controls.DataGrid)(target));

            #line 28 "..\..\..\Pages\PageBusLoad.xaml"
                this.dataGridBusLoad.CellEditEnding += new System.EventHandler <System.Windows.Controls.DataGridCellEditEndingEventArgs>(this.dataGridBusLoad_CellEditEnding);

            #line default
            #line hidden
                return;

            case 5:
                this.uiChart = ((AutinPower.WPF.Controls.UI_LineChart)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.gaugeGeneratePrice = ((AutinPower.WPF.Controls.UI_AngularGauge)(target));
                return;

            case 3:
                this.gaugeParamsClaim = ((AutinPower.WPF.Controls.UI_AngularGauge)(target));
                return;

            case 4:
                this.gaugeUserSideClaim = ((AutinPower.WPF.Controls.UI_AngularGauge)(target));
                return;

            case 5:
                this.doughnutCapacity = ((AutinPower.WPF.Controls.UI_DoughnutChart)(target));
                return;

            case 6:
                this.doughnutUnitType = ((AutinPower.WPF.Controls.UI_DoughnutChart)(target));
                return;

            case 7:
                this.doughnutUser = ((AutinPower.WPF.Controls.UI_DoughnutChart)(target));
                return;

            case 8:
                this.uiChart_LoadPredict = ((AutinPower.WPF.Controls.UI_LineChart)(target));
                return;

            case 9:
                this.uiChart_SettlePrice = ((AutinPower.WPF.Controls.UI_LineChart)(target));
                return;

            case 10:
                this.uiChart_UnitSettlePrice = ((AutinPower.WPF.Controls.UI_LineChart)(target));
                return;

            case 11:
                this.dataGridNfgpData = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 12:
                this.buttonPrepareSettlement = ((System.Windows.Controls.Button)(target));

            #line 211 "..\..\..\Pages\PageRealTimeDayMarket.xaml"
                this.buttonPrepareSettlement.Click += new System.Windows.RoutedEventHandler(this.buttonPrepareSettlement_ClickAsync);

            #line default
            #line hidden
                return;

            case 13:
                this.buttonPostSettlement = ((System.Windows.Controls.Button)(target));

            #line 212 "..\..\..\Pages\PageRealTimeDayMarket.xaml"
                this.buttonPostSettlement.Click += new System.Windows.RoutedEventHandler(this.buttonPostSettlement_ClickAsync);

            #line default
            #line hidden
                return;

            case 14:
                this.buttonStartSettlement = ((System.Windows.Controls.Button)(target));

            #line 213 "..\..\..\Pages\PageRealTimeDayMarket.xaml"
                this.buttonStartSettlement.Click += new System.Windows.RoutedEventHandler(this.buttonStartSettlement_ClickAsync);

            #line default
            #line hidden
                return;

            case 15:
                this.frameCircuit = ((System.Windows.Controls.Frame)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.gridMain = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.comboBoxUnit = ((System.Windows.Controls.ComboBox)(target));

            #line 25 "..\..\..\Pages\PageConsumerSideDayDeclare.xaml"
                this.comboBoxUnit.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBoxUnit_SelectionChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.buttonImport = ((System.Windows.Controls.Button)(target));

            #line 26 "..\..\..\Pages\PageConsumerSideDayDeclare.xaml"
                this.buttonImport.Click += new System.Windows.RoutedEventHandler(this.buttonImport_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.buttonEnergyDeclare = ((System.Windows.Controls.Button)(target));

            #line 29 "..\..\..\Pages\PageConsumerSideDayDeclare.xaml"
                this.buttonEnergyDeclare.Click += new System.Windows.RoutedEventHandler(this.buttonEnergyDeclare_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.buttonContractQuery = ((System.Windows.Controls.Button)(target));

            #line 30 "..\..\..\Pages\PageConsumerSideDayDeclare.xaml"
                this.buttonContractQuery.Click += new System.Windows.RoutedEventHandler(this.buttonContractQuery_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.buttonAgentUserPredict = ((System.Windows.Controls.Button)(target));

            #line 31 "..\..\..\Pages\PageConsumerSideDayDeclare.xaml"
                this.buttonAgentUserPredict.Click += new System.Windows.RoutedEventHandler(this.buttonAgentUserPredict_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.buttonSubmit = ((System.Windows.Controls.Button)(target));

            #line 34 "..\..\..\Pages\PageConsumerSideDayDeclare.xaml"
                this.buttonSubmit.Click += new System.Windows.RoutedEventHandler(this.buttonSubmit_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.buttonSave = ((System.Windows.Controls.Button)(target));
                return;

            case 9:
                this.textblockPlotTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.datagridTable = ((System.Windows.Controls.DataGrid)(target));

            #line 49 "..\..\..\Pages\PageConsumerSideDayDeclare.xaml"
                this.datagridTable.CellEditEnding += new System.EventHandler <System.Windows.Controls.DataGridCellEditEndingEventArgs>(this.datagridTable_CellEditEnding);

            #line default
            #line hidden
                return;

            case 11:
                this.uiChart = ((AutinPower.WPF.Controls.UI_LineChart)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.gridMain = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.comboBoxUnit = ((System.Windows.Controls.ComboBox)(target));

            #line 27 "..\..\..\Pages\PageUnitParamsConfig.xaml"
                this.comboBoxUnit.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBoxUnit_SelectionChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.buttonSubmit = ((System.Windows.Controls.Button)(target));

            #line 33 "..\..\..\Pages\PageUnitParamsConfig.xaml"
                this.buttonSubmit.Click += new System.Windows.RoutedEventHandler(this.buttonSubmit_ClickAsync);

            #line default
            #line hidden
                return;

            case 4:
                this.buttonSave = ((System.Windows.Controls.Button)(target));
                return;

            case 5:
                this.textboxConnector = ((AutinPower.WPF.Controls.UI_LabeledTextBox)(target));
                return;

            case 6:
                this.textboxUnitType = ((AutinPower.WPF.Controls.UI_LabeledTextBox)(target));
                return;

            case 7:
                this.textboxRatedCapacity = ((AutinPower.WPF.Controls.UI_LabeledTextBox)(target));
                return;

            case 8:
                this.textboxMaximumTechOutput = ((AutinPower.WPF.Controls.UI_LabeledTextBox)(target));
                return;

            case 9:
                this.textboxMinimumTechOutput = ((AutinPower.WPF.Controls.UI_LabeledTextBox)(target));
                return;

            case 10:
                this.textboxTimeToOngridFromColdStar = ((AutinPower.WPF.Controls.UI_LabeledTextBox)(target));
                return;

            case 11:
                this.textboxTimeToOngridFromWarmStar = ((AutinPower.WPF.Controls.UI_LabeledTextBox)(target));
                return;

            case 12:
                this.textboxTimeToOngridFromHotStar = ((AutinPower.WPF.Controls.UI_LabeledTextBox)(target));
                return;

            case 13:
                this.textboxTimeToWarmFromHot = ((AutinPower.WPF.Controls.UI_LabeledTextBox)(target));
                return;

            case 14:
                this.textboxTimeToColdFromHot = ((AutinPower.WPF.Controls.UI_LabeledTextBox)(target));
                return;

            case 15:
                this.textboxFixCost = ((AutinPower.WPF.Controls.UI_LabeledTextBox)(target));
                return;

            case 16:
                this.textboxFmMaximumTechOutput = ((AutinPower.WPF.Controls.UI_LabeledTextBox)(target));
                return;

            case 17:
                this.textboxFmMinimumTechOutput = ((AutinPower.WPF.Controls.UI_LabeledTextBox)(target));
                return;

            case 18:
                this.textboxPlantPowerConsumingRate = ((AutinPower.WPF.Controls.UI_LabeledTextBox)(target));
                return;

            case 19:
                this.textboxGridLossCoefficient = ((AutinPower.WPF.Controls.UI_LabeledTextBox)(target));
                return;

            case 20:
                this.dataGridPowerCost = ((System.Windows.Controls.DataGrid)(target));

            #line 78 "..\..\..\Pages\PageUnitParamsConfig.xaml"
                this.dataGridPowerCost.CellEditEnding += new System.EventHandler <System.Windows.Controls.DataGridCellEditEndingEventArgs>(this.dataGridPowerCost_CellEditEnding);

            #line default
            #line hidden
                return;

            case 21:
                this.textboxColdStartCost = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:
                this.textboxWarmStartCost = ((System.Windows.Controls.TextBox)(target));
                return;

            case 23:
                this.textboxHotStartCost = ((System.Windows.Controls.TextBox)(target));
                return;

            case 24:
                this.textboxNoloadCost = ((System.Windows.Controls.TextBox)(target));
                return;

            case 25:
                this.textboxMaximumStartTimes = ((System.Windows.Controls.TextBox)(target));
                return;

            case 26:
                this.textboxMinimumRunningHours = ((System.Windows.Controls.TextBox)(target));
                return;

            case 27:
                this.textboxLoadRate = ((System.Windows.Controls.TextBox)(target));
                return;

            case 28:
                this.uiChart = ((AutinPower.WPF.Controls.UI_LineChart)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.gridMain = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.textblockDeclaimStatus = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.textblockDeclaimStatus_Copy = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.textblockDeclaimStatus_Copy1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.comboBoxUnit = ((System.Windows.Controls.ComboBox)(target));

            #line 29 "..\..\..\Pages\PageGeneratorSideDayDeclaim.xaml"
                this.comboBoxUnit.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBoxUnit_SelectionChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.buttonSubmit = ((System.Windows.Controls.Button)(target));

            #line 32 "..\..\..\Pages\PageGeneratorSideDayDeclaim.xaml"
                this.buttonSubmit.Click += new System.Windows.RoutedEventHandler(this.buttonSubmit_ClickAsync);

            #line default
            #line hidden
                return;

            case 7:
                this.buttonSave = ((System.Windows.Controls.Button)(target));
                return;

            case 8:
                this.dataGridPowerCost = ((System.Windows.Controls.DataGrid)(target));

            #line 48 "..\..\..\Pages\PageGeneratorSideDayDeclaim.xaml"
                this.dataGridPowerCost.CellEditEnding += new System.EventHandler <System.Windows.Controls.DataGridCellEditEndingEventArgs>(this.dataGridPowerCost_CellEditEnding);

            #line default
            #line hidden
                return;

            case 9:
                this.uiChart = ((AutinPower.WPF.Controls.UI_LineChart)(target));
                return;

            case 10:
                this.dataGridContract = ((System.Windows.Controls.DataGrid)(target));

            #line 125 "..\..\..\Pages\PageGeneratorSideDayDeclaim.xaml"
                this.dataGridContract.CellEditEnding += new System.EventHandler <System.Windows.Controls.DataGridCellEditEndingEventArgs>(this.dataGridPowerCost_CellEditEnding);

            #line default
            #line hidden
                return;

            case 11:
                this.uiContractChart = ((AutinPower.WPF.Controls.UI_LineChart)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.buttonDayLoadPredict = ((System.Windows.Controls.Button)(target));

            #line 25 "..\..\..\Pages\PageInformationConfig.xaml"
                this.buttonDayLoadPredict.Click += new System.Windows.RoutedEventHandler(this.buttonDayLoadPredict_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.buttonUnitOverhaul = ((System.Windows.Controls.Button)(target));

            #line 26 "..\..\..\Pages\PageInformationConfig.xaml"
                this.buttonUnitOverhaul.Click += new System.Windows.RoutedEventHandler(this.buttonUnitOverhaul_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.buttonTransformOverhaul = ((System.Windows.Controls.Button)(target));

            #line 27 "..\..\..\Pages\PageInformationConfig.xaml"
                this.buttonTransformOverhaul.Click += new System.Windows.RoutedEventHandler(this.buttonTransformOverhaul_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.buttonBlockInfo = ((System.Windows.Controls.Button)(target));

            #line 28 "..\..\..\Pages\PageInformationConfig.xaml"
                this.buttonBlockInfo.Click += new System.Windows.RoutedEventHandler(this.buttonBlockInfo_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.buttonExternalPowerPlan = ((System.Windows.Controls.Button)(target));

            #line 29 "..\..\..\Pages\PageInformationConfig.xaml"
                this.buttonExternalPowerPlan.Click += new System.Windows.RoutedEventHandler(this.buttonExternalPowerPlan_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.buttonPowerLoadPredict = ((System.Windows.Controls.Button)(target));

            #line 30 "..\..\..\Pages\PageInformationConfig.xaml"
                this.buttonPowerLoadPredict.Click += new System.Windows.RoutedEventHandler(this.buttonPowerLoadPredict_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.buttonUserLoadPredict = ((System.Windows.Controls.Button)(target));

            #line 31 "..\..\..\Pages\PageInformationConfig.xaml"
                this.buttonUserLoadPredict.Click += new System.Windows.RoutedEventHandler(this.buttonUserLoadPredict_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.textboxSelectorLabel = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.comboboxUserList = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 10:
                this.datepickerLoadDate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 11:
                this.dataGridPowerCost = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 12:
                this.textblockPlotTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:
                this.uiChart = ((AutinPower.WPF.Controls.UI_LineChart)(target));
                return;
            }
            this._contentLoaded = true;
        }