Click or drag to resize

ESDevice Constructor (String, Int32, Int32, Int32, BBSerialPortType)

Create a generic ES Device uses the DefaultSerialProtocol and has its connection provided by the args

Namespace:  Brainboxes.IO
Assembly:  Brainboxes.IO (in Brainboxes.IO.dll) Version: 1.5.0.8
Syntax
public ESDevice(
	string ipAddress,
	int port1PortNumber = 9001,
	int timeout = 2000,
	int numberOfPorts = 8,
	BBSerialPortType portType = BBSerialPortType.RS232
)

Parameters

ipAddress
Type: SystemString

[Missing <param name="ipAddress"/> documentation for "M:Brainboxes.IO.ESDevice.#ctor(System.String,System.Int32,System.Int32,System.Int32,Brainboxes.IO.BBSerialPortType)"]

port1PortNumber (Optional)
Type: SystemInt32

[Missing <param name="port1PortNumber"/> documentation for "M:Brainboxes.IO.ESDevice.#ctor(System.String,System.Int32,System.Int32,System.Int32,Brainboxes.IO.BBSerialPortType)"]

timeout (Optional)
Type: SystemInt32

[Missing <param name="timeout"/> documentation for "M:Brainboxes.IO.ESDevice.#ctor(System.String,System.Int32,System.Int32,System.Int32,Brainboxes.IO.BBSerialPortType)"]

numberOfPorts (Optional)
Type: SystemInt32

[Missing <param name="numberOfPorts"/> documentation for "M:Brainboxes.IO.ESDevice.#ctor(System.String,System.Int32,System.Int32,System.Int32,Brainboxes.IO.BBSerialPortType)"]

portType (Optional)
Type: Brainboxes.IOBBSerialPortType

[Missing <param name="portType"/> documentation for "M:Brainboxes.IO.ESDevice.#ctor(System.String,System.Int32,System.Int32,System.Int32,Brainboxes.IO.BBSerialPortType)"]

See Also