Example #1
0
        public static LineAndMarker <MarkerPointsGraph> AddLineGraph(this Plotter2D plotter, IPointDataSource pointSource,
                                                                     Pen linePen, PointMarker marker, Description description)
        {
            if (pointSource == null)
            {
                throw new ArgumentNullException("pointSource");
            }

            var res = new LineAndMarker <MarkerPointsGraph>();

            if (linePen != null)             // We are requested to draw line graphs
            {
                LineGraph graph = new LineGraph
                {
                    DataSource = pointSource,
                    LinePen    = linePen
                };
                if (description != null)
                {
                    NewLegend.SetDescription(graph, description.Brief);
                    graph.Description = description;
                }
                if (marker == null)
                {
                    // Add inclination filter only to graphs without markers
                    // graph.Filters.Add(new InclinationFilter());
                }

                res.LineGraph = graph;

                graph.Filters.Add(new FrequencyFilter());
                plotter.Children.Add(graph);
            }

            if (marker != null)             // We are requested to draw marker graphs 画标记点
            {
                MarkerPointsGraph markerGraph = new MarkerPointsGraph
                {
                    DataSource = pointSource,
                    Marker     = marker
                };

                res.MarkerGraph = markerGraph;

                plotter.Children.Add(markerGraph);
            }

            return(res);
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.gridTab1 = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            case 4:
                this.menuIshowOnlineOptions = ((System.Windows.Controls.MenuItem)(target));

            #line 66 "..\..\..\..\OnlineModeFolder\OnlineMode.xaml"
                this.menuIshowOnlineOptions.Click += new System.Windows.RoutedEventHandler(this.showOnlineOptions_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.menuIshowGraphicChangeOfParameters = ((System.Windows.Controls.MenuItem)(target));

            #line 71 "..\..\..\..\OnlineModeFolder\OnlineMode.xaml"
                this.menuIshowGraphicChangeOfParameters.Click += new System.Windows.RoutedEventHandler(this.menuIshowGraphicChangeOfParameters_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.menuIshowOptionsChangeOfParameters = ((System.Windows.Controls.MenuItem)(target));

            #line 75 "..\..\..\..\OnlineModeFolder\OnlineMode.xaml"
                this.menuIshowOptionsChangeOfParameters.Click += new System.Windows.RoutedEventHandler(this.menuIshowOptionsChangeOfParameters_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.menuIshowOptionsManagingOfTTM = ((System.Windows.Controls.MenuItem)(target));

            #line 80 "..\..\..\..\OnlineModeFolder\OnlineMode.xaml"
                this.menuIshowOptionsManagingOfTTM.Click += new System.Windows.RoutedEventHandler(this.menuIshowOptionsManagingOfTTM_Click);

            #line default
            #line hidden
                return;

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

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

            #line 109 "..\..\..\..\OnlineModeFolder\OnlineMode.xaml"
                this.btnSampleData.Click += new System.Windows.RoutedEventHandler(this.btnSampleData_Click);

            #line default
            #line hidden
                return;

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

            #line 127 "..\..\..\..\OnlineModeFolder\OnlineMode.xaml"
                this.btnStartSample.Click += new System.Windows.RoutedEventHandler(this.btnStartSample_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.chbStartSampleShowChangedPar = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            #line 149 "..\..\..\..\OnlineModeFolder\OnlineMode.xaml"
                this.btnStopSample.Click += new System.Windows.RoutedEventHandler(this.btnStopSample_Click);

            #line default
            #line hidden
                return;

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

            #line 164 "..\..\..\..\OnlineModeFolder\OnlineMode.xaml"
                this.btnSetTlb.Click += new System.Windows.RoutedEventHandler(this.btnSetTlb_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.gridLabelForButton_btnSampleData = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 16:
                this.lblOnlineStatus = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.plotter = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

            case 18:
                this._MarkerGraph = ((Microsoft.Research.DynamicDataDisplay.MarkerPointsGraph)(target));
                return;

            case 19:
                this.Header = ((Microsoft.Research.DynamicDataDisplay.Header)(target));
                return;

            case 20:
                this.gridLabelsParameters = ((System.Windows.Controls.Grid)(target));
                return;

            case 21:
                this.lblForceInN = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 22:
                this.lblMaxForceInKN = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 24:
                this.lblPreassureInMPa = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 25:
                this.lblPreassureInMPa2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 26:
                this.lblElongationInMM = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 27:
                this.lblElongationInMM2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 28:
                this.lblElongationInProcent = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 29:
                this.lblElongationInProcent2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 30:
                this.lblDeltaPreassure = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 31:
                this.lblDeltaPreassure2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 32:
                this.lblMaxDeltaPreassure = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 33:
                this.lblMaxDeltaPreassure2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 34:
                this.lblDeltaElongation = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 35:
                this.lblDeltaElongation2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 36:
                this.lblMaxDeltaElongation = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 37:
                this.lblMaxDeltaElongation2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 38:
                this.gridTextboxParameters = ((System.Windows.Controls.Grid)(target));
                return;

            case 39:
                this.tfForceInN = ((System.Windows.Controls.TextBox)(target));
                return;

            case 40:
                this.tfMaxForceInKN = ((System.Windows.Controls.TextBox)(target));
                return;

            case 41:
                this.tfPreassureInMPa = ((System.Windows.Controls.TextBox)(target));
                return;

            case 42:
                this.tfElongationInMM = ((System.Windows.Controls.TextBox)(target));
                return;

            case 43:
                this.tfElongationInProcent = ((System.Windows.Controls.TextBox)(target));
                return;

            case 44:
                this.tfDeltaPreassure = ((System.Windows.Controls.TextBox)(target));
                return;

            case 45:
                this.tfMaxDeltaPreassure = ((System.Windows.Controls.TextBox)(target));
                return;

            case 46:
                this.tfDeltaElongation = ((System.Windows.Controls.TextBox)(target));
                return;

            case 47:
                this.tfMaxDeltaElongation = ((System.Windows.Controls.TextBox)(target));
                return;

            case 48:
                this.gridonlineoptions = ((System.Windows.Controls.Grid)(target));
                return;

            case 49:
                this.btnEnterNewSample = ((System.Windows.Controls.Button)(target));

            #line 691 "..\..\..\..\OnlineModeFolder\OnlineMode.xaml"
                this.btnEnterNewSample.Click += new System.Windows.RoutedEventHandler(this.btnEnterNewSample_Click);

            #line default
            #line hidden
                return;

            case 50:
                this.btnSaveSample = ((System.Windows.Controls.Button)(target));

            #line 732 "..\..\..\..\OnlineModeFolder\OnlineMode.xaml"
                this.btnSaveSample.Click += new System.Windows.RoutedEventHandler(this.btnSaveSample_Click);

            #line default
            #line hidden
                return;

            case 51:
                this.btnShowOnlineOptions = ((System.Windows.Controls.Button)(target));

            #line 761 "..\..\..\..\OnlineModeFolder\OnlineMode.xaml"
                this.btnShowOnlineOptions.Click += new System.Windows.RoutedEventHandler(this.btnShowOnlineOptions_Click);

            #line default
            #line hidden
                return;

            case 52:
                this.gridRemarkOnlineFileHeaderWritten = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #3
0
		public static LineAndMarker<MarkerPointsGraph> AddLineGraph(this Plotter2D plotter, IPointDataSource pointSource,
				Pen linePen, PointMarker marker, Description description)
		{
			if (pointSource == null)
				throw new ArgumentNullException("pointSource");

			var res = new LineAndMarker<MarkerPointsGraph>();

			if (linePen != null) // We are requested to draw line graphs
			{
				LineGraph graph = new LineGraph
				{
					DataSource = pointSource,
					LinePen = linePen
				};
				if (description != null)
				{
					graph.Description = description;
				}
				if (marker == null)
				{
					// Add inclination filter only to graphs without markers
					graph.Filters.Add(new InclinationFilter());
				}

				res.LineGraph = graph;

				graph.Filters.Add(new FrequencyFilter());
				//graph.Filters.Add(new CountFilter());
				plotter.Children.Add(graph);
			}

			if (marker != null) // We are requested to draw marker graphs
			{
				MarkerPointsGraph markerGraph = new MarkerPointsGraph
				{
					DataSource = pointSource,
					Marker = marker
				};

				res.MarkerGraph = markerGraph;

				plotter.Children.Add(markerGraph);
			}

			return res;
		}
Example #4
0
        public override void updatechart(Dictionary<string, string> packagelist)
        {
            isRunning = true;
            pkglist = new Dictionary<string, string>();
            clearLines();
            //Rect rec = (t-20>0?t-20:0,t-20>0?t+10:30,t,chart.Viewport.Visible.YMax);
            datalist.Clear();
            listgraph.Clear();

            this.msr.Width = 30;
            datalist.Add("屏幕变化率", new ObservableDataSource<Point>());

            MarkerPointsGraph mpg = new MarkerPointsGraph(markerPoints);
            XValueTextMarker ctm = new XValueTextMarker(this.chart.Viewport);
            mpg.Marker = ctm;
            this.chart.Children.Add(mpg);

            MarkerPointsGraph fmpg = new MarkerPointsGraph(framePoints);
            FrameValueTextMarker ftm = new FrameValueTextMarker(this.chart.Viewport);
            fmpg.Marker = ftm;
            this.chart.Children.Add(fmpg);

            listgraph.Add(chart.AddLineGraph(datalist["屏幕变化率"], Colors.Blue, 2, "屏幕变化率"));//Color.FromRgb(72, 118, 255)

            ts = new ThreadStart(getScreenDiff);
            if (getDiffThread == null) {
                if (!runable) {
                    return;
                }
                getDiffThread = new Thread(ts);
                getDiffThread.SetApartmentState(ApartmentState.STA);
                getDiffThread.Start();
            } else {
                getDiffThread.Abort();
                if (!proc.HasExited)
                    proc.Kill();
                getDiffThread = new Thread(ts);
                getDiffThread.SetApartmentState(ApartmentState.STA);
                getDiffThread.Start();
            }
        }
Example #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.gridTab1 = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 3:
                this.plotter = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

            case 4:
                this._MarkerGraph = ((Microsoft.Research.DynamicDataDisplay.MarkerPointsGraph)(target));
                return;

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

            case 6:
                this.lblForceInN = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.lblMaxForceInKN = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            case 10:
                this.lblElongationInProcent = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

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

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

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

            case 16:
                this.lblPreassureMaxElongation = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 17:
                this.gridTextboxParameters = ((System.Windows.Controls.Grid)(target));
                return;

            case 18:
                this.tfForceInN = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 20:
                this.tfPreassureInMPa = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

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

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

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

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

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

            case 28:
                this.tfPreassureMaxElongation = ((System.Windows.Controls.TextBox)(target));
                return;

            case 29:
                this.btnOnlineMode = ((System.Windows.Controls.Button)(target));

            #line 316 "..\..\..\OnlineMode.xaml"
                this.btnOnlineMode.Click += new System.Windows.RoutedEventHandler(this.btnOnlineMode_Click);

            #line default
            #line hidden
                return;

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

            case 31:
                this.gridonlineoptions = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 33:
                this.gridL0 = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 35:
                this.tfL0 = ((System.Windows.Controls.TextBox)(target));

            #line 396 "..\..\..\OnlineMode.xaml"
                this.tfL0.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tfL0_TextChanged);

            #line default
            #line hidden

            #line 397 "..\..\..\OnlineMode.xaml"
                this.tfL0.KeyDown += new System.Windows.Input.KeyEventHandler(this.tfL0_KeyDown);

            #line default
            #line hidden
                return;

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

            case 37:
                this.gridS0 = ((System.Windows.Controls.Grid)(target));
                return;

            case 38:
                this.lblS0 = ((System.Windows.Controls.Label)(target));
                return;

            case 39:
                this.tfS0 = ((System.Windows.Controls.TextBox)(target));

            #line 429 "..\..\..\OnlineMode.xaml"
                this.tfS0.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tfS0_TextChanged);

            #line default
            #line hidden

            #line 430 "..\..\..\OnlineMode.xaml"
                this.tfS0.KeyDown += new System.Windows.Input.KeyEventHandler(this.tfS0_KeyDown);

            #line default
            #line hidden
                return;

            case 40:
                this.lblS0End = ((System.Windows.Controls.Label)(target));
                return;

            case 41:
                this.lblGraphicCalibrationForce = ((System.Windows.Controls.Label)(target));
                return;

            case 42:
                this.gridNutnDivide = ((System.Windows.Controls.Grid)(target));
                return;

            case 43:
                this.lblCalForceDivide = ((System.Windows.Controls.Label)(target));
                return;

            case 44:
                this.tfCalForceDivide = ((System.Windows.Controls.TextBox)(target));

            #line 474 "..\..\..\OnlineMode.xaml"
                this.tfCalForceDivide.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tfCalForceDivide_TextChanged);

            #line default
            #line hidden

            #line 475 "..\..\..\OnlineMode.xaml"
                this.tfCalForceDivide.KeyDown += new System.Windows.Input.KeyEventHandler(this.tfCalForceDivide_KeyDown);

            #line default
            #line hidden
                return;

            case 45:
                this.lblCalForceDivideEnd = ((System.Windows.Controls.Label)(target));
                return;

            case 46:
                this.gridNutnMultiple = ((System.Windows.Controls.Grid)(target));
                return;

            case 47:
                this.lblCalForceMultiple = ((System.Windows.Controls.Label)(target));
                return;

            case 48:
                this.tfCalForceMultiple = ((System.Windows.Controls.TextBox)(target));

            #line 510 "..\..\..\OnlineMode.xaml"
                this.tfCalForceMultiple.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tfCalForceMultiple_TextChanged);

            #line default
            #line hidden

            #line 511 "..\..\..\OnlineMode.xaml"
                this.tfCalForceMultiple.KeyDown += new System.Windows.Input.KeyEventHandler(this.tfCalForceMultiple_KeyDown);

            #line default
            #line hidden
                return;

            case 49:
                this.lblCalForceMultipleEnd = ((System.Windows.Controls.Label)(target));
                return;

            case 50:
                this.lblGraphicCalibrationElongation = ((System.Windows.Controls.Label)(target));
                return;

            case 51:
                this.gridElonDivide = ((System.Windows.Controls.Grid)(target));
                return;

            case 52:
                this.lblCalElonDivide = ((System.Windows.Controls.Label)(target));
                return;

            case 53:
                this.tfCalElonDivide = ((System.Windows.Controls.TextBox)(target));

            #line 557 "..\..\..\OnlineMode.xaml"
                this.tfCalElonDivide.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tfCalElonDivide_TextChanged);

            #line default
            #line hidden

            #line 558 "..\..\..\OnlineMode.xaml"
                this.tfCalElonDivide.KeyDown += new System.Windows.Input.KeyEventHandler(this.tfCalElonDivide_KeyDown);

            #line default
            #line hidden
                return;

            case 54:
                this.lblCalElonDivideEnd = ((System.Windows.Controls.Label)(target));
                return;

            case 55:
                this.gridElonMultiple = ((System.Windows.Controls.Grid)(target));
                return;

            case 56:
                this.lblCalElonMultiple = ((System.Windows.Controls.Label)(target));
                return;

            case 57:
                this.tfCalElonMultiple = ((System.Windows.Controls.TextBox)(target));

            #line 595 "..\..\..\OnlineMode.xaml"
                this.tfCalElonMultiple.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tfCalElonMultiple_TextChanged);

            #line default
            #line hidden

            #line 596 "..\..\..\OnlineMode.xaml"
                this.tfCalElonMultiple.KeyDown += new System.Windows.Input.KeyEventHandler(this.tfCalElonMultiple_KeyDown);

            #line default
            #line hidden
                return;

            case 58:
                this.lblCalElonMultipleEnd = ((System.Windows.Controls.Label)(target));
                return;

            case 59:
                this.lblGraphicRatio = ((System.Windows.Controls.Label)(target));
                return;

            case 60:
                this.gridRbtnsRation = ((System.Windows.Controls.Grid)(target));
                return;

            case 61:
                this.rbtnAuto = ((System.Windows.Controls.RadioButton)(target));

            #line 634 "..\..\..\OnlineMode.xaml"
                this.rbtnAuto.Checked += new System.Windows.RoutedEventHandler(this.rbtnAuto_Checked);

            #line default
            #line hidden

            #line 635 "..\..\..\OnlineMode.xaml"
                this.rbtnAuto.Unchecked += new System.Windows.RoutedEventHandler(this.rbtnAuto_Unchecked);

            #line default
            #line hidden
                return;

            case 62:
                this.rbtnManual = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 63:
                this.gridTfPreassure = ((System.Windows.Controls.Grid)(target));
                return;

            case 64:
                this.lblRatioPreassure = ((System.Windows.Controls.Label)(target));
                return;

            case 65:
                this.tfRatioForce = ((System.Windows.Controls.TextBox)(target));

            #line 669 "..\..\..\OnlineMode.xaml"
                this.tfRatioForce.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tfRatioForce_TextChanged);

            #line default
            #line hidden

            #line 670 "..\..\..\OnlineMode.xaml"
                this.tfRatioForce.KeyDown += new System.Windows.Input.KeyEventHandler(this.tfRatioForce_KeyDown);

            #line default
            #line hidden
                return;

            case 66:
                this.gridTfElongation = ((System.Windows.Controls.Grid)(target));
                return;

            case 67:
                this.lblRatioElongation = ((System.Windows.Controls.Label)(target));
                return;

            case 68:
                this.tfRatioElongation = ((System.Windows.Controls.TextBox)(target));

            #line 696 "..\..\..\OnlineMode.xaml"
                this.tfRatioElongation.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tfRatioElongation_TextChanged);

            #line default
            #line hidden

            #line 697 "..\..\..\OnlineMode.xaml"
                this.tfRatioElongation.KeyDown += new System.Windows.Input.KeyEventHandler(this.tfRatioElongation_KeyDown);

            #line default
            #line hidden
                return;

            case 69:
                this.gridTfEndOnlineWrite = ((System.Windows.Controls.Grid)(target));
                return;

            case 70:
                this.lblEndOnlineWrite = ((System.Windows.Controls.Label)(target));
                return;

            case 71:
                this.tfEndOnlineWrite = ((System.Windows.Controls.TextBox)(target));

            #line 726 "..\..\..\OnlineMode.xaml"
                this.tfEndOnlineWrite.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tfEndOnlineWrite_TextChanged);

            #line default
            #line hidden

            #line 727 "..\..\..\OnlineMode.xaml"
                this.tfEndOnlineWrite.KeyDown += new System.Windows.Input.KeyEventHandler(this.tfEndOnlineWrite_KeyDown);

            #line default
            #line hidden
                return;

            case 72:
                this.lblEndOnlineWriteEnd = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.plotter = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

            case 2:
                this._MarkerGraph = ((Microsoft.Research.DynamicDataDisplay.MarkerPointsGraph)(target));
                return;

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

            #line 26 "..\..\..\MainWindow.xaml"
                this.btnGetLine.Click += new System.Windows.RoutedEventHandler(this.btnGetLine_Click);

            #line default
            #line hidden
                return;

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

            #line 27 "..\..\..\MainWindow.xaml"
                this.btnGetMarkers.Click += new System.Windows.RoutedEventHandler(this.btnGetMarkers_Click);

            #line default
            #line hidden
                return;

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

            #line 28 "..\..\..\MainWindow.xaml"
                this.btnAnimateLine.Click += new System.Windows.RoutedEventHandler(this.btnAnimateLine_Click);

            #line default
            #line hidden
                return;

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

            #line 29 "..\..\..\MainWindow.xaml"
                this.btnAnimateMarkers.Click += new System.Windows.RoutedEventHandler(this.btnAnimateMarkers_Click);

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\..\MainWindow.xaml"
                this.btnStopTimer.Click += new System.Windows.RoutedEventHandler(this.btnStopTimer_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.pbar = ((System.Windows.Controls.ProgressBar)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.gridTab2Podtab2 = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 3:
                this.plotter = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

            case 4:
                this._MarkerGraph = ((Microsoft.Research.DynamicDataDisplay.MarkerPointsGraph)(target));
                return;

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

            case 6:
                this.lblForceInN = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.lblMaxForceInKN = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            case 10:
                this.lblElongationInProcent = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

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

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

            case 15:
                this.gridTextboxParameters = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            case 18:
                this.tfPreassureInMPa = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 20:
                this.tfElongationInProcent = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

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

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

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

            case 26:
                this.gridanimationRightPart = ((System.Windows.Controls.Grid)(target));
                return;

            case 27:
                this.gridAnimationFilePath = ((System.Windows.Controls.Grid)(target));
                return;

            case 28:
                this.lblFilepath = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 29:
                this.btnChooseDatabasePath = ((System.Windows.Controls.Button)(target));

            #line 502 "..\..\..\GraphicAnimation.xaml"
                this.btnChooseDatabasePath.Click += new System.Windows.RoutedEventHandler(this.btnChooseDatabasePath_Click);

            #line default
            #line hidden
                return;

            case 30:
                this.gridAnimationFilePathTextBox2 = ((System.Windows.Controls.Grid)(target));
                return;

            case 31:
                this.tfFilepathAnimation = ((System.Windows.Controls.TextBox)(target));
                return;

            case 32:
                this.gridAnimationButton2 = ((System.Windows.Controls.Grid)(target));
                return;

            case 33:
                this.btnAnimationMode = ((System.Windows.Controls.Button)(target));

            #line 557 "..\..\..\GraphicAnimation.xaml"
                this.btnAnimationMode.Click += new System.Windows.RoutedEventHandler(this.btnAnimationMode_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.chbStartSampleShowChangedParAnimation = ((System.Windows.Controls.CheckBox)(target));

            #line 567 "..\..\..\GraphicAnimation.xaml"
                this.chbStartSampleShowChangedParAnimation.Checked += new System.Windows.RoutedEventHandler(this.chbStartSampleShowChangedParAnimation_Checked);

            #line default
            #line hidden

            #line 568 "..\..\..\GraphicAnimation.xaml"
                this.chbStartSampleShowChangedParAnimation.Unchecked += new System.Windows.RoutedEventHandler(this.chbStartSampleShowChangedParAnimation_Unchecked);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.gridPrintScreenGraphic = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

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

            case 6:
                this.rt05Legend = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            case 9:
                this.reLLegend = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            case 12:
                this.reHLegend = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            case 15:
                this.rmLegend = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 17:
                this.lblRm = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 18:
                this.agLegend = ((System.Windows.Controls.Grid)(target));
                return;

            case 19:
                this.stylePointA = ((System.Windows.Controls.Button)(target));
                return;

            case 20:
                this.lblA = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 21:
                this.plotterPrint = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

            case 22:
                this._MarkerGraph = ((Microsoft.Research.DynamicDataDisplay.MarkerPointsGraph)(target));
                return;

            case 23:
                this._MarkerGraph2 = ((Microsoft.Research.DynamicDataDisplay.MarkerPointsGraph)(target));
                return;

            case 24:
                this._MarkerGraph3 = ((Microsoft.Research.DynamicDataDisplay.MarkerPointsGraph)(target));
                return;

            case 25:
                this._MarkerGraph4 = ((Microsoft.Research.DynamicDataDisplay.MarkerPointsGraph)(target));
                return;

            case 26:
                this._MarkerGraph5 = ((Microsoft.Research.DynamicDataDisplay.MarkerPointsGraph)(target));
                return;

            case 27:
                this._MarkerGraph6 = ((Microsoft.Research.DynamicDataDisplay.MarkerPointsGraph)(target));
                return;

            case 28:
                this._MarkerGraph7 = ((Microsoft.Research.DynamicDataDisplay.MarkerPointsGraph)(target));
                return;

            case 29:
                this._MarkerGraph8 = ((Microsoft.Research.DynamicDataDisplay.MarkerPointsGraph)(target));
                return;

            case 30:
                this._MarkerGraph9 = ((Microsoft.Research.DynamicDataDisplay.MarkerPointsGraph)(target));
                return;

            case 31:
                this._MarkerGraph10 = ((Microsoft.Research.DynamicDataDisplay.MarkerPointsGraph)(target));
                return;

            case 32:
                this._MarkerGraph11 = ((Microsoft.Research.DynamicDataDisplay.MarkerPointsGraph)(target));
                return;

            case 33:
                this._MarkerGraph12 = ((Microsoft.Research.DynamicDataDisplay.MarkerPointsGraph)(target));
                return;

            case 34:
                this._MarkerGraph13 = ((Microsoft.Research.DynamicDataDisplay.MarkerPointsGraph)(target));
                return;

            case 35:
                this._MarkerGraph14 = ((Microsoft.Research.DynamicDataDisplay.MarkerPointsGraph)(target));
                return;

            case 36:
                this._MarkerGraph15 = ((Microsoft.Research.DynamicDataDisplay.MarkerPointsGraph)(target));
                return;

            case 37:
                this.gridButtons = ((System.Windows.Controls.Grid)(target));
                return;

            case 38:
                this.btnLoadSampleReport = ((System.Windows.Controls.Button)(target));

            #line 276 "..\..\..\PrintScreen.xaml"
                this.btnLoadSampleReport.Click += new System.Windows.RoutedEventHandler(this.btnLoadSampleReport_Click);

            #line default
            #line hidden
                return;

            case 39:
                this.btnChooseSampleReportPath = ((System.Windows.Controls.Button)(target));

            #line 286 "..\..\..\PrintScreen.xaml"
                this.btnChooseSampleReportPath.Click += new System.Windows.RoutedEventHandler(this.btnChooseSampleReportPath_Click);

            #line default
            #line hidden
                return;

            case 40:
                this.btnLoadSumReport = ((System.Windows.Controls.Button)(target));

            #line 302 "..\..\..\PrintScreen.xaml"
                this.btnLoadSumReport.Click += new System.Windows.RoutedEventHandler(this.btnLoadSumReport_Click);

            #line default
            #line hidden
                return;

            case 41:
                this.btnChooseSumReportPath = ((System.Windows.Controls.Button)(target));

            #line 312 "..\..\..\PrintScreen.xaml"
                this.btnChooseSumReportPath.Click += new System.Windows.RoutedEventHandler(this.btnChooseSumReportPath_Click);

            #line default
            #line hidden
                return;

            case 42:
                this.gridTextboxes = ((System.Windows.Controls.Grid)(target));
                return;

            case 43:
                this.tfFilepathSampleReport = ((System.Windows.Controls.TextBox)(target));
                return;

            case 44:
                this.tfFilepathSumReport = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 46:
                this.gridForPrintButtons = ((System.Windows.Controls.Grid)(target));
                return;

            case 47:
                this.btnPrintSampleOnlyMakeReport = ((System.Windows.Controls.Button)(target));

            #line 388 "..\..\..\PrintScreen.xaml"
                this.btnPrintSampleOnlyMakeReport.Click += new System.Windows.RoutedEventHandler(this.btnPrintSampleOnlyMakeReport_Click);

            #line default
            #line hidden
                return;

            case 48:
                this.btnPrintSample = ((System.Windows.Controls.Button)(target));

            #line 402 "..\..\..\PrintScreen.xaml"
                this.btnPrintSample.Click += new System.Windows.RoutedEventHandler(this.btnPrintSample_Click);

            #line default
            #line hidden
                return;

            case 49:
                this.btnSaveSamplePrintMode = ((System.Windows.Controls.Button)(target));

            #line 416 "..\..\..\PrintScreen.xaml"
                this.btnSaveSamplePrintMode.Click += new System.Windows.RoutedEventHandler(this.btnSaveSamplePrintMode_Click);

            #line default
            #line hidden
                return;

            case 50:
                this.btnEnterNewSamplePrintMode = ((System.Windows.Controls.Button)(target));

            #line 429 "..\..\..\PrintScreen.xaml"
                this.btnEnterNewSamplePrintMode.Click += new System.Windows.RoutedEventHandler(this.btnEnterNewSamplePrintMode_Click);

            #line default
            #line hidden
                return;

            case 51:
                this.btnSampleDataPrintMode = ((System.Windows.Controls.Button)(target));

            #line 439 "..\..\..\PrintScreen.xaml"
                this.btnSampleDataPrintMode.Click += new System.Windows.RoutedEventHandler(this.btnSampleDataPrintMode_Click);

            #line default
            #line hidden
                return;

            case 52:
                this.chbShowReports = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 53:
                this.chbPrikaziOpcije = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 54:
                this.btnFooterOptions = ((System.Windows.Controls.Button)(target));

            #line 454 "..\..\..\PrintScreen.xaml"
                this.btnFooterOptions.Click += new System.Windows.RoutedEventHandler(this.btnFooterOptions_Click);

            #line default
            #line hidden
                return;

            case 55:
                this.gridForPrintButtons2 = ((System.Windows.Controls.Grid)(target));
                return;

            case 56:
                this.chbChangeOfRAndE = ((System.Windows.Controls.CheckBox)(target));

            #line 479 "..\..\..\PrintScreen.xaml"
                this.chbChangeOfRAndE.Checked += new System.Windows.RoutedEventHandler(this.chbChangeOfRAndE_Checked);

            #line default
            #line hidden

            #line 480 "..\..\..\PrintScreen.xaml"
                this.chbChangeOfRAndE.Unchecked += new System.Windows.RoutedEventHandler(this.chbChangeOfRAndE_Unchecked);

            #line default
            #line hidden
                return;

            case 57:
                this.btnGoToOnlineMode = ((System.Windows.Controls.Button)(target));

            #line 500 "..\..\..\PrintScreen.xaml"
                this.btnGoToOnlineMode.Click += new System.Windows.RoutedEventHandler(this.btnGoToOnlineMode_Click);

            #line default
            #line hidden
                return;

            case 58:
                this.chbCalculateNManual = ((System.Windows.Controls.CheckBox)(target));

            #line 511 "..\..\..\PrintScreen.xaml"
                this.chbCalculateNManual.Checked += new System.Windows.RoutedEventHandler(this.chbCalculateNManual_Checked);

            #line default
            #line hidden

            #line 512 "..\..\..\PrintScreen.xaml"
                this.chbCalculateNManual.Unchecked += new System.Windows.RoutedEventHandler(this.chbCalculateNManual_Unchecked);

            #line default
            #line hidden
                return;

            case 59:
                this.gridPrintScreenoptions = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }