Class MaintenanceWorkOrderJob
- Namespace
- Geotab.Checkmate.ObjectModel.Maintenance
- Assembly
- Geotab.Checkmate.ObjectModel.dll
Maintenance Work Order Job for a particular device.
public class MaintenanceWorkOrderJob : NameEntityWithMaintenanceSource, IEntity, IComparable, IIdentifiable, IMaintenanceSource, IDateTimeProvider
- Inheritance
-
MaintenanceWorkOrderJob
- Implements
- Inherited Members
Constructors
MaintenanceWorkOrderJob()
Initializes a new instance of the MaintenanceWorkOrderJob class.
public MaintenanceWorkOrderJob()
MaintenanceWorkOrderJob(Id)
Initializes a new instance of the MaintenanceWorkOrderJob class.Constructor.
public MaintenanceWorkOrderJob(Id id)
Parameters
MaintenanceWorkOrderJob(Id?, MaintenanceSchedule?, Device?, DateTime?, int?, MaintenanceWorkOrder?, int?, double?, int?, double?, int?, int?, string?, DateTime?, DateTime?, string?, string?, string?, string?, DateTime?, EventType?, string?, long?, TimeSpan?, Dictionary<string, string>?, IList<string>?)
Initializes a new instance of the MaintenanceWorkOrderJob class.
public MaintenanceWorkOrderJob(Id? id, MaintenanceSchedule? schedule, Device? device, DateTime? dateTime, int? statusCode, MaintenanceWorkOrder? workOrder, int? severityCode, double? laborCosts, int? hours, double? partsCost, int? vmrsSystemCode, int? serviceWorkAccomplishedCode, string? description, DateTime? startDate, DateTime? dateCompleted, string? notes, string? costCurrency, string? source, string? sourceDescription, DateTime? triggeredDate, EventType? maintenanceType, string? name, long? odometerReading, TimeSpan? engineHoursReading, Dictionary<string, string>? metadata, IList<string>? labels)
Parameters
idIdThe id
scheduleMaintenanceScheduleThe schedule.
deviceDeviceThe Device.
dateTimeDateTime?The datetime when the record was created
statusCodeint?The status of the work order job
workOrderMaintenanceWorkOrderThe Work Order of the work order job
severityCodeint?The priority of the work order job
laborCostsdouble?The labor costs of the work order job
hoursint?The hours spent on the work order job
partsCostdouble?The parts costs of the work order job
vmrsSystemCodeint?The VMRS (Vehicle Maintenance Reporting Standards) system code of the work order job
serviceWorkAccomplishedCodeint?The service work accomplished for the work order job
descriptionstringThe description of the work order job
startDateDateTime?The start date and time of the work order job
dateCompletedDateTime?The completed date and time of the work order job
notesstringThe notes for the work order job
costCurrencystringThe Currency in which the cost values are recorded
sourcestringThe source of the work order job
sourceDescriptionstringThe source description of the work order job
triggeredDateDateTime?The triggered date of the work order job
maintenanceTypeEventTypeThe maintenance type of the work order job
namestringThe name.
odometerReadinglong?The current odometer of the device.
engineHoursReadingTimeSpan?The current engine hours of the device.
metadataDictionary<string, string>The metadata of the work order job.
labelsIList<string>The labels.
Properties
CostCurrency
Gets or sets the currency of the MaintenanceWorkOrderJob.
public string? CostCurrency { get; set; }
Property Value
- string
The currency of the MaintenanceWorkOrderJob.
DateCompleted
Gets or sets the date completed of the MaintenanceWorkOrderJob.
public DateTime? DateCompleted { get; set; }
Property Value
- DateTime?
The completed date and time of the MaintenanceWorkOrderJob.
DateTime
Gets or sets the date the MaintenanceWorkOrderJob was created.
public DateTime? DateTime { get; set; }
Property Value
- DateTime?
The date the MaintenanceWorkOrderJob was created.
Description
Gets or sets the description of the MaintenanceWorkOrderJob.
public string? Description { get; set; }
Property Value
- string
The description of the MaintenanceWorkOrderJob.
Device
Gets or sets the Device related to the MaintenanceWorkOrderJob.
public Device? Device { get; set; }
Property Value
EngineHoursReading
Gets or sets the current engine hours reading of the Device.
public TimeSpan? EngineHoursReading { get; set; }
Property Value
EngineHoursReadingInHours
Gets the current engine hours of the Device rounded to the nearest whole hour.
public int? EngineHoursReadingInHours { get; }
Property Value
Hours
Gets or sets the hours spent on the MaintenanceWorkOrderJob.
public int? Hours { get; set; }
Property Value
- int?
The hours spent on the MaintenanceWorkOrderJob.
LaborCosts
Gets or sets the labor costs of the MaintenanceWorkOrderJob.
public double? LaborCosts { get; set; }
Property Value
- double?
The labor costs of the MaintenanceWorkOrderJob.
MaintenanceType
Gets or sets the EventType of the MaintenanceWorkOrderJob.
public EventType? MaintenanceType { get; set; }
Property Value
Metadata
Gets or sets the metadata of the MaintenanceWorkOrderJob.
public Dictionary<string, string>? Metadata { get; set; }
Property Value
- Dictionary<string, string>
The metadata of the MaintenanceWorkOrderJob.
Notes
Gets or sets the notes for the MaintenanceWorkOrderJob.
public string? Notes { get; set; }
Property Value
- string
The notes for the MaintenanceWorkOrderJob.
OdometerReading
Gets or sets the current odometer reading of the Device.
public long? OdometerReading { get; set; }
Property Value
PartsCost
Gets or sets the parts costs of the MaintenanceWorkOrderJob.
public double? PartsCost { get; set; }
Property Value
- double?
The parts costs of the MaintenanceWorkOrderJob.
Schedule
Gets or sets the MaintenanceSchedule related to the MaintenanceWorkOrderJob.
public MaintenanceSchedule? Schedule { get; set; }
Property Value
ServiceWorkAccomplishedCode
Gets or sets the service work accomplished code for the MaintenanceWorkOrderJob.
public int? ServiceWorkAccomplishedCode { get; set; }
Property Value
- int?
The service work accomplished for the MaintenanceWorkOrderJob.
SeverityCode
Gets or sets the severity of the MaintenanceWorkOrderJob.
public int? SeverityCode { get; set; }
Property Value
- int?
The severity of the MaintenanceWorkOrderJob.
StartDate
Gets or sets the start date and time of the MaintenanceWorkOrderJob.
public DateTime? StartDate { get; set; }
Property Value
- DateTime?
The start date and time of the MaintenanceWorkOrderJob.
StatusCode
Gets or sets the status of the MaintenanceWorkOrderJob.
public int? StatusCode { get; set; }
Property Value
- int?
The status of the MaintenanceWorkOrderJob.
TriggeredDate
Gets or sets the triggered date the MaintenanceWorkOrderJob is due.
public DateTime? TriggeredDate { get; set; }
Property Value
VmrsSystemCode
Gets or sets the VMRS (Vehicle Maintenance Reporting Standards) system code of the MaintenanceWorkOrderJob.
public int? VmrsSystemCode { get; set; }
Property Value
- int?
The VMRS (Vehicle Maintenance Reporting Standards) system code of the MaintenanceWorkOrderJob.
WorkOrder
Gets or sets the related MaintenanceWorkOrder.
public MaintenanceWorkOrder? WorkOrder { get; set; }
Property Value
- MaintenanceWorkOrder
The related MaintenanceWorkOrder.
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.