Table of Contents

Class ComponentStatus

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

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

unitComponent UnitComponent

The component information.

unitStationChanges UnitStation

The changes made at the unit station.

Exceptions

ArgumentNullException

unitComponent is null.

ArgumentNullException

unitStationChanges is 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

string

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

UnitComponent

UnitStationChanges

Gets the changes made at the unit station.

[DataMember]
public UnitStation UnitStationChanges { get; }

Property Value

UnitStation