Class UnitDefectRepair
A repair for a unit defect.
[DataContract(IsReference = true)]
[KnownType(typeof(Repair))]
[KnownType(typeof(UnitDefect))]
[KnownType(typeof(UnitStation))]
public class UnitDefectRepair
- Inheritance
-
UnitDefectRepair
- Inherited Members
Constructors
UnitDefectRepair(int, DateTime, Repair, UnitDefect, UnitStation)
Initializes a new instance of the UnitDefectRepair class.
public UnitDefectRepair(int unitDefectRepairId, DateTime repairDateTime, Repair repair, UnitDefect unitDefect, UnitStation unitStation)
Parameters
unitDefectRepairIdintThe unique identifier for this unit defect repair.
repairDateTimeDateTimeThe date/time when the repair was added, in UTC.
repairRepairThe repair.
unitDefectUnitDefectThe unit defect to which this repair applies.
unitStationUnitStationThe unit station at which this occurred.
Exceptions
- ArgumentNullException
repairis null.- ArgumentNullException
unitDefectis null.- ArgumentNullException
unitStationis null.
Properties
Notes
Gets or sets additional notes about the repair.
[DataMember]
public string? Notes { get; set; }
Property Value
Repair
Gets the repair.
[DataMember]
public Repair Repair { get; }
Property Value
RepairDateTime
Gets the date/time when the repair was added, in UTC.
[DataMember]
public DateTime RepairDateTime { get; }
Property Value
UnitDefect
Gets the unit defect to which this repair applies.
[DataMember]
public UnitDefect UnitDefect { get; }
Property Value
UnitDefectRepairId
Gets the unique identifier for this unit defect repair.
[DataMember]
public int UnitDefectRepairId { get; }
Property Value
UnitStation
Gets the unit station at which this occurred.
[DataMember]
public UnitStation UnitStation { get; }