Class DeviceStatusInfoSearch
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
The object used to specify the arguments when searching for DeviceStatusInfo(s).
public class DeviceStatusInfoSearch : Search, IEntity
- Inheritance
-
DeviceStatusInfoSearch
- Implements
- Inherited Members
Constructors
DeviceStatusInfoSearch()
Initializes a new instance of the DeviceStatusInfoSearch class.
public DeviceStatusInfoSearch()
DeviceStatusInfoSearch(Device, IEnumerable<Diagnostic>?)
Initializes a new instance of the DeviceStatusInfoSearch class.
public DeviceStatusInfoSearch(Device device, IEnumerable<Diagnostic>? diagnostics = null)
Parameters
device
DeviceDevice to search for.
diagnostics
IEnumerable<Diagnostic>Diagnostics to search for.
Properties
ClosestAssetLimit
Gets or sets the maximum number of Devices to search for when specifying a "Position".
public int? ClosestAssetLimit { get; set; }
Property Value
DeviceSearch
Gets or sets search for DeviceStatusInfo(s) from a device that matches the DeviceSearch Id or in the Groups specified. This includes archived and deleted devices. Available DeviceSearch options are:.
public DeviceSearch? DeviceSearch { get; set; }
Property Value
DeviceStatusFilterCondition
Gets or sets devices based on current status, IsDriving and IsDeviceCommunicating. And/Or filtering.
public DeviceStatusFilterCondition? DeviceStatusFilterCondition { get; set; }
Property Value
Diagnostics
Gets or sets a list of diagnostics when looking for the latest values for those diagnostics. Available Diagnostics options are:.
public IEnumerable<Diagnostic>? Diagnostics { get; set; }
Property Value
ExcludeExceptionEvents
Gets or sets a value indicating whether to exclude exception events. Default [false].
public bool? ExcludeExceptionEvents { get; set; }
Property Value
Id
Gets or sets DeviceStatusInfoId search criteria.
public override Id? Id { get; set; }
Property Value
IsDeviceCommunicating
Gets or sets search for devices based on their current communicating status. A device is communicating: - When the vehicle is driving and has communicated within the past 10 minutes. - When the vehicle is not driving and has communicated within the past 24 hours.
public bool? IsDeviceCommunicating { get; set; }
Property Value
IsDriving
Gets or sets a 'single' search filter for devices that are 'driving'. Cannot be driving if not communicating.
public bool? IsDriving { get; set; }
Property Value
MaxId
Gets or sets the maximum Id of the search criteria.
public Id? MaxId { get; set; }
Property Value
MaxSearchRadius
Gets or sets the maximum search radius centre at Position when looking for nearest Devices in kilometers.
public float? MaxSearchRadius { get; set; }
Property Value
Position
Gets or sets search for Status Info for Devices in the vicinity of the provided Coordinate. Starting from this position, an outward search for Devices will continue until the number of devices found matches the number defined in the "ClosestAssetLimit" property.
public Coordinate? Position { get; set; }
Property Value
UserSearch
Gets or sets search for Device Status Info associated with this UserSearch Id. Available UserSearch options are:.
public UserSearch? UserSearch { get; set; }