Table of Contents

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

id Id

Id

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

id Id

The id

schedule MaintenanceSchedule

The schedule.

device Device

The Device.

dateTime DateTime?

The datetime when the record was created

statusCode int?

The status of the work order job

workOrder MaintenanceWorkOrder

The Work Order of the work order job

severityCode int?

The priority of the work order job

laborCosts double?

The labor costs of the work order job

hours int?

The hours spent on the work order job

partsCost double?

The parts costs of the work order job

vmrsSystemCode int?

The VMRS (Vehicle Maintenance Reporting Standards) system code of the work order job

serviceWorkAccomplishedCode int?

The service work accomplished for the work order job

description string

The description of the work order job

startDate DateTime?

The start date and time of the work order job

dateCompleted DateTime?

The completed date and time of the work order job

notes string

The notes for the work order job

costCurrency string

The Currency in which the cost values are recorded

source string

The source of the work order job

sourceDescription string

The source description of the work order job

triggeredDate DateTime?

The triggered date of the work order job

maintenanceType EventType

The maintenance type of the work order job

name string

The name.

odometerReading long?

The current odometer of the device.

engineHoursReading TimeSpan?

The current engine hours of the device.

metadata Dictionary<string, string>

The metadata of the work order job.

labels IList<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

Device

Device

EngineHoursReading

Gets or sets the current engine hours reading of the Device.

public TimeSpan? EngineHoursReading { get; set; }

Property Value

TimeSpan?

The current engine hours reading of the Device.

EngineHoursReadingInHours

Gets the current engine hours of the Device rounded to the nearest whole hour.

public int? EngineHoursReadingInHours { get; }

Property Value

int?

int

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

EventType

EventType

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

long?

The current odometer reading of the Device.

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

MaintenanceSchedule

MaintenanceSchedule

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

DateTime?

DateTime

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.