示例#1
0
 public void MoveCenter()
 {
     if (Servos.Any())
     {
         foreach (var servo in Servos)
         {
             servo.Motor.MoveCenter();
         }
     }
 }
示例#2
0
 public void MovePrevPreset()
 {
     if (Servos.Any())
     {
         foreach (var servo in Servos)
         {
             servo.Preset.MovePrev();
         }
     }
 }
示例#3
0
 public void MoveLeft()
 {
     if (Servos.Any())
     {
         foreach (var servo in Servos)
         {
             servo.Mechanism.MoveLeft();
         }
     }
 }
示例#4
0
            public void Stop()
            {
                MovingNegative = false;
                MovingPositive = false;

                if (Servos.Any())
                {
                    foreach (var servo in Servos)
                    {
                        servo.Motor.Stop();
                    }
                }
            }