1st Version with a web and flask server on the device

This commit is contained in:
2024-03-20 21:32:56 +01:00
parent fcaa0d5d72
commit f9a4bf7d8d
22 changed files with 975 additions and 51 deletions

View File

@@ -0,0 +1,19 @@
import uuid
import datetime as dt
from marshmallow import Schema, fields, post_load
from vrpmdvmonreq import VRPMDV_MonReq
class VRPMDV_MonReqSchema(Schema):
name = fields.String()
samplerate = fields.Integer()
sampleperiod = fields.Integer()
downtime = fields.Integer()
owner = fields.String()
@post_load
def make_vrpmdv_MonitoringReq(self, data, **kwargs):
return VRPMDV_MonReq(**data)