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
stringIdentifier 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
Parameters
Gets the collection for additional parameters.
public virtual EntityCollection<StationParameter> Parameters { get; }
Property Value
StationIdentifier
Gets the station identifier.
public string StationIdentifier { get; }
Property Value
Methods
ApplyID(Station)
Copies the ID from source
to this object.
public void ApplyID(Station source)
Parameters
source
StationSource 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
StationAn 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.