Method | Description | |
---|---|---|
DeviceTelemetryLogic ( IDeviceTelemetryRepository deviceTelemetryRepository ) : System |
Initializes a new instance of the DeviceTelemetryLogic class.
|
|
LoadLatestDeviceTelemetryAsync ( string deviceId, IList |
Loads the most recent Device telemetry.
|
|
LoadLatestDeviceTelemetrySummaryAsync ( string deviceId, System.DateTime minTime ) : Task |
Loads the most recent DeviceTelemetrySummaryModel for a specified Device.
|
|
ProduceGetLatestDeviceAlertTime ( IEnumerable |
Produces a delegate for getting the time of a specified Device's most recent alert.
|
public DeviceTelemetryLogic ( IDeviceTelemetryRepository deviceTelemetryRepository ) : System | ||
deviceTelemetryRepository | IDeviceTelemetryRepository | /// The IDeviceTelemetryRepository implementation that the new /// instance will use. /// |
return | System |
public LoadLatestDeviceTelemetryAsync ( string deviceId, IList |
||
deviceId | string | /// The ID of the Device for which telemetry should be returned. /// |
telemetryFields | IList |
|
minTime | System.DateTime | /// The minimum time of record of the telemetry that should be returned. /// |
return | Task |
public LoadLatestDeviceTelemetrySummaryAsync ( string deviceId, System.DateTime minTime ) : Task |
||
deviceId | string | /// The ID of the Device for which a telemetry summary model should be /// returned. /// |
minTime | System.DateTime | /// If provided the the minimum time stamp of the summary data that should /// be loaded. /// |
return | Task |
public ProduceGetLatestDeviceAlertTime ( IEnumerable |
||
alertHistoryModels | IEnumerable |
/// A collection of AlertHistoryItemModel, representing all alerts that /// should be considered. /// |
return | DateTime?>.Func |