public class UnitechDevice
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
UnitechDevice()
Default constructor.
|
UnitechDevice(DeviceType deviceType,
ConnectType connectType,
java.lang.String name,
java.lang.String address)
Constructor with parameters.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAddress()
Get the address of the device.
|
ConnectType |
getConnectType()
Get the connection type.
|
DeviceType |
getDeviceType()
Get the device type.
|
java.lang.String |
getName()
Get the name of the device.
|
java.lang.String |
toString() |
public UnitechDevice()
public UnitechDevice(DeviceType deviceType, ConnectType connectType, java.lang.String name, java.lang.String address)
deviceType - The type of the device.connectType - The type of the connection.name - The name of the device.address - The address of the device.public DeviceType getDeviceType()
public ConnectType getConnectType()
public java.lang.String getAddress()
public java.lang.String getName()
public java.lang.String toString()
toString in class java.lang.Object