public Axis(char label, IStepMotor stepMotor, IContactSensor minimumSensor, IContactSensor maximumSensor) { this.stepMotor = stepMotor; this.direction = false; this.minimumSensor = minimumSensor; this.maximumSensor = maximumSensor; this.label = label; stepMotor.Direction = direction; }
public Axis(char label, IStepMotor stepMotor, IContactSensor commonSensor) : this(label, stepMotor, commonSensor, commonSensor) { }