C# Class BTool.ComPortTreeForm

Inheritance: System.Windows.Forms.Form
Mostra file Open project: x893/BTool Class Usage Examples

Public Properties

Property Type Description
GetActiveDeviceFormCallback FormMain.GetActiveDeviceFormDelegate
moduleName string

Public Methods

Method Description
AddConnectionInfo ( DeviceForm devForm ) : bool
AddDeviceInfo ( DeviceForm devForm ) : bool
AddPortInfo ( DeviceInfo devInfo ) : bool
ChangeActiveRoot ( DeviceForm devForm ) : bool
ClearSelectedNode ( ) : void
DisconnectDevice ( DeviceForm devForm ) : bool
FindNodeToOpen ( ) : bool
RemoveAll ( ) : bool
RemovePort ( string portName ) : bool

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
ComPortTreeForm ( ) : System
GetTreeTextRecursive_DiscoverAllUuids ( TreeNode treeNode ) : void
GetTreeTextRecursive_ReadAllValues ( TreeNode treeNode ) : void
InitializeComponent ( ) : void
SendGattDiscoverCmds ( TreeNode treeNode, TxDataOut cmdType ) : void
tsmiClearTransmitQ_Click ( object sender, EventArgs e ) : void
tsmiCopyAddress_Click ( object sender, EventArgs e ) : void
tsmiCopyHandle_Click ( object sender, EventArgs e ) : void
tsmiDiscoverAllUuids_Click ( object sender, EventArgs e ) : void
tsmiDiscoverUuids_Click ( object sender, EventArgs e ) : void
tsmiReadAllValues_Click ( object sender, EventArgs e ) : void
tsmiReadValues_Click ( object sender, EventArgs e ) : void
tsmiSetConnectionHandle_Click ( object sender, EventArgs e ) : void
tvPorts_AfterSelect ( object sender, TreeViewEventArgs e ) : void

Method Details

AddConnectionInfo() public method

public AddConnectionInfo ( DeviceForm devForm ) : bool
devForm DeviceForm
return bool

AddDeviceInfo() public method

public AddDeviceInfo ( DeviceForm devForm ) : bool
devForm DeviceForm
return bool

AddPortInfo() public method

public AddPortInfo ( DeviceInfo devInfo ) : bool
devInfo DeviceInfo
return bool

ChangeActiveRoot() public method

public ChangeActiveRoot ( DeviceForm devForm ) : bool
devForm DeviceForm
return bool

ClearSelectedNode() public method

public ClearSelectedNode ( ) : void
return void

DisconnectDevice() public method

public DisconnectDevice ( DeviceForm devForm ) : bool
devForm DeviceForm
return bool

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

FindNodeToOpen() public method

public FindNodeToOpen ( ) : bool
return bool

RemoveAll() public method

public RemoveAll ( ) : bool
return bool

RemovePort() public method

public RemovePort ( string portName ) : bool
portName string
return bool

Property Details

GetActiveDeviceFormCallback public_oe property

public FormMain.GetActiveDeviceFormDelegate GetActiveDeviceFormCallback
return FormMain.GetActiveDeviceFormDelegate

moduleName public_oe static_oe property

public static string moduleName
return string