Table of Contents

Class UnitDefect

Namespace
Acuit.Pinpoint.Client2
Assembly
Acuit.Pinpoint.Client2.dll

A unit defect.

[DataContract(IsReference = true)]
[KnownType(typeof(Defect))]
[KnownType(typeof(UnitDefectRepair))]
[KnownType(typeof(UnitStation))]
public class UnitDefect : INotifyPropertyChanged
Inheritance
UnitDefect
Implements
Inherited Members

Properties

Defect

Gets or sets the defect.

[DataMember]
public Defect Defect { get; set; }

Property Value

Defect

DefectDateTime

Gets or sets the date/time when the defect was added, in UTC.

[DataMember]
public DateTime DefectDateTime { get; set; }

Property Value

DateTime

DefectHasBeenIncluded

Gets or sets whether a navigation property has been included yet while getting an entity graph for a data model (to prevent doing so more than once).

public bool DefectHasBeenIncluded { get; set; }

Property Value

bool

IsDeserializing

Gets or sets whether this object is currently being deserialized.

protected bool IsDeserializing { get; }

Property Value

bool

Notes

Gets or sets additional notes about the defect.

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

Property Value

string

UnitDefectId

Gets or sets the unique identifier for this unit defect.

[DataMember]
public int UnitDefectId { get; set; }

Property Value

int

UnitDefectRepairs

Gets or sets the list of repairs for this defect.

[DataMember]
public TrackableCollection<UnitDefectRepair> UnitDefectRepairs { get; set; }

Property Value

TrackableCollection<UnitDefectRepair>

UnitStation

Gets or sets the unit station at which this occurred.

[DataMember]
public UnitStation UnitStation { get; set; }

Property Value

UnitStation

UnitStationHasBeenIncluded

Gets or sets whether a navigation property has been included yet while getting an entity graph for a data model (to prevent doing so more than once).

public bool UnitStationHasBeenIncluded { get; set; }

Property Value

bool

Methods

OnPropertyChanged(string)

Processes property changes by raising the PropertyChanged event.

protected virtual void OnPropertyChanged(string propertyName)

Parameters

propertyName string

The name of the property that changed.

Events

PropertyChanged

Occurs when a property value changes.

public event PropertyChangedEventHandler PropertyChanged

Event Type

PropertyChangedEventHandler