MTConnect 2.8 class
Device
Component composed of a piece of equipment that produces observations about itself.
Description
A Device organizes its parts as Component entities.
A Device MUST have a name and uuid to identify itself.
A Device MUST have the following DataItems: Availability, AssetChanged, and AssetRemoved.
See Components for more details on the properties of Device.
See Part Properties of Device for a list of top level
Componenttypes for aDevice.
Introduced in MTConnect 1.0.
Inheritance
Base classes, from the immediate parent to the root:
Subclasses
- Agent
Devicecomposed of an MTConnect Agent and all its connected data sources.Description
An
AgentMUST be provided by all MTConnect Agent implementations.An
AgentMUST provide notifications when devices are added or changed.An
AgentMUST provide connection information for each data source currently supplying data to the MTConnect Agent.An
AgentMAY provide information about telemetry relating to data sources.An
AgentMAY provide information about the MTConnect Agent resource utilization.
Properties
Includes inherited members. Defined by identifies the class that declares each member.
| Name | Type | Multiplicity | Introduced | Deprecated | Defined by | Definition |
|---|---|---|---|---|---|---|
| hash | string | 0..1 | 2.2 | Device | condensed message digest from a secure one-way hash function. FIPS PUB 180-4 Access: public Aggregation: composite | |
| iso841Class | string | 0..1 | 1.0 | 1.2 | Device | DEPRECATED in MTConnect Version 1.2. Access: public |
| mtconnectVersion | string | 0..1 | 1.7 | Device | MTConnect version of the Device Information Model used to configure the information to be published for a piece of equipment in an MTConnect Response Document. Access: public Aggregation: composite | |
| name | string | 1 | 1.0 | Device | name of an element or a piece of equipment. Access: public | |
| uuid | string | 1 | 1.0 | Device | universally unique identifier for the element. Access: public | |
| 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 | |
| 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 |
Parts
Includes inherited members. Defined by identifies the class that declares each member.
| Name | Type | Multiplicity | Introduced | Deprecated | Defined by | Definition |
|---|---|---|---|---|---|---|
| hasAdapter | Adapter | 0..* | Device | Association: Adapters Access: public Aggregation: composite | ||
| hasAuxiliary | Auxiliary | 0..* | Device | Association: Auxiliaries Access: public Aggregation: composite | ||
| hasAxis | Axis | 0..* | Device | Association: Axes Access: public Aggregation: composite | ||
| hasController | Controller | 0..* | Device | Association: Controllers Access: public Aggregation: composite | ||
| hasInterface | Interface | 0..* | Device | Association: Interfaces Access: public Aggregation: composite | ||
| hasPart | Part | 0..* | Device | Association: Parts Access: private Aggregation: composite | ||
| hasProcess | Process | 0..* | Device | Association: Processes Access: private Aggregation: composite | ||
| hasResource | Resource | 0..* | Device | Association: Resources Access: public Aggregation: composite | ||
| hasStructure | Structure | 0..* | Device | Association: Structures Access: public Aggregation: composite | ||
| hasSystem | System | 0..* | Device | Association: Systems Access: public Aggregation: composite | ||
| observesAssetChanged | AssetChanged | 1 | Device | Access: public Aggregation: composite | ||
| observesAssetRemoved | AssetRemoved | 1 | Device | Access: public Aggregation: composite | ||
| observesAvailability | Availability | 1 | Device | 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 |
Part of
- MTConnectDevices::hasDevice (1..*)
Constraints
Components::Devices::Device::allInstances()->iterate(device;devicecount:Real=0| if device.observes->size() >= 3 then if device.observes->iterate(av;avail:Real=0|if av.oclAsType(DataItems::"DataItem Types"::Event).type = DataTypes::EventEnum::AVAILABILITY then avail+1 else avail+0 endif) = 1 then if device.observes->iterate(ac;assetc:Real=0|if ac.oclAsType(DataItems::"DataItem Types"::Event).type = DataTypes::EventEnum::ASSET_CHANGED then assetc+1 else assetc+0 endif) = 1 then if device.observes->iterate(ar;assetr:Real=0|if ar.oclAsType(DataItems::"DataItem Types"::Event).type = DataTypes::EventEnum::ASSET_REMOVED then assetr+1 else assetr+0 endif) = 1 then devicecount + 1 else devicecount + 0 endif else devicecount + 0 endif else devicecount + 0 endif else devicecount + 0 endif) = hasDevice->size()
Components::Devices::Device::allInstances()->iterate(device;devicecount:Real=0| if device.id->size() = 1 and device.name->size() = 1 and device.uuid->size() = 1 and (device.observes->size() > 0 or device.hasReference->size() > 0 or device.hasComponent->size() > 0) then devicecount + 1 else devicecount + 0 endif ) = Components::Devices::Device::allInstances()->size()
Source: MTConnect Institute model documentation, version 2.8.
MTConnect term dictionary ยท TAMS Model-Aware MTConnect Browser