Class MaintenanceNotificationState
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
public class MaintenanceNotificationState : Entity, IEntity, IComparable, IIdentifiable, IDeviceProvider
- Inheritance
-
MaintenanceNotificationState
- Implements
- Inherited Members
Constructors
MaintenanceNotificationState()
Initializes a new instance of the MaintenanceNotificationState class.
public MaintenanceNotificationState()
MaintenanceNotificationState(Id)
Initializes a new instance of the MaintenanceNotificationState class.
public MaintenanceNotificationState(Id id)
Parameters
id
IdThe id of the MaintenanceNotificationState entity
MaintenanceNotificationState(MaintenanceNotificationState)
Initializes a new instance of the MaintenanceNotificationState class.
public MaintenanceNotificationState(MaintenanceNotificationState state)
Parameters
state
MaintenanceNotificationStateThe state to copy
Properties
Data
Gets or sets the notification data attached to this state
public NotificationMaintenanceReminderData? Data { get; set; }
Property Value
- NotificationMaintenanceReminderData
The NotificationData.
DateNotified
Gets or sets the date on which the notification was last issued.
public DateTime? DateNotified { get; set; }
Property Value
- DateTime?
The date.
DaysDue
Gets or sets the due days at the time the notification was last issued.
public TimeSpan? DaysDue { get; set; }
Property Value
- TimeSpan?
The date.
Device
Gets the device.
public Device? Device { get; set; }
Property Value
EngineHoursDue
Gets or sets the due engine hours at the time the notification was last issued.
public TimeSpan? EngineHoursDue { get; set; }
Property Value
- TimeSpan?
The date.
NotificationRule
Gets or sets the associated MaintenanceNotificaitonRule MaintenanceNotificationRule.
public MaintenanceNotificationRule? NotificationRule { get; set; }
Property Value
- MaintenanceNotificationRule
The Notification Rule.
OdometerDue
Gets or sets the due kilometers at the time the notification was last issued.
public long? OdometerDue { get; set; }
Property Value
- long?
The date.
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.