Table of Contents

Class ChangeUnitNumbersResult

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

Status information about changing a unit's serial or model numbers.

[DataContract]
public class ChangeUnitNumbersResult
Inheritance
ChangeUnitNumbersResult
Inherited Members

Constructors

ChangeUnitNumbersResult(string, string, string, IEnumerable<ChangeUnitComponentChange>, UnitStation)

Initializes a new instance of the ChangeUnitNumbersResult class.

public ChangeUnitNumbersResult(string serialNumber, string modelNumber, string modelNumberAlias, IEnumerable<ChangeUnitComponentChange> componentChanges, UnitStation unitStationChanges)

Parameters

serialNumber string

The resulting unit serial number.

modelNumber string

The resulting unit model number.

modelNumberAlias string

The resulting unit model number alias.

componentChanges IEnumerable<ChangeUnitComponentChange>

The list of component changes that were recorded.

unitStationChanges UnitStation

The changes made at the unit station.

Exceptions

ArgumentNullException

serialNumber is null.

ArgumentNullException

modelNumber is null.

ArgumentNullException

modelNumberAlias is null.

ArgumentNullException

componentChanges is null.

ArgumentNullException

unitStationChanges is null.

Properties

ComponentChanges

Gets the list of component changes that were recorded due to component verification resulting in different outcomes with the new unit model number.

public IReadOnlyList<ChangeUnitComponentChange> ComponentChanges { get; }

Property Value

IReadOnlyList<ChangeUnitComponentChange>

ModelNumber

Gets the resulting unit model number.

[DataMember]
public string ModelNumber { get; }

Property Value

string

ModelNumberAlias

Gets the resulting unit model number alias.

[DataMember]
public string ModelNumberAlias { get; }

Property Value

string

SerialNumber

Gets the resulting unit serial number.

[DataMember]
public string SerialNumber { get; }

Property Value

string

UnitStationChanges

Gets the changes made at the unit station.

[DataMember]
public UnitStation UnitStationChanges { get; }

Property Value

UnitStation