C# Class FTDISample.DeviceConnection

Inheritance: INotifyPropertyChanged
Exibir arquivo Open project: Jark/FTDISample Class Usage Examples

Public Methods

Method Description
DeviceConnection ( FTDISample.DeviceNode deviceNode, ISerialDevice device ) : System
InitializeSettings ( ConnectionSettings connectionSettings ) : System.Threading.Tasks.Task

Protected Methods

Method Description
OnPropertyChanged ( [ propertyName = null ) : void

Private Methods

Method Description
OnWriteASCII ( string message ) : void
OnWriteBytes ( string message ) : void
StartReadingData ( ) : void
StringToByteArray ( string hex ) : byte[]
WriteBytes ( byte bytesToWrite ) : System.Threading.Tasks.Task
WriteToLog ( string message ) : void

Method Details

DeviceConnection() public method

public DeviceConnection ( FTDISample.DeviceNode deviceNode, ISerialDevice device ) : System
deviceNode FTDISample.DeviceNode
device ISerialDevice
return System

InitializeSettings() public method

public InitializeSettings ( ConnectionSettings connectionSettings ) : System.Threading.Tasks.Task
connectionSettings ConnectionSettings
return System.Threading.Tasks.Task

OnPropertyChanged() protected method

protected OnPropertyChanged ( [ propertyName = null ) : void
propertyName [
return void