agent
Lexicon: eco.wonderland.workcell.protocol.mtconnect.state.defs
Type: object
Agent. An agent MUST perform the following tasks:
- Collect data from equipment.
- Generate response document.
- An agent MAY provide additional protocols and representations.
Properties
Section titled “Properties”instanceId
Section titled “instanceId”Type: uint32
Identifier for an instance of the agent. instanceId MUST be changed to a different unique number each time the buffer is cleared and a new set of data begins to be collected.
sequenceNumber
Section titled “sequenceNumber”Type: uint64
Sequence number.
bufferSize
Section titled “bufferSize”Type: uint32
Maximum number of Observation that MAY be retained in the agent that published the response document at any point in time.
maxAssets
Section titled “maxAssets”Type: uint32
Maximum number of Asset that MAY be retained in the agent that published the response document at any point in time.
assetCount
Section titled “assetCount”Type: uint32
Current number of Asset that are currently stored in the agent as of the creationTime that the agent published the response document.
buffer
Section titled “buffer”Type: observations
assetBuffer
Section titled “assetBuffer”Type: assets
Schema
Section titled “Schema”{ "type": "object", "properties": { "instanceId": { "type": "integer" }, "sequenceNumber": { "type": "integer" }, "bufferSize": { "type": "integer" }, "maxAssets": { "type": "integer" }, "assetCount": { "type": "integer" }, "buffer": { "type": "ref", "ref": "lex:eco.wonderland.workcell.observation.defs#observations" }, "assetBuffer": { "type": "ref", "ref": "lex:eco.wonderland.workcell.asset.defs#assets" } }}