Table of Contents

Class MeasurementType

Namespace
Loehnert.TypeAndResult
Assembly
Loehnert.TypeAndResult.dll

Represents a measure type.

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

Constructors

MeasurementType(int, string)

Initializes a new instance of the MeasurementType class.

public MeasurementType(int typeId, string key)

Parameters

typeId int

Type id (greater or equal 100 is for quality measure types).

key string

Key.

Properties

Commissioning

Gets the measure type for commissioning.

public static MeasurementType Commissioning { get; }

Property Value

MeasurementType

ContactingDummy

Gets the measure type for contact dummy measurement.

public static MeasurementType ContactingDummy { get; }

Property Value

MeasurementType

ContactingTest

Gets the measure type for contact testing.

public static MeasurementType ContactingTest { get; }

Property Value

MeasurementType

Dummy

Gets the measure type for dummy measurement.

public static MeasurementType Dummy { get; }

Property Value

MeasurementType

FirstRemeasurement

Gets the production measure type for first remeasurement.

public static MeasurementType FirstRemeasurement { get; }

Property Value

MeasurementType

GoldenSample

Gets the measure type for golden sample measurement.

public static MeasurementType GoldenSample { get; }

Property Value

MeasurementType

Key

Gets a unique key of the measure type.

public string Key { get; }

Property Value

string

MasterPart

Gets the measure type for master part measurement.

public static MeasurementType MasterPart { get; }

Property Value

MeasurementType

MeasurementSystemAnalysis

Gets the measure type for measurement system analysis (MSA).

public static MeasurementType MeasurementSystemAnalysis { get; }

Property Value

MeasurementType

Production

Gets the production measure type. Use this for normal production.

public static MeasurementType Production { get; }

Property Value

MeasurementType

TypeId

Gets the id of the measure type (greater or equal 100 is for quality measure types).

public int TypeId { get; }

Property Value

int

Undefined

Gets a undefined measure type. Do not use it for new MeasureCycles.

public static MeasurementType Undefined { get; }

Property Value

MeasurementType

Methods

ApplyID(MeasurementType)

Copies the ID from source to this object.

public void ApplyID(MeasurementType source)

Parameters

source MeasurementType

Source object.

Equals(MeasurementType)

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

public bool Equals(MeasurementType other)

Parameters

other MeasurementType

An object to compare with this object.

Returns

bool

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