public class UDDeviceType extends java.lang.Object implements java.lang.Comparable<UDDeviceType>
Modifier and Type | Field and Description |
---|---|
int |
basic |
int |
generic |
java.lang.String |
isyNodeType |
int |
mid |
int |
pid |
int |
sgid |
int |
specific |
int |
tid |
java.lang.String |
typeReadable |
Constructor and Description |
---|
UDDeviceType(int[] genVals,
int[] mfgVals,
java.lang.String cat,
int sgid)
Set the device type.
|
UDDeviceType(int basic,
int generic,
int specific) |
UDDeviceType(int basic,
int generic,
int specific,
int mid,
int tid,
int pid,
java.lang.String cat,
int sgid) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(UDDeviceType t) |
java.lang.String |
readable()
Return a readable version of the type (e.g.
|
java.lang.String |
toString() |
public final int basic
public final int generic
public final int specific
public final int mid
public final int tid
public final int pid
public final int sgid
public final java.lang.String isyNodeType
public final java.lang.String typeReadable
public UDDeviceType(int basic, int generic, int specific)
public UDDeviceType(int[] genVals, int[] mfgVals, java.lang.String cat, int sgid)
genVals
- Array of ints, [0] basic, [1] generic, [2] specificmfgVals
- Array of ints, [0] mid, [1] tid, [2] pidcat
- ISY Z-Wave category of the node (e.g. emeter)sgid
- Subgroup ID of ISY nodepublic UDDeviceType(int basic, int generic, int specific, int mid, int tid, int pid, java.lang.String cat, int sgid)
public java.lang.String readable()
public java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(UDDeviceType t)
compareTo
in interface java.lang.Comparable<UDDeviceType>