Table of Contents

Class StatusDataSearch

Namespace
Geotab.Checkmate.ObjectModel.Engine
Assembly
Geotab.Checkmate.ObjectModel.dll

The object used to specify the arguments when searching for StatusData.

When searching for status data including DeviceSearch and DiagnosticSearch the system will return all records that match the search criteria and interpolate the value at the provided from/to dates when there is no record that corresponds to the date. Interpolated records are dynamically created when the request is made and can be identified as not having the ID property populated. Records with an ID are stored in the database.

This search has been designed to work efficiently with these combinations of parameters:

public class StatusDataSearch : Search, IEntity
Inheritance
StatusDataSearch
Implements
Inherited Members

Constructors

StatusDataSearch()

Initializes a new instance of the StatusDataSearch class.Constructor.

public StatusDataSearch()

StatusDataSearch(Id)

Initializes a new instance of the StatusDataSearch class.Constructor.

public StatusDataSearch(Id id)

Parameters

id Id

The identifier.

Properties

DeviceSearch

Gets or sets filter by the DeviceSearch options. Providing a device ID will search for any StatusData recorded for that Device. Providing the Groups will search for StatusData recorded for Devices in that group. Available DeviceSearch options are:

public DeviceSearch? DeviceSearch { get; set; }

Property Value

DeviceSearch

DeviceSearch

DiagnosticSearch

Gets or sets search for StatusData with this DiagnosticSearch Id. Available DiagnosticSearch options are:

public DiagnosticSearch? DiagnosticSearch { get; set; }

Property Value

DiagnosticSearch

DiagnosticSearch

FromDate

Gets or sets search for StatusData records that were logged at this date or after.

public DateTime? FromDate { get; set; }

Property Value

DateTime?

DateTime

ObserveActiveState

Gets or sets a value indicating whether [observe active state].

public bool ObserveActiveState { get; set; }

Property Value

bool

true if [observe active state]; otherwise, false.

ToDate

Gets or sets search for StatusData records that were logged at this date or before.

public DateTime? ToDate { get; set; }

Property Value

DateTime?

DateTime

Version

Gets or sets the row version of the StatusData search criteria.

public override long? Version { get; set; }

Property Value

long?

long