IOT Dash
Public Member Functions | List of all members
IotDash.Services.IHistoryStore Interface Reference
Inheritance diagram for IotDash.Services.IHistoryStore:
Inheritance graph
[legend]
Collaboration diagram for IotDash.Services.IHistoryStore:
Collaboration graph
[legend]

Public Member Functions

Task< IEnumerable< HistoryEntry > > GetPagedHistoryAsync (IotInterface iface, HistoryRequest request)
 
Task CreateAsync (HistoryEntry entry)
 
- Public Member Functions inherited from IotDash.Services.IModelSaver
Task< bool > SaveChangesAsync ()
 

Detailed Description

This service provides database operations on HistoryEntrys.

Member Function Documentation

◆ CreateAsync()

Task IotDash.Services.IHistoryStore.CreateAsync ( HistoryEntry  entry)

Add new measurement to the database.

Parameters
entryThe measurement to add.
Returns
A task which represents the async operation.

Implemented in IotDash.Services.ModelStore.HistoryEntryStore.

◆ GetPagedHistoryAsync()

Task< IEnumerable< HistoryEntry > > IotDash.Services.IHistoryStore.GetPagedHistoryAsync ( IotInterface  iface,
HistoryRequest  request 
)

Get a series of measurements over a continuous interval of time.

Parameters
ifaceThe interface which to which the measurements belong.
requestThe parameters of this request.
Returns
An enumerable of the retrieved measurements.

Implemented in IotDash.Services.ModelStore.HistoryEntryStore.


The documentation for this interface was generated from the following file: