AForge.Robotics.TeRK.Qwerk.Motors.StopMotors C# (CSharp) Метод

StopMotors() публичный Метод

Stop all motors.
No connection to Qwerk or its service. Connestion to Qwerk is lost.
public StopMotors ( ) : void
Результат void
            public void StopMotors( )
            {
                // prepare command
                TeRKIceLib.MotorCommand command = CreateCommand( );

                for ( int i = 0; i < Count; i++ )
                {
                    command.motorMask[i]  = true;
                    command.motorModes[i] = TeRKIceLib.MotorMode.MotorOff;
                }

                ExecuteCommand( command );
            }