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

ExecuteCommand() приватный Метод

private ExecuteCommand ( TeRK command ) : void
command TeRK
Результат void
            private void ExecuteCommand( TeRKIceLib.MotorCommand command )
            {
                // check controller
                if ( motorController == null )
                {
                    throw new NotConnectedException( "Qwerk's service is not connected." );
                }

                try
                {
                    // execute motors' command
                    motorController.execute( command );
                }
                catch
                {
                    throw new ConnectionLostException( "Connection is lost." );
                }
            }
        }