Package com.automation_pros.odva.logix
Class LgxProbeReport
- java.lang.Object
-
- com.automation_pros.odva.logix.LgxProbeReport
-
- All Implemented Interfaces:
java.io.Serializable
public class LgxProbeReport extends java.lang.Object implements java.io.SerializableContains the results of performing the tag and datatype scan documented in Rockwell's Logix Data Access manual.The probe sequence itself is in LgxDataProbe. When that sequence delivers to listeners, it does not perform the assignment of type instances to tags and type members. The listener can choose to use the reMap() method if desired.
The
reMap()method is automatically invoked after deserialization.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLgxProbeReport.LgxNamedDataThis abstract class contains the functionality shared between tags and members of a structure type.static classLgxProbeReport.LgxProbedMemberstatic classLgxProbeReport.LgxProbedProgramstatic classLgxProbeReport.LgxProbedTagstatic classLgxProbeReport.LgxProbedType
-
Field Summary
Fields Modifier and Type Field Description booleananyUnalignedArrayThis flag is set duringreMap()if any array tag is present with a data address not aligned to a 64-bit word.int[]chgMgmtintlastInstancejava.lang.StringlogintmaxInstanceintmsgCountjava.util.List<LgxProbeReport.LgxProbedProgram>programsjava.util.List<LgxProbeReport.LgxProbedTag>tagsinttagsToDojava.util.List<LgxProbeReport.LgxProbedType>typesinttypesToDo
-
Constructor Summary
Constructors Constructor Description LgxProbeReport()LgxProbeReport(int[] chgMgmt, int msgCount, int lastInstance, int maxInstance, int typesToDo, int tagsToDo, java.lang.String log, java.util.List<LgxProbeReport.LgxProbedTag> tags, java.util.List<LgxProbeReport.LgxProbedProgram> programs, java.util.List<LgxProbeReport.LgxProbedType> types)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetNullTermString(java.nio.ByteBuffer source)Logix template definitions include the template name and member names in an unorganized buffer, each null terminated.LgxProbeReportreMap()java.lang.StringtoString()
-
-
-
Field Detail
-
chgMgmt
public final int[] chgMgmt
-
msgCount
public final int msgCount
-
lastInstance
public final int lastInstance
-
maxInstance
public final int maxInstance
-
typesToDo
public final int typesToDo
-
tagsToDo
public final int tagsToDo
-
log
public transient java.lang.String log
-
tags
public final java.util.List<LgxProbeReport.LgxProbedTag> tags
-
programs
public final java.util.List<LgxProbeReport.LgxProbedProgram> programs
-
types
public final java.util.List<LgxProbeReport.LgxProbedType> types
-
anyUnalignedArray
public transient boolean anyUnalignedArray
This flag is set duringreMap()if any array tag is present with a data address not aligned to a 64-bit word. This matters for alias determinations and for any use of the physical memory services available on older firmware.
-
-
Constructor Detail
-
LgxProbeReport
public LgxProbeReport()
-
LgxProbeReport
public LgxProbeReport(int[] chgMgmt, int msgCount, int lastInstance, int maxInstance, int typesToDo, int tagsToDo, java.lang.String log, java.util.List<LgxProbeReport.LgxProbedTag> tags, java.util.List<LgxProbeReport.LgxProbedProgram> programs, java.util.List<LgxProbeReport.LgxProbedType> types)
-
-
Method Detail
-
getNullTermString
public static java.lang.String getNullTermString(java.nio.ByteBuffer source)
Logix template definitions include the template name and member names in an unorganized buffer, each null terminated. This helper function simply reads a single null-terminated string from a buffer, leaving the buffer position after the null.- Parameters:
source-- Returns:
-
reMap
public LgxProbeReport reMap()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-