C# 클래스 imBMW.iBus.Message

파일 보기 프로젝트 열기: toxsedyshev/imBMW 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
destinationDevice DeviceAddress
sourceDevice DeviceAddress

공개 메소드들

메소드 설명
CanStartWith ( byte packet, int length = -1 ) : bool
Compare ( Message message ) : bool
Compare ( byte packet ) : bool
IsValid ( byte packet, int length = -1 ) : bool
Message ( DeviceAddress source, DeviceAddress destination ) : System
Message ( DeviceAddress source, DeviceAddress destination, string description ) : System
Message ( byte source, byte destination ) : System
Message ( byte source, byte destination, string description ) : System
ToString ( ) : string
TryCreate ( byte packet, int length = -1 ) : Message
init ( byte source, byte destination, byte data, string description = null ) : void

보호된 메소드들

메소드 설명
CanStartWith ( byte packet, IntFromByteArray packetLengthCallback, int length = -1 ) : bool
IsValid ( byte packet, IntFromByteArray packetLengthCallback, int length = -1 ) : bool
ParseDataLength ( byte packet ) : int
ParsePacketLength ( byte packet ) : int
init ( byte source, byte destination, byte data, int packetLength, byte check, string description = null ) : void

메소드 상세

CanStartWith() 보호된 정적인 메소드

protected static CanStartWith ( byte packet, IntFromByteArray packetLengthCallback, int length = -1 ) : bool
packet byte
packetLengthCallback IntFromByteArray
length int
리턴 bool

CanStartWith() 공개 정적인 메소드

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

Compare() 공개 메소드

public Compare ( Message message ) : bool
message Message
리턴 bool

Compare() 공개 메소드

public Compare ( byte packet ) : bool
packet byte
리턴 bool

IsValid() 보호된 정적인 메소드

protected static IsValid ( byte packet, IntFromByteArray packetLengthCallback, int length = -1 ) : bool
packet byte
packetLengthCallback IntFromByteArray
length int
리턴 bool

IsValid() 공개 정적인 메소드

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

Message() 공개 메소드

public Message ( DeviceAddress source, DeviceAddress destination ) : System
source DeviceAddress
destination DeviceAddress
리턴 System

Message() 공개 메소드

public Message ( DeviceAddress source, DeviceAddress destination, string description ) : System
source DeviceAddress
destination DeviceAddress
description string
리턴 System

Message() 공개 메소드

public Message ( byte source, byte destination ) : System
source byte
destination byte
리턴 System

Message() 공개 메소드

public Message ( byte source, byte destination, string description ) : System
source byte
destination byte
description string
리턴 System

ParseDataLength() 보호된 정적인 메소드

protected static ParseDataLength ( byte packet ) : int
packet byte
리턴 int

ParsePacketLength() 보호된 정적인 메소드

protected static ParsePacketLength ( byte packet ) : int
packet byte
리턴 int

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

TryCreate() 공개 정적인 메소드

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

init() 보호된 메소드

protected init ( byte source, byte destination, byte data, int packetLength, byte check, string description = null ) : void
source byte
destination byte
data byte
packetLength int
check byte
description string
리턴 void

init() 공개 메소드

public init ( byte source, byte destination, byte data, string description = null ) : void
source byte
destination byte
data byte
description string
리턴 void

프로퍼티 상세

destinationDevice 보호되어 있는 프로퍼티

protected DeviceAddress destinationDevice
리턴 DeviceAddress

sourceDevice 보호되어 있는 프로퍼티

protected DeviceAddress sourceDevice
리턴 DeviceAddress