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
IdThe 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
IdThe identifier.
maintenanceSchedule
MaintenanceScheduleThe EventRule.
device
DeviceThe device
info
stringThe 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
Info
Gets or sets the information for the notification maintenance reminder data.
public string? Info { get; set; }
Property Value
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
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.