MTConnect 2.8 class
PartOccurrence
Part that exists at a specific place and time, such as a specific instance of a bracket at a specific timestamp.
Description
PartId MUST be defined for PartOccurrence.
Example
<Parts id="partOccSet">
<Components>
<PartOccurrence id="partOccur">
<DataItems>
<DataItem id="partSet" category="EVENT" representation="TABLE" type ="COMPONENT_DATA">
<Definition>
<EntryDefinitions>
<EntryDefinition keyType="PART_UNIQUE_ID"/>
</EntryDefinitions>
<CellDefinitions>
<CellDefinition key="partNumber" type="PART_KIND_ID" subType="PART_NUMBER"/>
<CellDefinition key="batchId" type="PART_GROUP_ID" subType="BATCH"/>
<CellDefinition key="quantity" type="PART_COUNT" subType="TARGET"/>
<CellDefinition key="actualCompleteTime" type="PROCESS_TIME" subType="COMPLETE"/>
<CellDefinition key="partState" type="PROCESS_STATE"/>
</CellDefinitions>
</Definition>
</DataItem>
</DataItems>
</PartOccurrence>
</Components>
</Parts>
XML Device Model Example for PartOccurrence and ComponentData
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/styles/Streams.xsl"?>
<MTConnectStreams>
<Streams>
<DeviceStream name="VMC-3Axis" uuid="test_27MAY">
<ComponentStream component="PartOccurrence" name="partSet" componentId="partOccur">
<Events>
<ComponentDataTable dataItemId="partSet" timestamp="2020-10-28T19:45:43.070010Z" sequence="95" count="2">
<Entry key="part1">
<Cell key="actualStartTime">2009-06-15T00:00:00.000000</Cell>
<Cell key="partId">part1</Cell>
<Cell key="partName">SomeName</Cell>
<Cell key="uniqueID">abc-123</Cell>
</Entry>
<Entry key="part2">
<Cell key="actualStartTime">2009-06-15T00:00:00.007925</Cell>
<Cell key="partId">part2</Cell>
<Cell key="partName">AnotherName</Cell>
<Cell key="uniqueID">def-123</Cell>
</Entry>
</ComponentDataTable>
</Events>
</ComponentStream>
</DeviceStream>
</Streams>
</MTConnectStreams>
XML Streams Response Example for PartOccurrence and ComponentData
Introduced in MTConnect 1.7.
Inheritance
Base classes, from the immediate parent to the root:
Subclasses
- FeatureOccurrence
Componentthat provides information related to an individual feature.
Properties
Includes inherited members. Defined by identifies the class that declares each member.
| Name | Type | Multiplicity | Introduced | Deprecated | Defined by | Definition |
|---|---|---|---|---|---|---|
| belongs to | Component | 1 | Component (inherited) | the owner of a component. a device may not belong to any other component. Access: public | ||
| coordinateSystemIdRef | string | 0..1 | 1.8 | Component (inherited) | specifies the CoordinateSystem for this Access: public | |
| has component | Component | 0..* | Component (inherited) | a component relationship that inheres other components. Access: public | ||
| has composition | Composition | 0..* | Component (inherited) | Access: private | ||
| has configuration | Configuration | 0..* | Component (inherited) | Access: private | ||
| id | string | 1 | 1.0 | Component (inherited) | unique identifier for the Access: public | |
| name | string | 0..1 | 1.0 | Component (inherited) | name of the When provided, Access: public | |
| nativeName | string | 0..1 | 1.1 | Component (inherited) | common name associated with Access: public | |
| observes | DataItem | 0..* | Component (inherited) | Access: private | ||
| sampleInterval | float | 0..1 | 1.2 | Component (inherited) | interval in milliseconds between the completion of the reading of the data associated with the This information may be used by client software applications to understand how often information from a The refresh rate for data from all child Access: public | |
| sampleRate | float | 0..1 | 1.0 | 1.2 | Component (inherited) | DEPRECATED in MTConnect Version 1.2. Replaced by Access: public |
| uuid | string | 0..1 | 1.0 | Component (inherited) | universally unique identifier for the Access: public |
Parts
Includes inherited members. Defined by identifies the class that declares each member.
| Name | Type | Multiplicity | Introduced | Deprecated | Defined by | Definition |
|---|---|---|---|---|---|---|
| observesPartCount | PartCount | 0..1 | PartOccurrence | Access: public Aggregation: composite | ||
| observesPartGroupId | PartGroupId | 0..1 | PartOccurrence | Access: public Aggregation: composite | ||
| observesPartId | PartId | 0..1 | PartOccurrence | Access: public Aggregation: composite | ||
| observesPartKindId | PartKindId | 0..1 | PartOccurrence | Access: public Aggregation: composite | ||
| observesPartStatus | PartStatus | 0..1 | PartOccurrence | Access: public Aggregation: composite | ||
| observesPartUniqueId | PartUniqueId | 0..1 | PartOccurrence | Access: public Aggregation: composite | ||
| observesProcessOccurrenceId | ProcessOccurrenceId | 0..1 | PartOccurrence | Access: public Aggregation: composite | ||
| observesProcessTime | ProcessTime | 0..1 | PartOccurrence | Access: public Aggregation: composite | ||
| observesUser | User | 0..1 | PartOccurrence | Access: public Aggregation: composite | ||
| hasComponent | Component | 0..* | Component (inherited) | Association: Components Access: public Aggregation: composite | ||
| hasComposition | Composition | 0..* | Component (inherited) | Association: Compositions Access: public Aggregation: composite | ||
| hasConfiguration | Configuration | 0..1 | Component (inherited) | Association: Configuration Access: public Aggregation: composite | ||
| hasDescription | Description | 0..1 | Component (inherited) | Association: Description Access: public Aggregation: composite | ||
| hasReference | Reference | 0..* | Component (inherited) | Association: References Access: public Aggregation: composite | ||
| madeObservation | Observation | 0..* | Component (inherited) | Association: Observations Access: public Aggregation: composite | ||
| observes | DataItem | 0..* | Component (inherited) | Association: DataItems Access: public Aggregation: composite |
Relationships
Includes inherited members. Defined by identifies the class that declares each member.
| Name | Type | Multiplicity | Introduced | Deprecated | Defined by | Definition |
|---|---|---|---|---|---|---|
| hasComponentStream | ComponentStream | 0..1 | Component (inherited) | Association: ComponentStream Access: public Aggregation: shared | ||
| isComponentOf | Component | 0..1 | Component (inherited) | Association: Components Access: private | ||
| isWorkedOn | Device | Part (inherited) | Association: Parts Access: private |
Source: MTConnect Institute model documentation, version 2.8.
MTConnect term dictionary ยท TAMS Model-Aware MTConnect Browser