Skip to content

Add generic database interface in UC1 to support different storage types

We need to interfaces:

  • A RecordConverter<T> that converts ActivePowerRecords to the format T 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