Schematic 3D Integrator
User Guide
How to use Integrator from the Command Line
:
Integrator Object Methods
: Comparison Summary Methods
Comparison Summary Methods
The following method has been provided to return the Compare Summary statistics following a comparison run from the command line:
!subTotals = ARRAY()
!typeCategory = ARRAY()
!compareCategory = ARRAY()
!!integrator.getCompareSummary(!subTotals is ARRAY,
!typeCategory is ARRAY, !compareCategory is ARRAY)
The three arrays must be declared empty as shown before this method is called as the statistics are output to these arrays. The subtotal values are returned as a 2D array of [type category, compare category] aligned as per the Comparison Category form layout. The other two arrays return the type and compare category texts as per the same form. For valid combinations of type and category that have been switched off, the subtotal value returned is -1. For combinations that are not applicable (for example Sequence Mismatch on an Equipment) the subtotal value returned is -2.
A simplified interface to these statistics has also been provided. The following method handles the individual arrays internally and returns the summary text as an array of strings. It ignores any categories where none were found, the category was switched off, or was not applicable. The strings are returned as comma separated values for the category and the total:
!!integratorSupportHandler.compareSummary() is ARRAY
The following method runs the above method internally and prints the summary to the command line, formatted to match the summary as seen interactively:
!!integratorSupportHandler.printSummary()
Note:
The command line summary methods will return values only for the last comparison run from the command line, and not for a comparison run interactively.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.