Skip to content
This repository was archived by the owner on Jan 19, 2022. It is now read-only.

Data Storage

Meloni edited this page Jul 29, 2020 · 4 revisions

Data Storage

As the project progresses the storage of data will alter but for every past version I recommend putting a headline each for consistancy.

Version 1

The Data is saved in a map in a file, the name of it is irrelevant. The format of the map is Map<String,List<Integer>> where the string is always the custom timestamp (YEAR/MONTH/DAY/HOUR/MIN/SEC without "/") the list contains the value of each timestamp in the following order: verbrauchw,verbrauchkwh,leistungw,ertragkwh,energieverbrauchw Further stored is under the key "version" the actual fileversion;

Clone this wiki locally