Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Average ¶
type Current ¶
type DiscreteSensorChanges ¶
type DiscreteSensorChanges struct { Gateway timeseriesgateway.Gateway RefId string MachineID string SensorID string Name string StartTime time.Time EndTime time.Time Logger log.Logger }
DiscreteSensorChanges represents a query for sensor value changes From a functional perspective this query is only useful for discrete sensors. A discrete sensor can be seen as an enumeration in code. It has a limited number of fixed values. This query returns all changes within the specified time frame for a sensor
func (*DiscreteSensorChanges) Run ¶
func (query *DiscreteSensorChanges) Run(ctx context.Context) (*types.QueryResult, error)
type DurationCount ¶
type DurationCount struct { Gateway timeseriesgateway.Gateway RefId string MachineID string SensorID string Name string StartTime time.Time EndTime time.Time Logger log.Logger }
func (*DurationCount) Run ¶
func (query *DurationCount) Run(ctx context.Context) (*types.QueryResult, error)
Click to show internal directories.
Click to hide internal directories.