// // Created by CFIF on 20.02.24. // #ifndef HVAC_DEVICESTORAGE_H #define HVAC_DEVICESTORAGE_H //#include "DeviceDataNonVolatile.h" //#include "DeviceDataRuntime.h" #include "LoggerInterface.h" #include "DataRuntime.h" #include "DataNonVolatile.h" #include "StorageIO.h" #include "VarsTabDumpObserver.h" typedef struct { tLoggerInterface *logger; tDeviceDataRuntime runtime; tDeviceDataNonVolatile *dataParam; void *dataCalib; tVarsTabDumpObserver dumpObserver; uint8_t trackableVarsTab; } tDeviceStorage; bool DeviceStorage_Init(tDeviceStorage *env, tStorageInterface *storageCalibInterface, tStorageInterface *storageParamInterface, tLoggerInterface *logger); void DeviceStorage_ForceDump(tDeviceStorage *env); void DeviceStorage_DelayedDump(tDeviceStorage *env); #endif //HVAC_DEVICESTORAGE_H