The gauge chart is useful to display progress or completion.
Inheritance: System.Windows.Controls.UserControl
Exemplo n.º 1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.TemptureNow = ((LiveCharts.Wpf.AngularGauge)(target));
         return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 23 "..\..\ConstantChangesChart.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.theGauge = ((LiveCharts.Wpf.AngularGauge)(target));
                return;

            case 3:
                this.theCC = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 4:
                this.lsPulse = ((LiveCharts.Wpf.StepLineSeries)(target));
                return;

            case 5:
                this.lsEfficiency = ((LiveCharts.Wpf.LineSeries)(target));
                return;

            case 6:
                this.lsRed = ((LiveCharts.Wpf.LineSeries)(target));
                return;

            case 7:
                this.lsGreen = ((LiveCharts.Wpf.LineSeries)(target));
                return;

            case 8:
                this.lsBlue = ((LiveCharts.Wpf.LineSeries)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.AngularGaugeControl = ((MarketData.GUI.AngularGaugeView)(target));
                return;

            case 2:
                this.MetricGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 4:
                this.CpuGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.Border = ((System.Windows.Controls.Border)(target));
                return;

            case 6:
                this.CpuGauge = ((LiveCharts.Wpf.AngularGauge)(target));
                return;

            case 7:
                this.MemoryGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 8:
                this.Border1 = ((System.Windows.Controls.Border)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\..\..\User Controls\Dashboard\ItemDashboard.xaml"
                ((SmartSupport.User_Controls.Dashboard.ItemDashboard)(target)).Loaded += new System.Windows.RoutedEventHandler(this.DashboardUserControl_Loaded);

            #line default
            #line hidden

            #line 11 "..\..\..\..\User Controls\Dashboard\ItemDashboard.xaml"
                ((SmartSupport.User_Controls.Dashboard.ItemDashboard)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

            case 2:
                this.DashboardUserControl = ((System.Windows.Controls.Grid)(target));

            #line 13 "..\..\..\..\User Controls\Dashboard\ItemDashboard.xaml"
                this.DashboardUserControl.LostFocus += new System.Windows.RoutedEventHandler(this.lost_focus);

            #line default
            #line hidden
                return;

            case 3:
                this.Title = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.svcTime = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 55 "..\..\..\..\User Controls\Dashboard\ItemDashboard.xaml"
                this.ComboExe.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboExe_SelectionChanged);

            #line default
            #line hidden
                return;

            case 6:

            #line 63 "..\..\..\..\User Controls\Dashboard\ItemDashboard.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.Dashboard = ((System.Windows.Controls.Grid)(target));
                return;

            case 8:
                this.Dll = ((System.Windows.Controls.Grid)(target));
                return;

            case 9:
                this.GridDll = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 10:
                this.SysInfo_Grahs = ((System.Windows.Controls.Grid)(target));
                return;

            case 11:

            #line 131 "..\..\..\..\User Controls\Dashboard\ItemDashboard.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Click += new System.Windows.RoutedEventHandler(this.SystemButton_Click);

            #line default
            #line hidden
                return;

            case 12:

            #line 137 "..\..\..\..\User Controls\Dashboard\ItemDashboard.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Click += new System.Windows.RoutedEventHandler(this.CPUButton_Click);

            #line default
            #line hidden
                return;

            case 13:

            #line 143 "..\..\..\..\User Controls\Dashboard\ItemDashboard.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Click += new System.Windows.RoutedEventHandler(this.NetworkButton_Click);

            #line default
            #line hidden
                return;

            case 14:

            #line 149 "..\..\..\..\User Controls\Dashboard\ItemDashboard.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Click += new System.Windows.RoutedEventHandler(this.OSButton_Click);

            #line default
            #line hidden
                return;

            case 15:

            #line 155 "..\..\..\..\User Controls\Dashboard\ItemDashboard.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Click += new System.Windows.RoutedEventHandler(this.MemoryButton_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.EnvValues = ((System.Windows.Controls.Grid)(target));
                return;

            case 17:
                this.GridValue1 = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 18:
                this.GridValue2 = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 19:
                this.Graph = ((System.Windows.Controls.Grid)(target));
                return;

            case 20:
                this.gauge_cpu = ((LiveCharts.Wpf.AngularGauge)(target));
                return;

            case 21:
                this.chip_cpu = ((MaterialDesignThemes.Wpf.Chip)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\MainWindow.xaml"
                ((GUI_v1.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 11 "..\..\MainWindow.xaml"
                ((GUI_v1.MainWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden
                return;

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

            #line 59 "..\..\MainWindow.xaml"
                this.Select.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmb_SelectionChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.C0 = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 4:
                this.a0 = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 5:
                this.lb2 = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.lb3 = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.lb4 = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.lb5 = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.lb6 = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.lb1 = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.ss1 = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 13:
                this.ss3 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 14:
                this.ss4 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:
                this.ss5 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 16:
                this.V1 = ((LiveCharts.Wpf.AngularGauge)(target));
                return;

            case 17:
                this.C1 = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 18:
                this.a1 = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 19:
                this.C2 = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 20:
                this.a2 = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 21:
                this.C3 = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 22:
                this.a3 = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 23:
                this.Pbstatus = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 24:
                this.lb7 = ((System.Windows.Controls.Label)(target));
                return;

            case 25:
                this.lb8 = ((System.Windows.Controls.Label)(target));
                return;

            case 26:
                this.lb9 = ((System.Windows.Controls.Label)(target));
                return;

            case 27:
                this.lb10 = ((System.Windows.Controls.Label)(target));
                return;

            case 28:
                this.lb11 = ((System.Windows.Controls.Label)(target));
                return;

            case 29:
                this.bingmap = ((Microsoft.Maps.MapControl.WPF.Map)(target));
                return;

            case 30:
                this.lb15 = ((System.Windows.Controls.Label)(target));
                return;

            case 31:
                this.lb16 = ((System.Windows.Controls.Label)(target));
                return;

            case 32:
                this.lb17 = ((System.Windows.Controls.Label)(target));
                return;

            case 33:
                this.lb18 = ((System.Windows.Controls.Label)(target));
                return;

            case 34:
                this.lb19 = ((System.Windows.Controls.Label)(target));
                return;

            case 35:
                this.lb12 = ((System.Windows.Controls.Label)(target));
                return;

            case 36:
                this.lb13 = ((System.Windows.Controls.Label)(target));
                return;

            case 37:
                this.lb14 = ((System.Windows.Controls.Label)(target));
                return;

            case 38:
                this.Temp = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 39:
                this.MainViewport = ((System.Windows.Controls.Viewport3D)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.PreConfig_Box = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 35 "..\..\MainWindow.xaml"
                this.Connect_Button.Click += new System.Windows.RoutedEventHandler(this.Connect_Button_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.Config_Container = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.BCT_Text = ((System.Windows.Controls.TextBox)(target));

            #line 37 "..\..\MainWindow.xaml"
                this.BCT_Text.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput);

            #line default
            #line hidden

            #line 37 "..\..\MainWindow.xaml"
                this.BCT_Text.LostFocus += new System.Windows.RoutedEventHandler(this.BCT_Text_LostFocus);

            #line default
            #line hidden

            #line 37 "..\..\MainWindow.xaml"
                this.BCT_Text.KeyUp += new System.Windows.Input.KeyEventHandler(this.BCT_Text_KeyUp);

            #line default
            #line hidden
                return;

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

            #line 38 "..\..\MainWindow.xaml"
                this.Start_Button.Click += new System.Windows.RoutedEventHandler(this.Start_Button_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.BMT_Slider = ((System.Windows.Controls.Slider)(target));

            #line 41 "..\..\MainWindow.xaml"
                this.BMT_Slider.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.BMT_Slider_PreviewMouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 7:
                this.MGH_Text = ((System.Windows.Controls.TextBox)(target));

            #line 43 "..\..\MainWindow.xaml"
                this.MGH_Text.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput);

            #line default
            #line hidden

            #line 43 "..\..\MainWindow.xaml"
                this.MGH_Text.LostFocus += new System.Windows.RoutedEventHandler(this.MGH_Text_LostFocus);

            #line default
            #line hidden

            #line 43 "..\..\MainWindow.xaml"
                this.MGH_Text.KeyUp += new System.Windows.Input.KeyEventHandler(this.MGH_Text_KeyUp);

            #line default
            #line hidden
                return;

            case 8:
                this.MGL_Text = ((System.Windows.Controls.TextBox)(target));

            #line 47 "..\..\MainWindow.xaml"
                this.MGL_Text.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput);

            #line default
            #line hidden

            #line 47 "..\..\MainWindow.xaml"
                this.MGL_Text.LostFocus += new System.Windows.RoutedEventHandler(this.MGL_Text_LostFocus);

            #line default
            #line hidden

            #line 47 "..\..\MainWindow.xaml"
                this.MGL_Text.KeyUp += new System.Windows.Input.KeyEventHandler(this.MGL_Text_KeyUp);

            #line default
            #line hidden
                return;

            case 9:
                this.MGH_Slider = ((System.Windows.Controls.Slider)(target));

            #line 48 "..\..\MainWindow.xaml"
                this.MGH_Slider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.MGH_Slider_ValueChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.MGL_Slider = ((System.Windows.Controls.Slider)(target));

            #line 49 "..\..\MainWindow.xaml"
                this.MGL_Slider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.MGL_Slider_ValueChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.Zero_Text = ((System.Windows.Controls.TextBox)(target));

            #line 50 "..\..\MainWindow.xaml"
                this.Zero_Text.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput);

            #line default
            #line hidden

            #line 50 "..\..\MainWindow.xaml"
                this.Zero_Text.LostFocus += new System.Windows.RoutedEventHandler(this.Zero_Text_LostFocus);

            #line default
            #line hidden
                return;

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

            #line 53 "..\..\MainWindow.xaml"
                this.Zero_Button.Click += new System.Windows.RoutedEventHandler(this.Zero_Button_Click);

            #line default
            #line hidden
                return;

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

            #line 54 "..\..\MainWindow.xaml"
                this.Save_Button.Click += new System.Windows.RoutedEventHandler(this.Save_Button_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.MGH_Rise = ((System.Windows.Controls.TextBox)(target));

            #line 56 "..\..\MainWindow.xaml"
                this.MGH_Rise.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput);

            #line default
            #line hidden

            #line 56 "..\..\MainWindow.xaml"
                this.MGH_Rise.LostFocus += new System.Windows.RoutedEventHandler(this.Zero_Text_LostFocus);

            #line default
            #line hidden
                return;

            case 15:
                this.MGH_Fall = ((System.Windows.Controls.TextBox)(target));

            #line 58 "..\..\MainWindow.xaml"
                this.MGH_Fall.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput);

            #line default
            #line hidden

            #line 58 "..\..\MainWindow.xaml"
                this.MGH_Fall.LostFocus += new System.Windows.RoutedEventHandler(this.Zero_Text_LostFocus);

            #line default
            #line hidden
                return;

            case 16:
                this.MGL_Rise = ((System.Windows.Controls.TextBox)(target));

            #line 63 "..\..\MainWindow.xaml"
                this.MGL_Rise.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput);

            #line default
            #line hidden

            #line 63 "..\..\MainWindow.xaml"
                this.MGL_Rise.LostFocus += new System.Windows.RoutedEventHandler(this.Zero_Text_LostFocus);

            #line default
            #line hidden
                return;

            case 17:
                this.MGL_Fall = ((System.Windows.Controls.TextBox)(target));

            #line 65 "..\..\MainWindow.xaml"
                this.MGL_Fall.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput);

            #line default
            #line hidden

            #line 65 "..\..\MainWindow.xaml"
                this.MGL_Fall.LostFocus += new System.Windows.RoutedEventHandler(this.Zero_Text_LostFocus);

            #line default
            #line hidden
                return;

            case 18:
                this.Position_Graph = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 19:
                this.Position_Value_Text = ((System.Windows.Controls.TextBox)(target));
                return;

            case 20:
                this.Angle_Graph = ((LiveCharts.Wpf.AngularGauge)(target));
                return;

            case 21:
                this.Angle_Graph_OFF = ((LiveCharts.Wpf.AngularSection)(target));
                return;

            case 22:
                this.Angle_Graph_ON = ((LiveCharts.Wpf.AngularSection)(target));
                return;

            case 23:
                this.Angle_Value_Text = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 24:
                this.Control_Buttons = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 26:
                this.LED_Drill = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 27:
                this.MGH_Led = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 28:
                this.MGL_Led = ((System.Windows.Shapes.Ellipse)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TempGauge = ((LiveCharts.Wpf.AngularGauge)(target));
                return;

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

            #line 54 "..\..\MainWindow.xaml"
                this.SampleGauge.Click += new System.Windows.RoutedEventHandler(this.Sample_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.LightGauge = ((LiveCharts.Wpf.AngularGauge)(target));
                return;

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

            #line 67 "..\..\MainWindow.xaml"
                this.LEDred.Click += new System.Windows.RoutedEventHandler(this.LEDred_Click);

            #line default
            #line hidden
                return;

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

            #line 68 "..\..\MainWindow.xaml"
                this.LEDgreen.Click += new System.Windows.RoutedEventHandler(this.LEDgreen_Click);

            #line default
            #line hidden
                return;

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

            #line 69 "..\..\MainWindow.xaml"
                this.LEDblue.Click += new System.Windows.RoutedEventHandler(this.LEDblue_Click);

            #line default
            #line hidden
                return;

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

            #line 70 "..\..\MainWindow.xaml"
                this.LEDmagenta.Click += new System.Windows.RoutedEventHandler(this.LEDmagenta_Click);

            #line default
            #line hidden
                return;

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

            #line 71 "..\..\MainWindow.xaml"
                this.LEDcyan.Click += new System.Windows.RoutedEventHandler(this.LEDcyan_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.LEDyellow = ((System.Windows.Controls.Button)(target));

            #line 72 "..\..\MainWindow.xaml"
                this.LEDyellow.Click += new System.Windows.RoutedEventHandler(this.LEDyellow_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.LEDwhite = ((System.Windows.Controls.Button)(target));

            #line 73 "..\..\MainWindow.xaml"
                this.LEDwhite.Click += new System.Windows.RoutedEventHandler(this.LEDwhite_Click);

            #line default
            #line hidden
                return;

            case 11:

            #line 74 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 12:
                this.console = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.Dataset = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            #line 88 "..\..\MainWindow.xaml"
                this.SayHello.Click += new System.Windows.RoutedEventHandler(this.SayHello_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.Sample = ((System.Windows.Controls.Button)(target));

            #line 89 "..\..\MainWindow.xaml"
                this.Sample.Click += new System.Windows.RoutedEventHandler(this.Sample_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.Disconnect = ((System.Windows.Controls.Button)(target));

            #line 90 "..\..\MainWindow.xaml"
                this.Disconnect.Click += new System.Windows.RoutedEventHandler(this.Disconnect_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.Connect = ((System.Windows.Controls.Button)(target));

            #line 91 "..\..\MainWindow.xaml"
                this.Connect.Click += new System.Windows.RoutedEventHandler(this.Connect_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.TempX = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 19:
                this.LightX = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 20:
                this.TimeDateChart = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 21:
                this.TempChart = ((LiveCharts.Wpf.LineSeries)(target));
                return;

            case 22:
                this.LightChart = ((LiveCharts.Wpf.LineSeries)(target));
                return;
            }
            this._contentLoaded = true;
        }