public void Reset_Status() { Globals.Tags.Testing_Proc.ResetTag(); Globals.Tags.Green_Light.ResetTag(); Globals.Tags.Buzzer.SetTag(); BuzzerScript.Start(); }
public static void Stop() { Globals.Tags.DryingTimer.Value = 0; Globals.Tags.Drying_Proc.ResetTag(); StopBlower(); StopDryer(); Globals.Tags.Green_Light.ResetTag(); Globals.Tags.Yellow_Light.SetTag(); Globals.Tags.Buzzer.SetTag(); BuzzerScript.Start(); try { timer1.Enabled = false; } catch (Exception) {} }
public static void Stop() { Globals.Tags.WashTimer.Value = 0; Globals.Tags.CycleTimer.Value = 0; Globals.Tags.InCycleTimer.Value = 0; Globals.Tags.LoopCounter.Value = 0; PrewashScript.Stop(); WashingScript.Stop(); WashDryingScript.Stop(); CycleTimerScript.Stop(); Globals.Tags.Automatic_Washing.ResetTag(); Globals.Tags.Washing_Pump.ResetTag(); Globals.Tags.Pressure_Valve.ResetTag(); Globals.Tags.Yellow_Light.SetTag(); Globals.Tags.Buzzer.SetTag(); Globals.Tags.Green_Light.ResetTag(); BuzzerScript.Start(); try { timer1.Enabled = false; } catch (Exception) {} }