public devicePump(motorBoardModel motorBoardIn, int diochannel) { _motorBoard = motorBoardIn.board; _diochannel = diochannel; // The Motorboard value cannot be null. if (motorBoardIn == null) { throw new Exception("Error; devicePump::devicePump the value motorBoardIn cannot be null."); } // Check the range values on the channel argument. if (diochannel < 1 || diochannel > 8) { throw new Exception(string.Format("Error; devicePump::devicePump the value for diochannel ({0}) must be between 1 and 8 (inclusive).", diochannel.ToString())); } }
public deviceChassisPiston(motorBoardModel motorBoardIn, int channel, int[] channelPositions, string controllerId) : base(motorBoardIn.board, channel, channelPositions, controllerId) { }
public deviceOpticsMotor(motorBoardModel motorBoardIn, int channel, int[] positions, string controllerId) : base(motorBoardIn.board, channel, positions, controllerId) { isFirstIn = true; }