Class Station
- Namespace
- Loehnert.TypeAndResult
- Assembly
- Loehnert.TypeAndResult.dll
Represents a (test bench) station.
[SuppressMessage("Design", "RCS1170", Justification = "Private setters are needed for entity framework")]
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
stationIdentifierstringIdentifier for the station.
Exceptions
- ArgumentNullException
Thrown when
stationIdentifieris 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
sourceStationSource object.
Exceptions
- ArgumentNullException
Thrown when
sourceis null.
Equals(Station)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Station other)
Parameters
otherStationAn 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.