Class MeasurementType
Represents a measure type.
Implements
Inherited Members
Namespace: Loehnert.TypeAndResult
Assembly: Loehnert.TypeAndResult.dll
Syntax
public class MeasurementType : EntityBase, INotifyPropertyChanged, ITrackable, IHasKey, IEquatable<MeasurementType>, ICanApplyID<MeasurementType>
Constructors
MeasurementType(Int32, String)
Initializes a new instance of the MeasurementType class.
Declaration
public MeasurementType(int typeId, string key)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | typeId | Type id (greater or equal 100 is for quality measure types). |
String | key | Key. |
Properties
Commissioning
Gets the measure type for commissioning.
Declaration
public static MeasurementType Commissioning { get; }
Property Value
Type | Description |
---|---|
MeasurementType |
ContactingDummy
Gets the measure type for contact dummy measurement.
Declaration
public static MeasurementType ContactingDummy { get; }
Property Value
Type | Description |
---|---|
MeasurementType |
ContactingTest
Gets the measure type for contact testing.
Declaration
public static MeasurementType ContactingTest { get; }
Property Value
Type | Description |
---|---|
MeasurementType |
Dummy
Gets the measure type for dummy measurement.
Declaration
public static MeasurementType Dummy { get; }
Property Value
Type | Description |
---|---|
MeasurementType |
FirstRemeasurement
Gets the production measure type for first remeasurement.
Declaration
public static MeasurementType FirstRemeasurement { get; }
Property Value
Type | Description |
---|---|
MeasurementType |
GoldenSample
Gets the measure type for golden sample measurement.
Declaration
public static MeasurementType GoldenSample { get; }
Property Value
Type | Description |
---|---|
MeasurementType |
Key
Gets a unique key of the measure type.
Declaration
public string Key { get; }
Property Value
Type | Description |
---|---|
String |
MasterPart
Gets the measure type for master part measurement.
Declaration
public static MeasurementType MasterPart { get; }
Property Value
Type | Description |
---|---|
MeasurementType |
MeasurementSystemAnalysis
Gets the measure type for measurement system analysis (MSA).
Declaration
public static MeasurementType MeasurementSystemAnalysis { get; }
Property Value
Type | Description |
---|---|
MeasurementType |
Production
Gets the production measure type. Use this for normal production.
Declaration
public static MeasurementType Production { get; }
Property Value
Type | Description |
---|---|
MeasurementType |
TypeId
Gets the id of the measure type (greater or equal 100 is for quality measure types).
Declaration
public int TypeId { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Undefined
Gets a undefined measure type. Do not use it for new MeasureCycles.
Declaration
public static MeasurementType Undefined { get; }
Property Value
Type | Description |
---|---|
MeasurementType |
Methods
ApplyID(MeasurementType)
Copies the ID from source
to this object.
Declaration
public void ApplyID(MeasurementType source)
Parameters
Type | Name | Description |
---|---|---|
MeasurementType | source | Source object. |
Equals(MeasurementType)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(MeasurementType other)
Parameters
Type | Name | Description |
---|---|---|
MeasurementType | other | An object to compare with this object. |
Returns
Type | Description |
---|---|
Boolean | true if the current object is equal to the |