Class UnitComponent
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
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
IsAlternate
Gets or sets whether this component was flagged as an alternate part.
[DataMember]
public bool IsAlternate { get; set; }
Property Value
IsDeserializing
Gets or sets whether this object is currently being deserialized.
protected bool IsDeserializing { get; }
Property Value
IsInstalled
Gets or sets whether this component is currently installed in the unit.
[DataMember]
public bool IsInstalled { get; set; }
Property Value
IsValid
Gets or sets whether this component was determined to be valid when it was scanned.
[DataMember]
public bool IsValid { get; set; }
Property Value
ModelNumber
Gets or sets the component model number.
[DataMember]
public string ModelNumber { get; set; }
Property Value
Override
Gets or sets the override for this component scan, if one exists.
[DataMember]
public Override Override { get; set; }
Property Value
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
ScanDateTime
Gets or sets the date/time that the component was scanned, in UTC.
[DataMember]
public DateTime ScanDateTime { get; set; }
Property Value
SerialNumber
Gets or sets the component serial number.
[DataMember]
public string SerialNumber { get; set; }
Property Value
UnitComponentId
Gets or sets the unique identifier for this unit component.
[DataMember]
public int UnitComponentId { get; set; }
Property Value
UnitStation
Gets or sets the unit station at which this occurred.
[DataMember]
public UnitStation UnitStation { get; set; }
Property Value
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
Methods
OnPropertyChanged(string)
Processes property changes by raising the PropertyChanged event.
protected virtual void OnPropertyChanged(string propertyName)
Parameters
propertyName
stringThe name of the property that changed.
Events
PropertyChanged
Occurs when a property value changes.
public event PropertyChangedEventHandler PropertyChanged