void Auto_Wash_Button_Click(System.Object sender, System.EventArgs e)
        {
            Toggle_Status();
            bool status = Get_Status();

            if (status)
            {
                AutomaticWashingScript.Start();
                Manuel_Button.IsEnabled  = false;
                Test_Nav.IsEnabled       = false;
                Setting_Button.IsEnabled = false;
                Gun_Button.IsEnabled     = false;
            }
            else
            {
                AutomaticWashingScript.Stop();
                Reset_Status();
                Gun_Button.IsEnabled = true;
                Globals.Tags.Washing_Pump.ResetTag();
                Globals.Tags.Pressure_Valve.ResetTag();
                Test_Nav.IsEnabled = true;
                if (!Globals.Tags.Drying_Proc.Value)
                {
                    Manuel_Button.IsEnabled       = true;
                    this.Setting_Button.IsEnabled = true;
                }
            }
        }
 void PAUSE_Click(System.Object sender, System.EventArgs e)
 {
     if (Globals.Tags.Automatic_Washing.Value)
     {
         if (AutomaticWashingScript.getTimer())
         {
             AutomaticWashingScript.Pause();
             Globals.Tags.PausedStatus.Value = 1;
             this.Rectangle1.Visible         = false;
             this.Text3.Visible = false;
         }
         else
         {
             AutomaticWashingScript.Resume();
             Globals.Tags.PausedStatus.Value = 0;
             this.Rectangle1.Visible         = true;
             this.Text3.Visible = true;
         }
     }
 }