C# Class LazerTagHostLibrary.LazerTagSerial

Afficher le fichier Open project: afaucher/LazerTagHost Class Usage Examples

Méthodes publiques

Méthode Description
ComputeChecksum ( List &values ) : byte
ComputeChecksum2 ( UInt16 &values ) : byte
EnqueueLTTO ( UInt16 data, UInt16 number_of_bits ) : void
EnqueueLTX ( UInt16 data, UInt16 number_of_bits ) : void
GetSerialPorts ( ) : List
LazerTagSerial ( string device ) : System
Stop ( ) : void
TransmitPacket ( UInt16 &values ) : void
TryReadCommand ( ) : string

Private Methods

Méthode Description
WriteThread ( ) : void

Method Details

ComputeChecksum() public static méthode

public static ComputeChecksum ( List &values ) : byte
values List
Résultat byte

ComputeChecksum2() public static méthode

public static ComputeChecksum2 ( UInt16 &values ) : byte
values System.UInt16
Résultat byte

EnqueueLTTO() public méthode

public EnqueueLTTO ( UInt16 data, UInt16 number_of_bits ) : void
data System.UInt16
number_of_bits System.UInt16
Résultat void

EnqueueLTX() public méthode

public EnqueueLTX ( UInt16 data, UInt16 number_of_bits ) : void
data System.UInt16
number_of_bits System.UInt16
Résultat void

GetSerialPorts() public static méthode

public static GetSerialPorts ( ) : List
Résultat List

LazerTagSerial() public méthode

public LazerTagSerial ( string device ) : System
device string
Résultat System

Stop() public méthode

public Stop ( ) : void
Résultat void

TransmitPacket() public méthode

public TransmitPacket ( UInt16 &values ) : void
values System.UInt16
Résultat void

TryReadCommand() public méthode

public TryReadCommand ( ) : string
Résultat string