Closed xtrojak closed 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
).
DeviceControl
should store all information needed for self-recovery. Alternatively, this information can be obtained from theDataServer
.