Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Configuration

The configuration contains all attribute definitions for parts, characteristics, measurements, measured values and catalogs. Additionally, it contains the catalogs that are configured in the piweb database.

see

AttributeDefinition

see

Catalog

Hierarchy

  • Configuration

Index

Constructors

Private constructor

Properties

allAttributes

allAttributes: Map<number, AttributeDefinition>

A map of all attribute definitions.

catalogAttributes

catalogAttributes: Map<number, AttributeDefinition>

The set of attribute definitions referring to catalog entries.

catalogs

The catalogs that are configured in the PiWeb database.

characteristicAttributes

characteristicAttributes: Map<number, AttributeDefinition>

The set of attribute definitions referring to inspection plan characteristics.

measurementAttributes

measurementAttributes: Map<number, AttributeDefinition>

The set of attribute definitions referring to measurements.

measurementValueAttributes

measurementValueAttributes: Map<number, AttributeDefinition>

The set of attribute definitions referring to measured values.

partAttributes

partAttributes: Map<number, AttributeDefinition>

The set of attribute definitions referring to inspection plan parts.

Methods

findCatalog

  • Returns the catalog that is associated to the specified attribute or enumerated characteristic.

    Parameters

    Returns Catalog | undefined

findCatalogEntry

  • Returns the catalog entry that is identified by they catalog entry key of the specified attribute.

    Parameters

    • attribute: Attribute

      The attribute with a catalog entry key as its value.

    Returns CatalogEntry | undefined

findDefinition

  • Returns the attribute definition that is associated to the specified attribute.

    Parameters

    Returns AttributeDefinition | undefined

findEnumeratedCatalogEntry

  • Returns the catalog entry that is used by the specified measurement value.

    When using enumerated characteristics, every characteristic might use an individual catalog for its measurement value. The measurement value is then the key of a catalog entry of this catalog.

    Parameters

    Returns CatalogEntry | undefined

Generated using TypeDoc