Package com.automation_pros.odva.logix
Class LgxProbeReport.LgxProbedMember
- java.lang.Object
-
- com.automation_pros.odva.logix.LgxProbeReport.LgxNamedData
-
- com.automation_pros.odva.logix.LgxProbeReport.LgxProbedMember
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- LgxProbeReport
public static class LgxProbeReport.LgxProbedMember extends LgxProbeReport.LgxNamedData
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description inthighofsintinfoprotected java.lang.Stringnameintoffsetjava.lang.StringsuffixFragintsymbTypeprotected LgxProbeReport.LgxProbedTypetpltype
-
Constructor Summary
Constructors Constructor Description LgxProbedMember(int symbType, int info, int offset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LgxProbeReport.LgxProbedMemberclone()int[]getDimensions()Obtain the sizes of each array dimension, if any, outermost first.java.lang.StringgetName()Obtain the tag or member name for use in an ANSI Symbol segment.intgetSymbolType()A Logix symbol type code is a 16-bit word signals the number of array dimensions and distinguishes a structure type from a base type.LgxProbeReport.LgxProbedTypegetType()When a Logix symbol is a complex type, and the probe algorithm has enumerated it, return the probe object.booleanisHidden()protected java.lang.StringofsDisplay()voidsetName(java.lang.String name)voidsetType(LgxProbeReport.LgxProbedType pt)protected java.lang.StringsuffixDisplay()java.lang.StringtoString()-
Methods inherited from class com.automation_pros.odva.logix.LgxProbeReport.LgxNamedData
abbrevTypeDef, decoratedTypeDef, dimDisplay, getStructId, namedTypeDef, totalBits, totalBytes, typeName, typeSize
-
-
-
-
Field Detail
-
symbType
public final int symbType
-
info
public final int info
-
offset
public final int offset
-
highofs
public final int highofs
-
name
protected java.lang.String name
-
suffixFrag
public java.lang.String suffixFrag
-
tpltype
protected transient LgxProbeReport.LgxProbedType tpltype
-
-
Method Detail
-
clone
public LgxProbeReport.LgxProbedMember clone()
- Overrides:
clonein classjava.lang.Object
-
getName
public java.lang.String getName()
Description copied from class:LgxProbeReport.LgxNamedDataObtain the tag or member name for use in an ANSI Symbol segment.- Specified by:
getNamein classLgxProbeReport.LgxNamedData- Returns:
- Tag or Member name string.
-
setName
public void setName(java.lang.String name)
-
getSymbolType
public int getSymbolType()
Description copied from class:LgxProbeReport.LgxNamedDataA Logix symbol type code is a 16-bit word signals the number of array dimensions and distinguishes a structure type from a base type. This is only used in Rockwell processors during browse.- Specified by:
getSymbolTypein classLgxProbeReport.LgxNamedData- Returns:
- A 16-bit encoded type, as follows: Bit 15: 0 for base type, 1 for structure type Bits 14-13: Array shape (number of dimensions). Bit 12: System reserved flag. Included in structure id. Bits 12-0: Structure Identifier for structure types. Bits 7-0: CIP Formal Type for base types.
-
getType
public LgxProbeReport.LgxProbedType getType()
Description copied from class:LgxProbeReport.LgxNamedDataWhen a Logix symbol is a complex type, and the probe algorithm has enumerated it, return the probe object. Must be assigned, typically after the fact inLgxProbeReport.reMap().- Specified by:
getTypein classLgxProbeReport.LgxNamedData- Returns:
-
setType
public void setType(LgxProbeReport.LgxProbedType pt)
-
getDimensions
public int[] getDimensions()
Description copied from class:LgxProbeReport.LgxNamedDataObtain the sizes of each array dimension, if any, outermost first. Structure members can only have one dimension in Logix.- Specified by:
getDimensionsin classLgxProbeReport.LgxNamedData- Returns:
- An integer array. Length zero if not an array.
-
ofsDisplay
protected java.lang.String ofsDisplay()
-
suffixDisplay
protected java.lang.String suffixDisplay()
-
isHidden
public boolean isHidden()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-