MTConnect 2.8 class
Agent
agent.
An agent MUST perform the following tasks:
- Collect data from manufacturing equipment.
- Generate response documents.
- Provide a REST interface using HTTP.
In addition to XML and HTTP, An agent MAY provide additional protocols and representations. Some representations MAY have companion specifications.
Introduced in MTConnect 1.0.
Properties
Includes inherited members. Defined by identifies the class that declares each member.
| Name | Type | Multiplicity | Introduced | Deprecated | Defined by | Definition |
|---|---|---|---|---|---|---|
| assetCount | nonNegativeInteger | 1.2 | Agent | current number of Assets that are currently stored in the agent as of the Access: public Aggregation: composite | ||
| bufferSize | nonNegativeInteger | 1.0 | Agent | maximum number of Observations that MAY be retained in the agent that published the response document at any point in time. Access: public Aggregation: composite | ||
| instanceId | nonNegativeInteger | 1.0 | Agent | identifier for an instance of the agent.
Access: public Aggregation: composite | ||
| maxAssets | nonNegativeInteger | 1.2 | Agent | maximum number of Assets that MAY be retained in the agent that published the response document at any point in time. Access: public Aggregation: composite | ||
| sequenceNumber | nonNegativeInteger | 1.0 | Agent | Access: public Aggregation: composite |
Parts
Includes inherited members. Defined by identifies the class that declares each member.
| Name | Type | Multiplicity | Introduced | Deprecated | Defined by | Definition |
|---|---|---|---|---|---|---|
| hasAsset | Asset | 0..* | Agent | Association: assetBuffer Access: public Aggregation: composite | ||
| hasObservation | Observation | 0..* | Agent | Association: buffer Access: public Aggregation: composite |
Constraints
val:SufficientObservationSpace a sh:NodeShape ; sh:message "Observation buffer length MUST be strictly less than Agent's buffer size." ; sh:targetClass mt:Agent ; sh:sparql [ a sh:SPARQLConstraint ; sh:select """ SELECT $this WHERE { $this mt:observationBuffer ?buffer . $this mt:bufferSize ?maxSize . ?buffer mt:length ?bufferLen . FILTER (xsd:integer(?bufferLen) >= xsd:integer(?maxSize)) } """ ; ] .
val:SufficientAssetSpace a sh:NodeShape ; sh:message "Asset buffer length MUST be less than Agent's max assets." ; sh:targetClass mt:Agent ; sh:sparql [ a sh:SPARQLConstraint ; sh:select """ SELECT $this WHERE { $this mt:assetBuffer ?buffer . $this mt:maxAssets ?maxAssets . ?buffer mt:length ?bufferLen . FILTER (xsd:integer(?bufferLen) >= xsd:integer(?maxAssets)) } """ ; ] .
Source: MTConnect Institute model documentation, version 2.8.
MTConnect term dictionary ยท TAMS Model-Aware MTConnect Browser