void Test_Screen_Opened(System.Object sender, System.EventArgs e) { Globals.Tags.Max_Pressure.Value = 0; Globals.Tags.TestTimer.Value = 0; TrendViewer.ShowHistory("On"); TrendViewer1.ShowHistory("On"); }
void AnalogNumeric_ValueChanged(System.Object sender, Core.Api.DataSource.ValueChangedEventArgs e) { if (!Globals.Tags.Testing_Proc.Value) { TrendViewer.ShowHistory("On"); TrendViewer1.ShowHistory("On"); this.Enable_Buttons(); } else if (Globals.Tags.Testing_Proc.Value) { TrendViewer.ShowHistory("Off"); TrendViewer1.ShowHistory("Off"); } }