Skip to content

Commit

Permalink
refactor measurement handling to allow for heterogenous periods and f…
Browse files Browse the repository at this point in the history
…ix issues related to it
  • Loading branch information
clezag committed Jan 14, 2025
1 parent 2ea679f commit ddab9fb
Show file tree
Hide file tree
Showing 4 changed files with 181 additions and 162 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ public abstract class MeasurementAbstract implements Serializable {
public abstract MeasurementAbstract findLatestEntry(EntityManager em, Station station, DataType type, Integer period);
public abstract Date getDateOfLastRecord(EntityManager em, Station station, DataType type, Integer period);
public abstract void setValue(Object value);
public abstract Object getValue();

protected MeasurementAbstract() {
this.created_on = new Date();
Expand Down
Loading

0 comments on commit ddab9fb

Please sign in to comment.