Table of Contents

Class Station

Namespace
Loehnert.TypeAndResult
Assembly
Loehnert.TypeAndResult.dll

Represents a (test bench) station.

public class Station : EntityBase, INotifyPropertyChanged, ITrackable, ICanApplyID<Station>, IEquatable<Station>
Inheritance
Station
Implements
Inherited Members
Extension Methods

Constructors

Station(string)

Initializes a new instance of the Station class.

public Station(string stationIdentifier)

Parameters

stationIdentifier string

Identifier for the station.

Exceptions

ArgumentNullException

Thrown when stationIdentifier is null or empty.

Properties

MeasureCycles

Gets the measure cycles.

public virtual ICollection<MeasureCycle> MeasureCycles { get; }

Property Value

ICollection<MeasureCycle>

Parameters

Gets the collection for additional parameters.

public virtual EntityCollection<StationParameter> Parameters { get; }

Property Value

EntityCollection<StationParameter>

StationIdentifier

Gets the station identifier.

public string StationIdentifier { get; }

Property Value

string

Methods

ApplyID(Station)

Copies the ID from source to this object.

public void ApplyID(Station source)

Parameters

source Station

Source object.

Exceptions

ArgumentNullException

Thrown when source is null.

Equals(Station)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(Station other)

Parameters

other Station

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.