Table of Contents

Class NotificationMaintenanceReminderData

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

The notification data pertaining to Maintenance Reminders.

[ReportClass]
public class NotificationMaintenanceReminderData : NotificationData, IEntity, IComparable, IIdentifiable, IDeviceProvider
Inheritance
NotificationMaintenanceReminderData
Implements
Inherited Members

Constructors

NotificationMaintenanceReminderData()

Initializes a new instance of the NotificationMaintenanceReminderData class.

public NotificationMaintenanceReminderData()

NotificationMaintenanceReminderData(Id)

Initializes a new instance of the NotificationMaintenanceReminderData class.

public NotificationMaintenanceReminderData(Id id)

Parameters

id Id

The identifier.

NotificationMaintenanceReminderData(Id?, MaintenanceSchedule?, Device?, string?, NotificationType?, TimeSpan?, TimeSpan?, long?)

Initializes a new instance of the NotificationMaintenanceReminderData class.

public NotificationMaintenanceReminderData(Id? id, MaintenanceSchedule? maintenanceSchedule, Device? device, string? info = null, NotificationType? type = NotificationType.MaintenanceNotification, TimeSpan? remainingDays = null, TimeSpan? remainingEngineHours = null, long? remainingDistance = null)

Parameters

id Id

The identifier.

maintenanceSchedule MaintenanceSchedule

The EventRule.

device Device

The device

info string

The information.

type NotificationType?

The NotificationType.

remainingDays TimeSpan?

The remaining days.

remainingEngineHours TimeSpan?

The remaining distance.

remainingDistance long?

The remaining engine hours.

Properties

Device

Gets or sets the device serial nubmer for this notification.

public Device? Device { get; set; }

Property Value

Device

The device entity.

EventRule

Gets or sets the maintenance reminder that holds the data for this notification.

public MaintenanceSchedule? EventRule { get; set; }

Property Value

MaintenanceSchedule

MaintenanceSchedule

Info

Gets or sets the information for the notification maintenance reminder data.

public string? Info { get; set; }

Property Value

string

string

RemainingDays

Gets or sets the event rule that holds the data for this notification.

public TimeSpan? RemainingDays { get; set; }

Property Value

TimeSpan?

The remaining days.

RemainingDistance

Gets or sets the event rule that holds the data for this notification.

public long? RemainingDistance { get; set; }

Property Value

long?

The remaining distance.

RemainingEngineHours

Gets or sets the event rule that holds the data for this notification.

public TimeSpan? RemainingEngineHours { get; set; }

Property Value

TimeSpan?

The remaining engine hours.

Type

Gets or sets the NotificationType of the notification.

public NotificationType? Type { get; set; }

Property Value

NotificationType?

NotificationType

Methods

Clone()

Creates a new object that is a copy of the current instance.

public override IEntity Clone()

Returns

IEntity

A new object that is a copy of this instance.