Add generic database interface in UC1 to support different storage types
We need to interfaces:
- A
RecordConverter<T>
that convertsActivePowerRecords
to the formatT
required by the database - and a
DatabaseWriter<T>
that actually stores converted records to the database.
We might consider wrapping both in a DatabaseAdapter
.
This issue should already apply #310 (closed).
Edited by Sören Henning