modifyProducedPieces

ModifyProducedPieces messages are sent whenever the count of produced and scrapped items need to be modified.

Topic

MQTT: ia/<customerID>/<location>/<AssetID>/modifyProducedPieces

For Kafka just switch the / character with a .

Usage

modifyProducedPieces is generated to change the count of produced items and scrapped items at the named timestamp.

Content

keydata typedescription
timestamp_msint64unix timestamp of the time point whose count is to be modified
countint32number of produced items
scrapint32number of scrapped items

JSON

Example

The count and scrap are overwritten to be to each at the timestamp.

{
    "timestamp_ms": 1588879689394,
    "count": 10,
    "scrap": 10
}

Producers

  • Typically Node-RED

Consumers