/* This function takes the selected child, passes in the stored procedures, and a y-axis label to the user control that creates the graphs.*/ private void TreeViewItem_Furnace_FurnaceParticulateVirtual_MouseLeftButtonUp(object sender, System.Windows.Input.MouseButtonEventArgs e) { component = false; MainGrid.Children.Clear(); GraphSelectButtons virtualParticulate = new GraphSelectButtons("SensorData_FurnaceGetLastVirtualParticulateValue", "SensorData_FurnaceGetVirtualParticulateValuesByDate", "Particulate (V)"); MainGrid.Children.Add(virtualParticulate); }
/* This function takes the selected child, passes in the stored procedures, and a y-axis label to the user control that creates the graphs.*/ private void TreeViewItem_BoilerPressurePhys_MouseLeftButtonUp(object sender, System.Windows.Input.MouseButtonEventArgs e) { component = false; MainGrid.Children.Clear(); GraphSelectButtons physicalPressure = new GraphSelectButtons("SensorData_BoilerGetLastPhysicalPressureValue", "SensorData_BoilerGetPhysicalPressureValuesByDate", "Pressure (P)"); MainGrid.Children.Add(physicalPressure); }
/* This function takes the selected child, passes in the stored procedures, and a y-axis label to the user control that creates the graphs.*/ private void TreeViewItem_Furnace_FurnaceTempPhys_MouseLeftButtonUp(object sender, System.Windows.Input.MouseButtonEventArgs e) { component = false; MainGrid.Children.Clear(); GraphSelectButtons physicalTemp = new GraphSelectButtons("SensorData_FurnaceGetLastPhysicalTempValue", "SensorData_FurnaceGetPhysicalTempValuesByDate", "Temperature (P)"); MainGrid.Children.Add(physicalTemp); }
/* This function takes the selected child, passes in the stored procedures, and a y-axis label to the user control that creates the graphs.*/ private void TreeViewItem_TurbineVibrationPhys_MouseLeftButtonUp(object sender, System.Windows.Input.MouseButtonEventArgs e) { component = false; MainGrid.Children.Clear(); GraphSelectButtons physicalVibration = new GraphSelectButtons("SensorData_TurbineGetLastPhysicalVibrationValue", "SensorData_TurbineGetPhysicalVibrationValuesByDate", "Vibration (P)"); MainGrid.Children.Add(physicalVibration); }
/* This function takes the selected child, passes in the stored procedures, and a y-axis label to the user control that creates the graphs.*/ private void TreeViewItem_StackAirFlowVirtual_MouseLeftButtonUp(object sender, System.Windows.Input.MouseButtonEventArgs e) { component = false; MainGrid.Children.Clear(); GraphSelectButtons virtualAirFlow = new GraphSelectButtons("SensorData_StackGetLastVirtualAirFlowValue", "SensorData_StackGetVirtualAirFlowValuesByDate", "Air Flow (V)"); MainGrid.Children.Add(virtualAirFlow); }
/* This function takes the selected child, passes in the stored procedures, and a y-axis label to the user control that creates the graphs.*/ private void TreeViewItem_StackGasPhys_MouseLeftButtonUp(object sender, System.Windows.Input.MouseButtonEventArgs e) { component = false; MainGrid.Children.Clear(); GraphSelectButtons physicalGas = new GraphSelectButtons("SensorData_StackGetLastPhysicalGasValue", "SensorData_StackGetPhysicalGasValuesByDate", "Gas (P)"); MainGrid.Children.Add(physicalGas); }
/* This function takes the selected child, passes in the stored procedures, and a y-axis label to the user control that creates the graphs.*/ private void TreeViewItem_BoilerWaterLevelVirtual_MouseLeftButtonUp(object sender, System.Windows.Input.MouseButtonEventArgs e) { component = false; MainGrid.Children.Clear(); GraphSelectButtons virtualWaterLevel = new GraphSelectButtons("SensorData_BoilerGetLastVirtualWaterLevelValue", "SensorData_BoilerGetVirtualWaterLevelValuesByDate", "Water Level (V)"); MainGrid.Children.Add(virtualWaterLevel); }