Class Station
Represents a (test bench) station.
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
Namespace: Loehnert.TypeAndResult
Assembly: Loehnert.TypeAndResult.dll
Syntax
public class Station : EntityBase, INotifyPropertyChanged, ITrackable, ICanApplyID<Station>, IEquatable<Station>
Constructors
Station(String)
Initializes a new instance of the Station class.
Declaration
public Station(string stationIdentifier)
Parameters
Type | Name | Description |
---|---|---|
String | stationIdentifier | Identifier for the station. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | Thrown when |
Properties
MeasureCycles
Gets the measure cycles.
Declaration
public virtual ICollection<MeasureCycle> MeasureCycles { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<MeasureCycle> |
Parameters
Gets the collection for additional parameters.
Declaration
public virtual EntityCollection<StationParameter> Parameters { get; }
Property Value
Type | Description |
---|---|
EntityCollection<StationParameter> |
StationIdentifier
Gets the station identifier.
Declaration
public string StationIdentifier { get; }
Property Value
Type | Description |
---|---|
String |
Methods
ApplyID(Station)
Copies the ID from source
to this object.
Declaration
public void ApplyID(Station source)
Parameters
Type | Name | Description |
---|---|---|
Station | source | Source object. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | Thrown when |
Equals(Station)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(Station other)
Parameters
Type | Name | Description |
---|---|---|
Station | other | An object to compare with this object. |
Returns
Type | Description |
---|---|
Boolean | true if the current object is equal to the other parameter; otherwise, false. |
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | A string that represents the current object. |
Overrides
System.Object.ToString()
Implements
System.ComponentModel.INotifyPropertyChanged