private void indicatorButtonInhibit_Click_1(object sender, EventArgs e) { if (myZone.IsInhibit()) { myZone.Inhibit(false); } else { myZone.Inhibit(true); } }
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); } }