Class CipENGUNIT
- java.lang.Object
-
- com.automation_pros.odva.cip.data.BaseDataType<java.lang.Short>
-
- com.automation_pros.odva.cip.data.CipUINT
-
- com.automation_pros.odva.cip.data.CipENGUNIT
-
- All Implemented Interfaces:
BitAddressable,BoolHost
public class CipENGUNIT extends CipUINT
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.Map<java.lang.Integer,java.lang.String>unitSymbols-
Fields inherited from class com.automation_pros.odva.cip.data.BaseDataType
dimensions, memberOffsets, sLogger, variantContext, varyingDimension
-
-
Constructor Summary
Constructors Modifier Constructor Description CipENGUNIT()CipENGUNIT(int[] dimensions)CipENGUNIT(short val)protectedCipENGUNIT(CipENGUNIT data, int[] indices)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CipENGUNITcopy()Produce a deep clone of the object.java.lang.StringcrcName()Obtain the name of this type as used for computing structure CRCs.DataDefinitionSeggetNestingDef()Return the element (not including array) type definition as a Path Segment, using the abbreviated form if a composite data type.CipENGUNITwrap(int[] indices)Application-side wrapper for inner dimensions.-
Methods inherited from class com.automation_pros.odva.cip.data.CipUINT
bytesEach, bytesImpl, copyToImpl, copyToImpl, get, getBit, getBit, intValue, putPayloadImpl, set, setBit, setBit, setDimensions, setInt, setPayloadImpl, structCRCString
-
Methods inherited from class com.automation_pros.odva.cip.data.BaseDataType
alignment, browseInner, browseInnerImpl, bytes, checkDimensions, chkAbbrevType, concatIndices, conditionalSuffix, copyTo, CRC16, CRC16, CRC16, dim2linear, dim2linear, dim2qty, dim2suffix, dimensionToString, doubleValue, extendIntArray, fillIntArray, get, getCompleteDef, getDimensions, getMemberOffsets, getSymbolType, getTypeCode, getVariantContext, getVaryingDimension, hasOffset, incIdx, intArray, linear2dim, linear2dim, longValue, makeInstance, maxEach, minEach, nestedBytes, nestedBytesEach, nestedBytesImpl, nestedPutPayload, nestedPutPayloadImpl, nestedSetPayload, nestedSetPayloadImpl, putAbbrevType, putPayload, range2suffix, rawCRC16, set, setFromTokenImpl, setFromTokenizer, setFromTokenizerImpl, setFromTokenString, setLong, setMemberOffsets, setPayload, setupTokenizer, setVariantContext, setVariantDimension, setVariantDimension, singleToString, sliceTo, toString
-
-
-
-
Constructor Detail
-
CipENGUNIT
public CipENGUNIT()
-
CipENGUNIT
public CipENGUNIT(short val)
-
CipENGUNIT
public CipENGUNIT(int[] dimensions)
-
CipENGUNIT
protected CipENGUNIT(CipENGUNIT data, int[] indices)
-
-
Method Detail
-
getNestingDef
public DataDefinitionSeg getNestingDef()
Description copied from class:BaseDataTypeReturn the element (not including array) type definition as a Path Segment, using the abbreviated form if a composite data type.- Overrides:
getNestingDefin classCipUINT
-
crcName
public java.lang.String crcName()
Description copied from class:BaseDataTypeObtain the name of this type as used for computing structure CRCs. Can be different from the name(s) used by the CipPath parser.
-
copy
public CipENGUNIT copy()
Description copied from class:BaseDataTypeProduce a deep clone of the object.
-
wrap
public CipENGUNIT wrap(int[] indices)
Description copied from class:BaseDataTypeApplication-side wrapper for inner dimensions. Implementations must update memberOffsets if not not using the protected constructor.
-
-