C# Class ev3dev.Motor

Inheritance: Device
Afficher le fichier Open project: pgrudzien12/csharp-ev3 Class Usage Examples

Méthodes publiques

Méthode Description
CreateLargeMotor ( string port ) : Motor
CreateMediumMotor ( string port ) : Motor
Motor ( string port ) : System
Motor ( string port, string motorType ) : System
commands ( ) : string[]
driver_name ( ) : string
reset ( ) : void
run_direct ( ) : void
run_forever ( ) : void
run_timed ( ) : void
run_to_abs_pos ( ) : void
run_to_rel_pos ( ) : void
set_command ( string v ) : void
stop ( ) : void

Méthodes protégées

Méthode Description
Connect ( string[]>.IDictionary match ) : bool

Method Details

Connect() protected méthode

protected Connect ( string[]>.IDictionary match ) : bool
match string[]>.IDictionary
Résultat bool

CreateLargeMotor() public static méthode

public static CreateLargeMotor ( string port ) : Motor
port string
Résultat Motor

CreateMediumMotor() public static méthode

public static CreateMediumMotor ( string port ) : Motor
port string
Résultat Motor

Motor() public méthode

public Motor ( string port ) : System
port string
Résultat System

Motor() public méthode

public Motor ( string port, string motorType ) : System
port string
motorType string
Résultat System

commands() public méthode

public commands ( ) : string[]
Résultat string[]

driver_name() public méthode

public driver_name ( ) : string
Résultat string

reset() public méthode

public reset ( ) : void
Résultat void

run_direct() public méthode

public run_direct ( ) : void
Résultat void

run_forever() public méthode

public run_forever ( ) : void
Résultat void

run_timed() public méthode

public run_timed ( ) : void
Résultat void

run_to_abs_pos() public méthode

public run_to_abs_pos ( ) : void
Résultat void

run_to_rel_pos() public méthode

public run_to_rel_pos ( ) : void
Résultat void

set_command() public méthode

public set_command ( string v ) : void
v string
Résultat void

stop() public méthode

public stop ( ) : void
Résultat void