Sepasoft MES Module Suite
SPC Results
The following scripting functions return this type of object.
Object Functions
This object provides the following functions:
hasError()
Description
Checks whether there is any error message and returns the corresponding boolean value.
Syntax
hasError()
- Parameters
None
- Returns
boolean errorMessage - True if there exist an error message and False if there is n't any error message.
- Scope
All
getErrorMessage()
Description
Get the error message.
Syntax
getErrorMessage()
- Parameters
None
- Returns
String errorMessage - The error message.
- Scope
All
setErrorMessage(errorMessage)
Description
Set the error message.
Syntax
setErrorMessage(errorMessage)
- Parameters
String errorMessage - The error message to set for.
- Returns
Nothing
- Scope
All
hasWarning()
Description
Checks whether there is any warning message and returns the corresponding boolean value.
Syntax
hasWarning()
- Parameters
None
- Returns
boolean warningMessage - True if there exist a warning message and False if there is n't any warning message.
- Scope
All
getWarningMessage()
Description
Get the warning message.
Syntax
getWarningMessage()
- Parameters
None
- Returns
String warningMessage - The warning message.
- Scope
All
setWarningMessage(warningMessage)
Description
Set the warning message.
Syntax
setWarningMessage(warningMessage)
- Parameters
String warningMessage - The warning message to set for.
- Returns
Nothing
- Scope
All
getTableResults()
Description
Get the SPC results.
Syntax
getTableResults()
- Parameters
None
- Returns
Dataset tableResults - The SPC results.
- Scope
All
setTableResults(tableResults)
Description
Set the SPC results.
Syntax
setTableResults(tableResults)
- Parameters
Dataset tableResults - The SPC results to set for.
- Returns
Nothing
- Scope
All
getMeasCount()
Description
Get the number of measurements.
Syntax
getMeasCount()
- Parameters
None
- Returns
Integer measCount - The number of measurements.
- Scope
All
setMeasCount(measCount)
Description
Set the number of measurements.
Syntax
setMeasCount(measCount)
- Parameters
Integer measCount - The number of measurements to set for.
- Returns
Nothing
- Scope
All
getCalcValues()
Description
Get the calculated control limit values.
Syntax
getCalcValues()
- Parameters
None
- Returns
List calcValColl - Information about the calculated control limit values, as an SPC Calc Value Collection object.
- Scope
All
getSettings()
Description
Get the SPCSettings object.
Syntax
getSettings()
- Parameters
None
- Returns
SPCSettings settings - The SPC Settings object.
- Scope
All
Sepasoft MES Module Suite