C# Class imBMW.iBus.InternalMessage

Inheritance: Message
Afficher le fichier Open project: toxsedyshev/imBMW Class Usage Examples

Méthodes publiques

Méthode Description
CanStartWith ( byte packet, int length = -1 ) : bool
Compare ( Message message ) : bool
InternalMessage ( DeviceAddress device ) : System
InternalMessage ( DeviceAddress device, string data ) : System
InternalMessage ( DeviceAddress device, string data, string description ) : System
IsValid ( byte packet, int length = -1 ) : bool
TryCreate ( byte packet, int length = -1 ) : Message

Méthodes protégées

Méthode Description
ParseDataLength ( byte packet ) : int
ParsePacketLength ( byte packet ) : int

Method Details

CanStartWith() public static méthode

public static CanStartWith ( byte packet, int length = -1 ) : bool
packet byte
length int
Résultat bool

Compare() public méthode

public Compare ( Message message ) : bool
message Message
Résultat bool

InternalMessage() public méthode

public InternalMessage ( DeviceAddress device ) : System
device DeviceAddress
Résultat System

InternalMessage() public méthode

public InternalMessage ( DeviceAddress device, string data ) : System
device DeviceAddress
data string
Résultat System

InternalMessage() public méthode

public InternalMessage ( DeviceAddress device, string data, string description ) : System
device DeviceAddress
data string
description string
Résultat System

IsValid() public static méthode

public static IsValid ( byte packet, int length = -1 ) : bool
packet byte
length int
Résultat bool

ParseDataLength() protected static méthode

protected static ParseDataLength ( byte packet ) : int
packet byte
Résultat int

ParsePacketLength() protected static méthode

protected static ParsePacketLength ( byte packet ) : int
packet byte
Résultat int

TryCreate() public static méthode

public static TryCreate ( byte packet, int length = -1 ) : Message
packet byte
length int
Résultat Message