MiscCalcEvent

Sepasoft MES Module Suite

MiscCalcEvent

The miscellaneous calculation event object is fired whenever the custom calculations through the system.mes.spc.analysis.executeMiscCalculation(settings, miscCalcName) script function is called. If calculations other than the built-in calculations, such as PPM, are needed, then they can be defined in the 'Misc.' subfolder under SPC Calculations in the MES Scripts. 

Properties

getData()

Description

Gets resultant dataset after the miscellaneous calculation.

Syntax

getData()


  • Parameters

None

  • Returns

AnalysisDataset data - The results of the miscellaneous calculation.

getMeasurementCount()

Description

Gets the number of measurements associated with this SPC data.

Syntax

getMeasurementCount()


  • Parameters

None

  • Returns

int measurementCnt - The measurement counts corresponding to this SPC data.

getSettings()

Description

Returns the SPC settings associated with this calculation event. An instance of a SPCSettings object that defines the samples to perform the calculation.

Syntax

getSettings()


  • Parameters

None

  • Returns

SPCSettings spcSettings - The settings for miscellaneous calculation.

getValue(key)

Description

Returns the value from the resultant dataset corresponding to the key parameter.

Syntax

getValue(key)


  • Parameters

String key - The key to return the value for.

  • Returns

Object value - The value corresponding to the key specified.

setValue(key, value)

Description

Sets the value for the miscellaneous calculation of SPC data.

Syntax

setValue(key, value)


  • Parameters

String key - The key to set the data for.

Object value - The value to set the data for.

  • Returns

Nothing



Sepasoft MES Module Suite