C# 클래스 imBMW.iBus.Manager

파일 보기 프로젝트 열기: toxsedyshev/imBMW

Private Properties

프로퍼티 타입 설명
SaveFoundDevice void
SendMessage void
SkipBuffer void
iBus_DataReceived void

공개 메소드들

메소드 설명
AddMessageReceiverForDestinationDevice ( DeviceAddress destination, MessageReceiver callback ) : void
AddMessageReceiverForSourceAndDestinationDevice ( DeviceAddress source, DeviceAddress destination, MessageReceiver callback ) : void
AddMessageReceiverForSourceDevice ( DeviceAddress source, MessageReceiver callback ) : void
AddMessageReceiverForSourceOrDestinationDevice ( DeviceAddress source, DeviceAddress destination, MessageReceiver callback ) : void
EnqueueMessage ( ) : void
EnqueueMessage ( Message m ) : void
EnqueueRawMessage ( byte m ) : void
FindDevice ( DeviceAddress device ) : bool
FindDevice ( DeviceAddress device, int timeout ) : bool
Init ( ISerialPort port ) : void
InitRealDevices ( ) : void

Subscribes to messages from devices to translate them.

ProcessMessage ( Message m ) : void

비공개 메소드들

메소드 설명
SaveFoundDevice ( MessageEventArgs e ) : void
SendMessage ( object o ) : void
SkipBuffer ( int count ) : void
iBus_DataReceived ( object sender, System.IO.Ports.SerialDataReceivedEventArgs e ) : void

메소드 상세

AddMessageReceiverForDestinationDevice() 공개 정적인 메소드

public static AddMessageReceiverForDestinationDevice ( DeviceAddress destination, MessageReceiver callback ) : void
destination DeviceAddress
callback MessageReceiver
리턴 void

AddMessageReceiverForSourceAndDestinationDevice() 공개 정적인 메소드

public static AddMessageReceiverForSourceAndDestinationDevice ( DeviceAddress source, DeviceAddress destination, MessageReceiver callback ) : void
source DeviceAddress
destination DeviceAddress
callback MessageReceiver
리턴 void

AddMessageReceiverForSourceDevice() 공개 정적인 메소드

public static AddMessageReceiverForSourceDevice ( DeviceAddress source, MessageReceiver callback ) : void
source DeviceAddress
callback MessageReceiver
리턴 void

AddMessageReceiverForSourceOrDestinationDevice() 공개 정적인 메소드

public static AddMessageReceiverForSourceOrDestinationDevice ( DeviceAddress source, DeviceAddress destination, MessageReceiver callback ) : void
source DeviceAddress
destination DeviceAddress
callback MessageReceiver
리턴 void

EnqueueMessage() 공개 정적인 메소드

public static EnqueueMessage ( ) : void
리턴 void

EnqueueMessage() 공개 정적인 메소드

public static EnqueueMessage ( Message m ) : void
m Message
리턴 void

EnqueueRawMessage() 공개 정적인 메소드

public static EnqueueRawMessage ( byte m ) : void
m byte
리턴 void

FindDevice() 공개 정적인 메소드

public static FindDevice ( DeviceAddress device ) : bool
device DeviceAddress
리턴 bool

FindDevice() 공개 정적인 메소드

public static FindDevice ( DeviceAddress device, int timeout ) : bool
device DeviceAddress
timeout int
리턴 bool

Init() 공개 정적인 메소드

public static Init ( ISerialPort port ) : void
port ISerialPort
리턴 void

InitRealDevices() 공개 정적인 메소드

Subscribes to messages from devices to translate them.
public static InitRealDevices ( ) : void
리턴 void

ProcessMessage() 공개 정적인 메소드

public static ProcessMessage ( Message m ) : void
m Message
리턴 void