Class ComponentStatus
Status information about a component scan.
[DataContract]
public class ComponentStatus
- Inheritance
-
ComponentStatus
- Inherited Members
Constructors
ComponentStatus(UnitComponent, UnitStation)
Initializes a new instance of the ComponentStatus class.
public ComponentStatus(UnitComponent unitComponent, UnitStation unitStationChanges)
Parameters
unitComponentUnitComponentThe component information.
unitStationChangesUnitStationThe changes made at the unit station.
Exceptions
- ArgumentNullException
unitComponentis null.- ArgumentNullException
unitStationChangesis null.
Properties
ReasonInvalid
Gets or sets the optional reason that the component is invalid, if it is invalid.
[DataMember]
public string? ReasonInvalid { get; set; }
Property Value
Remarks
This is only used when the "allowInvalid" setting is not set for the line. When the "allowInvalid" setting is set, a business logic exception will occur for invalid component scans.
UnitComponent
Gets the component information.
[DataMember]
public UnitComponent UnitComponent { get; }
Property Value
UnitStationChanges
Gets the changes made at the unit station.
[DataMember]
public UnitStation UnitStationChanges { get; }