Table of Contents

Class UnitDefectRepair

Namespace
Acuit.Pinpoint.Services.Entities
Assembly
Acuit.Pinpoint.Services.Entities.dll

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

unitDefectRepairId int

The unique identifier for this unit defect repair.

repairDateTime DateTime

The date/time when the repair was added, in UTC.

repair Repair

The repair.

unitDefect UnitDefect

The unit defect to which this repair applies.

unitStation UnitStation

The unit station at which this occurred.

Exceptions

ArgumentNullException

repair is null.

ArgumentNullException

unitDefect is null.

ArgumentNullException

unitStation is null.

Properties

Notes

Gets or sets additional notes about the repair.

[DataMember]
public string? Notes { get; set; }

Property Value

string

Repair

Gets the repair.

[DataMember]
public Repair Repair { get; }

Property Value

Repair

RepairDateTime

Gets the date/time when the repair was added, in UTC.

[DataMember]
public DateTime RepairDateTime { get; }

Property Value

DateTime

UnitDefect

Gets the unit defect to which this repair applies.

[DataMember]
public UnitDefect UnitDefect { get; }

Property Value

UnitDefect

UnitDefectRepairId

Gets the unique identifier for this unit defect repair.

[DataMember]
public int UnitDefectRepairId { get; }

Property Value

int

UnitStation

Gets the unit station at which this occurred.

[DataMember]
public UnitStation UnitStation { get; }

Property Value

UnitStation