C# Class imBMW.iBus.InternalMessage

Inheritance: Message
ファイルを表示 Open project: toxsedyshev/imBMW Class Usage Examples

Public Methods

Method 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

Protected Methods

Method Description
ParseDataLength ( byte packet ) : int
ParsePacketLength ( byte packet ) : int

Method Details

CanStartWith() public static method

public static CanStartWith ( byte packet, int length = -1 ) : bool
packet byte
length int
return bool

Compare() public method

public Compare ( Message message ) : bool
message Message
return bool

InternalMessage() public method

public InternalMessage ( DeviceAddress device ) : System
device DeviceAddress
return System

InternalMessage() public method

public InternalMessage ( DeviceAddress device, string data ) : System
device DeviceAddress
data string
return System

InternalMessage() public method

public InternalMessage ( DeviceAddress device, string data, string description ) : System
device DeviceAddress
data string
description string
return System

IsValid() public static method

public static IsValid ( byte packet, int length = -1 ) : bool
packet byte
length int
return bool

ParseDataLength() protected static method

protected static ParseDataLength ( byte packet ) : int
packet byte
return int

ParsePacketLength() protected static method

protected static ParsePacketLength ( byte packet ) : int
packet byte
return int

TryCreate() public static method

public static TryCreate ( byte packet, int length = -1 ) : Message
packet byte
length int
return Message