Class InhibitSeg
- java.lang.Object
-
- com.automation_pros.odva.cip.path.PathSegment
-
- com.automation_pros.odva.cip.path.NetworkSeg
-
- com.automation_pros.odva.cip.path.InhibitSeg
-
- All Implemented Interfaces:
java.lang.Comparable<PathSegment>
public class InhibitSeg extends NetworkSeg
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InhibitSeg.Decoder
Decode bytes expected to contain one encoded path segment.static class
InhibitSeg.Parser
This parser is expected to registered for the 'inh' and 'inhibit' keywords.-
Nested classes/interfaces inherited from class com.automation_pros.odva.cip.path.PathSegment
PathSegment.HasAlternateHex
-
-
Field Summary
Fields Modifier and Type Field Description static byte
SUBTYPE
static byte
SUBTYPE2
-
Fields inherited from class com.automation_pros.odva.cip.path.NetworkSeg
data, exttype, SEGTYPE, subtype
-
Fields inherited from class com.automation_pros.odva.cip.path.PathSegment
identifierChars, segtype
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(PathSegment o)
int
getMicroSeconds()
java.util.List<java.lang.String>
getTokens()
java.lang.String
simpleString()
Supply s simple descriptive name usable when browsing a hierarchy.static boolean
useMilli(int val)
-
Methods inherited from class com.automation_pros.odva.cip.path.NetworkSeg
getBytes, getValue, getWords, hashCode, put, set
-
Methods inherited from class com.automation_pros.odva.cip.path.PathSegment
decode, decodeAll, equals, getSegtype, hexString, mergeTokens, registerHandler, setSegtype, toString
-
-
-
-
Field Detail
-
SUBTYPE
public static final byte SUBTYPE
- See Also:
- Constant Field Values
-
SUBTYPE2
public static final byte SUBTYPE2
- See Also:
- Constant Field Values
-
-
Method Detail
-
useMilli
public static boolean useMilli(int val)
-
getMicroSeconds
public int getMicroSeconds()
-
compareTo
public int compareTo(PathSegment o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<PathSegment>
- Overrides:
compareTo
in classNetworkSeg
-
simpleString
public java.lang.String simpleString()
Description copied from class:PathSegment
Supply s simple descriptive name usable when browsing a hierarchy. A simple type name for elementary types, a non-detailed description for complex types.- Specified by:
simpleString
in classPathSegment
- Returns:
-
getTokens
public java.util.List<java.lang.String> getTokens()
- Specified by:
getTokens
in classPathSegment
-
-