Example #1
0
        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;
        }
Example #2
0
        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;
        }
Example #3
0
 public Axis(char label, IStepMotor stepMotor, IContactSensor commonSensor)
     : this(label, stepMotor, commonSensor, commonSensor)
 {
 }
Example #4
0
 public Axis(char label, IStepMotor stepMotor, IContactSensor commonSensor) :
     this(label, stepMotor, commonSensor, commonSensor)
 {
 }