C# Class SolarCar.Hardware

All Hardware. Instantiating this class activate DataReceived events for all hardware.
Afficher le fichier Open project: nusolar/sc6-telemetry-code Class Usage Examples

Méthodes publiques

Свойство Type Description
UserDrive bool
UserHeadlights bool
UserHorn bool
UserSignal Signals

Méthodes publiques

Méthode Description
CanCharge ( ) : bool
CanDischarge ( ) : bool
Hardware ( ) : System
Health ( ) : string

String representing Health of batteries.

SetMotor ( float motor_velocity, float motor_current ) : void

Method Details

CanCharge() public méthode

public CanCharge ( ) : bool
Résultat bool

CanDischarge() public méthode

public CanDischarge ( ) : bool
Résultat bool

Hardware() public méthode

public Hardware ( ) : System
Résultat System

Health() public méthode

String representing Health of batteries.
public Health ( ) : string
Résultat string

SetMotor() public méthode

public SetMotor ( float motor_velocity, float motor_current ) : void
motor_velocity float
motor_current float
Résultat void

Property Details

UserDrive public_oe property

public bool UserDrive
Résultat bool

UserHeadlights public_oe property

public bool UserHeadlights
Résultat bool

UserHorn public_oe property

public bool UserHorn
Résultat bool

UserSignal public_oe property

public Signals UserSignal
Résultat Signals