Click or drag to resize

ES522 Class

Brainboxes ES-522 2 Port RS232/422/485 Industrial Ethernet to Serial Adapter
Inheritance Hierarchy
SystemObject
  Brainboxes.IODeviceIConnection, ISerialProtocol
    Brainboxes.IOESDevice
      Brainboxes.IOES522

Namespace:  Brainboxes.IO
Assembly:  Brainboxes.IO (in Brainboxes.IO.dll) Version: 1.5.0.8
Syntax
public class ES522 : ESDevice

The ES522 type exposes the following members.

Constructors
  NameDescription
Public methodES522
Create ES-522 with 2 Port which has uses the DefaultSerialProtocol and has its connection unassigned
Public methodES522(IConnection)
Create ES-522 with 1 Port which has uses the DefaultSerialProtocol and has its connection provided by the arg
Public methodES522(String, ISerialProtocol)
Create ES-522 with 1 Port which has uses the given protocol
Public methodES522(IConnection, ISerialProtocol)
Create ES-522 with 1 Port which has uses the supplied serial protocol and has its connection
Public methodES522(String, Int32, Int32)
Create ES-522 with 1 Port which has uses the DefaultSerialProtocol and has its connection provided by the args
Top
Properties
  NameDescription
Public propertyConnection
The connection. If the connection is replaced and the previous connection was connected, the new connection will be connected too
(Inherited from DeviceConn, Proto.)
Public propertyIsAvailable
Whether the connection to this Brainboxes Device is available, e.g. online or offline​. In case of network TCP connection: this is if the device is pingable on the network. In case of serial connection: this is if the device COM port is listed on the system and not open by another process.
(Inherited from ESDevice.)
Public propertyIsConnected
If there is an active connection from this instance to any of the serial ports attached to the ES device
(Inherited from ESDevice.)
Public propertyLabel
User definable label for the Device to help identify when many devices / when debugging
(Inherited from DeviceConn, Proto.)
Public propertyPorts
List of Brainboxes Serial Ports on this Ethernet to Serial Device
(Inherited from ESDevice.)
Public propertyProtocol
Get/Set the Serial Protocol Used when communicating with all Serial ports of device
(Inherited from ESDevice.)
Top
Methods
  NameDescription
Public methodConnect
Connect the To All the serial ports on the brainboxes device
(Inherited from ESDevice.)
Public methodDescribe
Give a complete summary of the Device
(Inherited from DeviceConn, Proto.)
Public methodDisconnect
Disconnect from all the serial ports on the Brainboxes Device
(Inherited from ESDevice.)
Public methodDispose
Dispose of this Brainboxes device
(Inherited from DeviceConn, Proto.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a short description of the Brainboxes Ethernet to Serial Product
(Inherited from ESDevice.)
Top
Events
  NameDescription
Public eventDeviceStatusChangedEvent
Event When the status of the devices connection changes for example goes from Disconnected to Connected or from Available to Unavailable
(Inherited from ESDevice.)
Top
Fields
  NameDescription
Public fieldIPAddress
The IP address of the Brainboxes Ethernet to Serial Device
(Inherited from ESDevice.)
Public fieldNumberOfPorts
Number of Serial Ports on Brainboxes Ethernet to Serial Device
(Inherited from ESDevice.)
Public fieldPortType
The type of Serial ports on the Brainboxes Ethernet to Serial Port Either RS232 or RS422/485
(Inherited from ESDevice.)
Top
See Also