SmartBioTech / DeviceControl

2 stars 1 forks source link

QoS: self-recovery #18

Closed xtrojak closed 3 years ago

xtrojak commented 4 years ago

DeviceControl should store all information needed for self-recovery. Alternatively, this information can be obtained from the DataServer.

xtrojak commented 3 years ago

This will be done directly in DeviceControl. These information should contain information for devices and tasks needed to be initialised again when needed (ID, config). When task/device is terminated, log appropriate information from log should be removed, leaving only those (and in particular order) which should be really initialised upon restart of DC.

Possible approaches are to use database (log: id:str, type:str - task/device, config:text) or just a log file (e.g. .csv).