Class OmronBCD4
- java.lang.Object
-
- com.automation_pros.odva.cip.data.BaseDataType<java.lang.Integer>
-
- com.automation_pros.odva.cip.data.CipUDINT
-
- com.automation_pros.odva.cip.data.OmronBCD4
-
- All Implemented Interfaces:
BitAddressable,BoolHost
public class OmronBCD4 extends CipUDINT
-
-
Field Summary
-
Fields inherited from class com.automation_pros.odva.cip.data.BaseDataType
dimensions, memberOffsets, sLogger, variantContext, varyingDimension
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OmronBCD4copy()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.voidputAbbrevType(java.nio.ByteBuffer dest)Many subclasses will be data elements supported by Logix processors.protected voidputPayloadImpl(java.nio.ByteBuffer dest, int[] indices)All concrete implementations must supply their per-element encoder here.voidset(int[] indices, java.lang.Integer val)Application-side value storage.protected voidsetPayloadImpl(java.nio.ByteBuffer source, int[] indices)All concrete implementations must supply their per-element decoder here.OmronBCD4wrap(int[] indices)Application-side wrapper for inner dimensions.-
Methods inherited from class com.automation_pros.odva.cip.data.CipUDINT
bytesEach, bytesImpl, copyToImpl, copyToImpl, get, getBit, getBit, intValue, longValue, setBit, setBit, setDimensions, setInt, 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, makeInstance, maxEach, minEach, nestedBytes, nestedBytesEach, nestedBytesImpl, nestedPutPayload, nestedPutPayloadImpl, nestedSetPayload, nestedSetPayloadImpl, putPayload, range2suffix, rawCRC16, set, setFromTokenImpl, setFromTokenizer, setFromTokenizerImpl, setFromTokenString, setLong, setMemberOffsets, setPayload, setupTokenizer, setVariantContext, setVariantDimension, setVariantDimension, singleToString, sliceTo, toString
-
-
-
-
Constructor Detail
-
OmronBCD4
public OmronBCD4()
-
OmronBCD4
public OmronBCD4(int val)
-
OmronBCD4
public OmronBCD4(int[] dimensions)
-
OmronBCD4
protected OmronBCD4(OmronBCD4 data, int[] indices)
-
-
Method Detail
-
set
public void set(int[] indices, java.lang.Integer val)Description copied from class:BaseDataTypeApplication-side value storage. Subclasses must implement this function to store one value or complex element into the storage array.
-
setPayloadImpl
protected void setPayloadImpl(java.nio.ByteBuffer source, int[] indices)Description copied from class:BaseDataTypeAll concrete implementations must supply their per-element decoder here.- Overrides:
setPayloadImplin classCipUDINT
-
putPayloadImpl
protected void putPayloadImpl(java.nio.ByteBuffer dest, int[] indices)Description copied from class:BaseDataTypeAll concrete implementations must supply their per-element encoder here.- Overrides:
putPayloadImplin classCipUDINT
-
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 classCipUDINT
-
putAbbrevType
public void putAbbrevType(java.nio.ByteBuffer dest)
Description copied from class:BaseDataTypeMany subclasses will be data elements supported by Logix processors. The LogixTagType interface requires this routine, which is identical for all types with a compact representation.- Overrides:
putAbbrevTypein classBaseDataType<java.lang.Integer>
-
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 OmronBCD4 copy()
Description copied from class:BaseDataTypeProduce a deep clone of the object.
-
wrap
public OmronBCD4 wrap(int[] indices)
Description copied from class:BaseDataTypeApplication-side wrapper for inner dimensions. Implementations must update memberOffsets if not not using the protected constructor.
-
-