Class ScheduleSeg
- java.lang.Object
-
- com.automation_pros.odva.cip.path.PathSegment
-
- com.automation_pros.odva.cip.path.NetworkSeg
-
- com.automation_pros.odva.cip.path.ScheduleSeg
-
- All Implemented Interfaces:
java.lang.Comparable<PathSegment>
public class ScheduleSeg extends NetworkSeg
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classScheduleSeg.DecoderDecode bytes expected to contain one encoded path segment.static classScheduleSeg.ParserThis parser is expected to registered for the 'sched' and 'schedule' 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 byteSUBTYPE-
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
-
-
Constructor Summary
Constructors Constructor Description ScheduleSeg()ScheduleSeg(byte sched)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(PathSegment o)bytegetSchedule()java.util.List<java.lang.String>getTokens()java.lang.StringsimpleString()Supply s simple descriptive name usable when browsing a hierarchy.-
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
-
-
Method Detail
-
getSchedule
public byte getSchedule()
-
compareTo
public int compareTo(PathSegment o)
- Specified by:
compareToin interfacejava.lang.Comparable<PathSegment>- Overrides:
compareToin classNetworkSeg
-
simpleString
public java.lang.String simpleString()
Description copied from class:PathSegmentSupply 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:
simpleStringin classPathSegment- Returns:
-
getTokens
public java.util.List<java.lang.String> getTokens()
- Specified by:
getTokensin classPathSegment
-
-