Class MaintenanceWorkOrder
- Namespace
- Geotab.Checkmate.ObjectModel.Maintenance
- Assembly
- Geotab.Checkmate.ObjectModel.dll
Maintenance Work Order for a particular device.
public class MaintenanceWorkOrder : Entity, IEntity, IComparable, IIdentifiable, IDeviceProvider, IDateTimeProvider
- Inheritance
-
MaintenanceWorkOrder
- Implements
- Inherited Members
Constructors
MaintenanceWorkOrder()
public MaintenanceWorkOrder()
MaintenanceWorkOrder(Id)
Initializes a new instance of the MaintenanceWorkOrder class.
public MaintenanceWorkOrder(Id id)
Parameters
id
IdThe id
MaintenanceWorkOrder(Id?, Device?, DateTime?, string?, DateTime?, MaintenancePriority?, string?, DateTime?, double?, double?, double?, double?, double?, string?, User?, Currency?, long?, TimeSpan?, DateTime?, Zone?, int?, int?, User?)
Initializes a new instance of the MaintenanceWorkOrder class.Constructor
public MaintenanceWorkOrder(Id? id, Device? device, DateTime? dateTime, string? orderId, DateTime? dueOnDate, MaintenancePriority? priority, string? status, DateTime? updateDateTime, double? totalCost, double? laborCost, double? partsCost, double? taxCost, double? shippingCost, string? notes, User? openedByUser, Currency? costCurrency, long? adjustedOdometer, TimeSpan? adjustedEngineHours, DateTime? closedDateTime, Zone? zone, int? reasonForRepair, int? repairClass, User? assignedTo)
Parameters
id
IdThe id
device
DeviceThe device of the work order
dateTime
DateTime?The datetime when the record was created
orderId
stringThe order identifier
dueOnDate
DateTime?The due date for the work order
priority
MaintenancePriority?The priority of the work order
status
stringthe status of the work order
updateDateTime
DateTime?The update dateTime of the work order
totalCost
double?The total cost of the work order
laborCost
double?The labor cost of the work order
partsCost
double?The parts cost of the work order
taxCost
double?The tax cost of the work order
shippingCost
double?The shipping cost of the work order
notes
stringThe notes of the work order
openedByUser
UserThe user that created the work order
costCurrency
Currency?The cost currency
adjustedOdometer
long?The adjusted odometer of the device
adjustedEngineHours
TimeSpan?The adjusted engine hours of the device
closedDateTime
DateTime?The datetime when the record was closed
zone
ZoneThe zone
reasonForRepair
int?The reason for repair of the work order
repairClass
int?The repair class of the work order
assignedTo
UserThe user assigned to the work order
Properties
AdjustedEngineHours
Gets or sets the adjusted engine hours of the Device.
public TimeSpan? AdjustedEngineHours { get; set; }
Property Value
AdjustedOdometer
Gets or sets the adjusted odometer of the Device.
public long? AdjustedOdometer { get; set; }
Property Value
AssignedTo
Gets or sets the User assigned to the MaintenanceWorkOrder.
public User? AssignedTo { get; set; }
Property Value
ClosedDateTime
Gets or sets the date the MaintenanceWorkOrder was closed.
public DateTime? ClosedDateTime { get; set; }
Property Value
CostCurrency
Gets or sets the currency cost for the MaintenanceWorkOrder.
public Currency? CostCurrency { get; set; }
Property Value
DateTime
Gets or sets the date the MaintenanceWorkOrder was created.
public DateTime? DateTime { get; set; }
Property Value
Device
Gets or sets the device of the MaintenanceWorkOrder.
public Device? Device { get; set; }
Property Value
DueOnDate
Gets or sets the date the MaintenanceWorkOrder is due.
public DateTime? DueOnDate { get; set; }
Property Value
JobCount
Gets or sets the number of MaintenanceWorkOrderJob(s) in the MaintenanceWorkOrder
public int? JobCount { get; set; }
Property Value
LaborCost
Gets or sets the labor cost of the MaintenanceWorkOrder.
public double? LaborCost { get; set; }
Property Value
MediaFiles
Gets or sets the list of MediaFile of the MaintenanceWorkOrder.
public List<MediaFile> MediaFiles { get; set; }
Property Value
Notes
Gets or sets the notes of the MaintenanceWorkOrder.
public string? Notes { get; set; }
Property Value
OpenedByUser
Gets or sets the User that opened the MaintenanceWorkOrder.
public User? OpenedByUser { get; set; }
Property Value
OrderId
Gets or sets the identifier of the order.
public string? OrderId { get; set; }
Property Value
PartsCost
Gets or sets the parts cost of the MaintenanceWorkOrder.
public double? PartsCost { get; set; }
Property Value
Priority
Gets or sets the priority of the MaintenanceWorkOrder.
public MaintenancePriority? Priority { get; set; }
Property Value
ReasonForRepair
Gets or sets the Reason For Repair of the MaintenanceWorkOrder.
public int? ReasonForRepair { get; set; }
Property Value
RepairClass
Gets or sets the "Repair Class of the MaintenanceWorkOrder.
public int? RepairClass { get; set; }
Property Value
ShippingCost
Gets or sets the shipping cost of the MaintenanceWorkOrder.
public double? ShippingCost { get; set; }
Property Value
Status
Gets or sets the status of the MaintenanceWorkOrder. Possible values case insensitive: {Open, Scheduled, InProgress, OnHold, Completed, Closed}.
public string? Status { get; set; }
Property Value
TaxCost
Gets or sets the tax cost of the MaintenanceWorkOrder.
public double? TaxCost { get; set; }
Property Value
TimeOpen
Gets or sets the period during which the MaintenanceWorkOrder was open.
public TimeSpan? TimeOpen { get; set; }
Property Value
TotalCost
Gets or sets the total cost of the MaintenanceWorkOrder.
public double? TotalCost { get; set; }
Property Value
UpdateDateTime
Gets or sets the update date of the MaintenanceWorkOrder.
public DateTime? UpdateDateTime { get; set; }
Property Value
Zone
Gets or sets the Zone of the MaintenanceWorkOrder.
public Zone? Zone { 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.