Example #1
0
 internal static void RotateStage(SwitchConstants.StagePositions position)
 {
     _log.Debug("Rotating STAGE to " + position);
     _instance._driver.RotateStage((int)position);
 }
Example #2
0
 /// <summary>
 /// Gets the last known state of the selected switch.
 /// </summary>
 /// <param name="switchIndex"></param>
 /// <returns></returns>
 public static SwitchState GetSwitchState(SwitchConstants.Switches switchVal)
 {
     //return _instance._lastState[(int)switchVal].State;
     return _instance._driver.SwitchArrayState[(int)switchVal].State;
 }