private void indicatorButtonInhibit_Click_1(object sender, EventArgs e)
 {
     if (myZone.IsInhibit())
     {
         myZone.Inhibit(false);
     }
     else
     {
         myZone.Inhibit(true);
     }
 }
Esempio n. 2
0
 public void InhibitInputConveyor(bool on)
 {
     if (HSTMachine.Workcell.HSTSettings.Install.OperationMode == OperationMode.Simulation)
     {
         Thread.Sleep(CommonFunctions.SIMULATION_DELAY);
         return;
     }
     if (on)
     {
         _seaveyorInputConveyor.Inhibit(true);
     }
     else
     {
         _seaveyorInputConveyor.Inhibit(false);
     }
 }