Table of Contents

Class UnitComponent

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

A unit component.

[DataContract(IsReference = true)]
[KnownType(typeof(ComponentType))]
[KnownType(typeof(UnitStation))]
[KnownType(typeof(Override))]
public class UnitComponent : INotifyPropertyChanged
Inheritance
UnitComponent
Implements
Inherited Members

Properties

ComponentType

Gets or sets the component type.

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

Property Value

ComponentType

ComponentTypeHasBeenIncluded

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 ComponentTypeHasBeenIncluded { get; set; }

Property Value

bool

IsAlternate

Gets or sets whether this component was flagged as an alternate part.

[DataMember]
public bool IsAlternate { get; set; }

Property Value

bool

IsDeserializing

Gets or sets whether this object is currently being deserialized.

protected bool IsDeserializing { get; }

Property Value

bool

IsInstalled

Gets or sets whether this component is currently installed in the unit.

[DataMember]
public bool IsInstalled { get; set; }

Property Value

bool

IsValid

Gets or sets whether this component was determined to be valid when it was scanned.

[DataMember]
public bool IsValid { get; set; }

Property Value

bool

ModelNumber

Gets or sets the component model number.

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

Property Value

string

Override

Gets or sets the override for this component scan, if one exists.

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

Property Value

Override

OverrideHasBeenIncluded

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 OverrideHasBeenIncluded { get; set; }

Property Value

bool

ScanDateTime

Gets or sets the date/time that the component was scanned, in UTC.

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

Property Value

DateTime

SerialNumber

Gets or sets the component serial number.

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

Property Value

string

UnitComponentId

Gets or sets the unique identifier for this unit component.

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

Property Value

int

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