C# Class SimTelemetry.Peripherals.Device

Inheritance: IDevice
Afficher le fichier Open project: nlhans/SimTelemetry Class Usage Examples

Méthodes publiques

Свойство Type Description
SP System.IO.Ports.SerialPort

Méthodes publiques

Méthode Description
Device ( string name, int com, int baud ) : System
TX ( SimTelemetry.Objects.Peripherals.DevicePacket packet ) : void

Private Methods

Méthode Description
SP_DataReceived ( object sender, System.IO.Ports.SerialDataReceivedEventArgs e ) : void
TX_Sync ( SimTelemetry.Objects.Peripherals.DevicePacket devicePacket ) : void
TX_Timer_Elapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void

Method Details

Device() public méthode

public Device ( string name, int com, int baud ) : System
name string
com int
baud int
Résultat System

TX() public méthode

public TX ( SimTelemetry.Objects.Peripherals.DevicePacket packet ) : void
packet SimTelemetry.Objects.Peripherals.DevicePacket
Résultat void

Property Details

SP public_oe property

public SerialPort,System.IO.Ports SP
Résultat System.IO.Ports.SerialPort