Update page 'Message Queue Endpoint'

This commit is contained in:
Auke Sytsma 2020-03-01 11:51:40 +00:00
parent 672d36ed33
commit ba384b35af

View File

@ -77,7 +77,7 @@ Python objects can easily be converted to protobuf messages and back (when recie
The message structure for the data can be found in `farmmaps/farmmaps.proto`, and is shown below. The message structure for the data can be found in `farmmaps/farmmaps.proto`, and is shown below.
**Datastructure explained** **Datastructure explained**
The main message is the Datapoint object, containing time, location, machine-id and a reference to metadata. The main message is the Datapoint object, containing time, location, machine-id and a reference to metadata.
Then, there is a `sensors` parameter, which holds a dictionary of `SensorType` objects. Then, there is a `sensors` parameter, which holds a dictionary of `SensorType` objects.
Each `SensorType` holds a key and a value, where the key identifies the Sensortype, and the value is the value of the sensor. Each `SensorType` holds a key and a value, where the key identifies the Sensortype, and the value is the value of the sensor.