C# 클래스 SolarCar.Hardware

All Hardware. Instantiating this class activate DataReceived events for all hardware.
파일 보기 프로젝트 열기: nusolar/sc6-telemetry-code 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
UserDrive bool
UserHeadlights bool
UserHorn bool
UserSignal Signals

공개 메소드들

메소드 설명
CanCharge ( ) : bool
CanDischarge ( ) : bool
Hardware ( ) : System
Health ( ) : string

String representing Health of batteries.

SetMotor ( float motor_velocity, float motor_current ) : void

메소드 상세

CanCharge() 공개 메소드

public CanCharge ( ) : bool
리턴 bool

CanDischarge() 공개 메소드

public CanDischarge ( ) : bool
리턴 bool

Hardware() 공개 메소드

public Hardware ( ) : System
리턴 System

Health() 공개 메소드

String representing Health of batteries.
public Health ( ) : string
리턴 string

SetMotor() 공개 메소드

public SetMotor ( float motor_velocity, float motor_current ) : void
motor_velocity float
motor_current float
리턴 void

프로퍼티 상세

UserDrive 공개적으로 프로퍼티

public bool UserDrive
리턴 bool

UserHeadlights 공개적으로 프로퍼티

public bool UserHeadlights
리턴 bool

UserHorn 공개적으로 프로퍼티

public bool UserHorn
리턴 bool

UserSignal 공개적으로 프로퍼티

public Signals UserSignal
리턴 Signals