fix(pkg/logfile): use one instead of several logfiles for all measured values

This commit is contained in:
2019-06-26 23:36:01 +02:00
parent 072a902376
commit 3dae3e38be
10 changed files with 67 additions and 100 deletions

View File

@ -1,7 +1,13 @@
package types
import "time"
type MeasuredValue interface {
GetID() string
GetCreationDate() *time.Time
GetSensorID() string
GetValue() float64
SetCreationDate(date *time.Time)
SetTillDate(date time.Time)
SetUpdateDate(date *time.Time)
}