fix(pkg/daemon): use measuredValue interface instead of different structs
This commit is contained in:
7
pkg/types/measuredValue.go
Normal file
7
pkg/types/measuredValue.go
Normal file
@ -0,0 +1,7 @@
|
||||
package types
|
||||
|
||||
type MeasuredValue interface {
|
||||
GetID() string
|
||||
GetSensorID() string
|
||||
GetValue() float64
|
||||
}
|
Reference in New Issue
Block a user