Sepasoft MES Module Suite
SPC Definition | Lightweight
This object is a sub-set, 'helper' version of the Sample Definition object, that executes faster (doesn't load the entire Sample Definition object). It is loaded by the SPC Settings function, getDefinition(). The list of functions below return some of the most-used information used by the SPC Settings object as part of a user's scripts to filter and display SPC samples.
Properties
getDefName()
Description
Gets the name of this SPC definition.
Syntax
getDefName()
- Parameters
None
- Returns
String defName - The name of this SPC definition.
getDefUUID()
Description
Gets the uuid of this SPC definition.
Syntax
getDefUUID()
- Parameters
None
- Returns
String defUUID - The unique identifier corresponding to this SPC definition.
getInspectedAttrCount()
|
Inspected Attribute CountAttribute can contain a counting number (1, 2, 3, 4, …) and represents a number of items inspected for a attribute samples. This attribute data type is recognized and required by the p, np, c and u control charts. |
Description
Gets the inspected attribute count associated with this SPC definition.
Syntax
getInspectedAttrCount()
- Parameters
None
- Returns
Integer inspectedAttrCount - The number of inspected items with this SPC definition.
getMeasCount()
Description
Returns the measurement count for this definition.
Syntax
getMeasCount()
- Parameters
None
- Returns
Integer measCount - The measurement count for this SPC definition.
getNonconformingAttrCount()
|
Non Conforming Attribute CountAttribute can contain a counting number (1, 2, 3, 4, …) and represents a number of nonconforming items (defective items) for a attribute samples. This attribute data type is recognized and required by the p and np control charts. |
Description
Gets the non conforming attribute count for this SPC definition.
Syntax
getNonconformingAttrCount()
- Parameters
None
- Returns
Integer nonconformingAttrCount - The number of non conforming items associated with this SPC definition.
getNonconformityAttrCount()
|
Non Conformity Attribute CountAttribute can contain a counting number (1, 2, 3, 4, …) and represents the number of nonconformities items that have (deformities) for a attribute samples. This attribute data type is recognized and required by the c and u control charts. |
Description
Gets the non conformity attribute count for this SPC definition.
Syntax
getNonconformityAttrCount()
- Parameters
None
- Returns
Integer nonconformityAttrCount - The number of non conformities items associated with this SPC definition.
isValid()
Description
Boolean indicating if this SPC definition is valid or not.
Syntax
isValid()
- Parameters
None
- Returns
boolean True, if this definition is valid and False otherwise.
setDefUUID(defUUID)
Description
Sets the unique identifier for this SPC definition.
Syntax
setDefUUID(defUUID)
- Parameters
String defUUID - The uuid for this SPC definition.
- Returns
Nothing
setInspectedAttrCount(inspectedAttrCount)
|
Inspected Attribute CountAttribute can contain a counting number (1, 2, 3, 4, …) and represents a number of items inspected for a attribute samples. This attribute data type is recognized and required by the p, np, c and u control charts. |
Description
Sets the inspected attribute count for this SPC definition.
Syntax
setInspectedAttrCount(inspectedAttrCount)
- Parameters
Integer inspectedAttrCount - The number of inspected items to set for.
- Returns
Nothing
setMeasCount(measCount)
Description
Sets the measurement count for this SPC definition.
Syntax
setMeasCount(measCount)
- Parameters
Integer measCount - The measurement count to set for. Note that the max number of measurements is 500.
- Returns
Nothing
setNonconformingAttrCount(nonconformingAttrCount)
|
Non Conforming Attribute CountAttribute can contain a counting number (1, 2, 3, 4, …) and represents a number of nonconforming items (defective items) for a attribute samples. This attribute data type is recognized and required by the p and np control charts. |
Description
Sets the non conforming attribute count for this SPC definition.
Syntax
setNonconformingAttrCount(nonconformingAttrCount)
- Parameters
Integer nonconformingAttrCount - The number of non conforming items to set for.
- Returns
Nothing
setNonconformityAttrCount(nonconformityAttrCount)
|
Non Conformity Attribute CountAttribute can contain a counting number (1, 2, 3, 4, …) and represents a number of nonconformities items (defective items) for a attribute samples. This attribute data type is recognized and required by the p and np control charts. |
Description
Sets the non conformity attribute count for this SPC definition.
Syntax
setNonconformityAttrCount(nonconformityAttrCount)
- Parameters
Integer nonconformityAttrCount - The number of non conformities items to set for.
- Returns
Nothing
Sepasoft MES Module Suite