Sepasoft MES Module Suite
MESAnalysisResults Object
The MESAnalysisResults object contains a dataset that is returned by the analysis engine based on the Analysis Settings (which may or may not be saved as an MESAnalysisSettings object) that were executed. The object contains more than the bare result set, such as Drill Down data as well as other meta-data surrounding the analysis such as warnings and execution time.
Inherits properites, methods and events from:
Object Creation
The following scripting function returns a MES Analysis Results object:
system.mes.analysis.executeAnalysis
Object Functions
These are specific to this object:
addMessage(message)
Adds a message to the analysis results.
addMessage(message)
String message - The message to be added.
Nothing
All
getDataset()
Gets dataset for the analysis results.
getDataset()
None
AnalysisDataset dataset - The dataset with analysis results.
All
getDrillDownOptions()
Gets the drill down options for the analysis results.
getDrillDownOptions()
None
List<AbstractValueItemInfo> options - The drill down options for the analysis results.
All
getExecutionDurationMS()
Gets the duration of execution in milliseconds.
getExecutionDurationMS()
None
Long executionDurationMS - The duration of execution in milliseconds.
All
getMessage()
Gets any messages set during execution
getMessage()
None
String - Message from Analysis
Example: The value for the (Equipment Path) filter item cannot be blank.
All
hasMessage()
Returns a Boolean informing if a message has been set in the results
hasMessage()
None
Boolean - True if a message is returned from analysis
All
setDrillDownOptions(List<AbstractValueItemInfo> drillDownOptionMap)
Sets a list of drill down options for this analysis results.
setDrillDownOptions(List<AbstractValueItemInfo> drillDownOptionMap)
List<AbstractValueItemInfo> options - Drill down options for the analysis results.
Nothing
All
Sepasoft MES Module Suite