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 int
highofs
int
info
protected java.lang.String
name
int
offset
java.lang.String
suffixFrag
int
symbType
protected LgxProbeReport.LgxProbedType
tpltype
-
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.LgxProbedMember
clone()
int[]
getDimensions()
Obtain the sizes of each array dimension, if any, outermost first.java.lang.String
getName()
Obtain the tag or member name for use in an ANSI Symbol segment.int
getSymbolType()
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.LgxProbedType
getType()
When a Logix symbol is a complex type, and the probe algorithm has enumerated it, return the probe object.boolean
isHidden()
protected java.lang.String
ofsDisplay()
void
setName(java.lang.String name)
void
setType(LgxProbeReport.LgxProbedType pt)
protected java.lang.String
suffixDisplay()
java.lang.String
toString()
-
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:
clone
in classjava.lang.Object
-
getName
public java.lang.String getName()
Description copied from class:LgxProbeReport.LgxNamedData
Obtain the tag or member name for use in an ANSI Symbol segment.- Specified by:
getName
in 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.LgxNamedData
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. This is only used in Rockwell processors during browse.- Specified by:
getSymbolType
in 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.LgxNamedData
When 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:
getType
in classLgxProbeReport.LgxNamedData
- Returns:
-
setType
public void setType(LgxProbeReport.LgxProbedType pt)
-
getDimensions
public int[] getDimensions()
Description copied from class:LgxProbeReport.LgxNamedData
Obtain the sizes of each array dimension, if any, outermost first. Structure members can only have one dimension in Logix.- Specified by:
getDimensions
in 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:
toString
in classjava.lang.Object
-
-