Commit b587c78a authored by Cédric Crettaz's avatar Cédric Crettaz 🖥

Complete the FlowerBed data model.

parent 5de5cfde
......@@ -101,7 +101,20 @@ attrs = {
'moistureUnit': None,
'refDevice': None,
'refNewDevice': None,
'name': None
'name': None,
'battery': 0.0,
'consumption': 0.0,
'duration': 0.0,
'endDate': datetime.fromtimestamp(0),
'endTick': 0.0,
'idTruck': None,
'initDate': datetime.fromtimestamp(0),
'initTick': 0.0,
'truckLocation': Point([0, 0]),
'version': None,
'feedback': None,
'feedbackDescription': None,
'dateFeedback': datetime.fromtimestamp(0)
},
'WaterQualityObserved': {
'dateObserved': datetime.utcnow(), # mandatory
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment