Class NcMeasureType
A data type for a measurement.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcMeasureType : IEquatable<NcMeasureType>
Properties
Comment
A comment regarding the measurement value and/or its error estimate. NIEM reference is nc:MeasureCommentText
Declaration
[DataMember(Name = "comment")]
public List<NcTextType> Comment { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A comment regarding the measurement value and/or its error estimate. NIEM reference is nc:MeasureCommentText |
Context
ncMeasureType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcMeasureType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcMeasureType.ContextEnum> | ncMeasureType JSON-LD context |
Date
A date a measurement was made. NIEM reference is nc:MeasureDate
Declaration
[DataMember(Name = "date")]
public List<NcDateType> Date { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDateType> | A date a measurement was made. NIEM reference is nc:MeasureDate |
DecimalRange
A decimal measurement range. NIEM reference is nc:MeasureDecimalRange
Declaration
[DataMember(Name = "decimalRange")]
public List<NcDecimalRangeType> DecimalRange { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDecimalRangeType> | A decimal measurement range. NIEM reference is nc:MeasureDecimalRange |
DecimalValue
A decimal measurement value. NIEM reference is nc:MeasureDecimalValue
Declaration
[DataMember(Name = "decimalValue")]
public List<NiemXsdecimal> DecimalValue { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsdecimal> | A decimal measurement value. NIEM reference is nc:MeasureDecimalValue |
DecimalValueList
A list of decimal measurement values, all using the same measurement method/device and of the same units. NIEM reference is nc:MeasureDecimalValueList
Declaration
[DataMember(Name = "decimalValueList")]
public List<string> DecimalValueList { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> | A list of decimal measurement values, all using the same measurement method/device and of the same units. NIEM reference is nc:MeasureDecimalValueList |
DoubleRange
A double measurement range. NIEM reference is nc:MeasureDoubleRange
Declaration
[DataMember(Name = "doubleRange")]
public List<NcDoubleRangeType> DoubleRange { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDoubleRangeType> | A double measurement range. NIEM reference is nc:MeasureDoubleRange |
DoubleValue
A double measurement value. NIEM reference is nc:MeasureDoubleValue
Declaration
[DataMember(Name = "doubleValue")]
public List<NiemXsdouble> DoubleValue { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsdouble> | A double measurement value. NIEM reference is nc:MeasureDoubleValue |
DoubleValueList
A list of double measurement values, all using the same measurement method/device and of the same units. NIEM reference is nc:MeasureDoubleValueList
Declaration
[DataMember(Name = "doubleValueList")]
public List<string> DoubleValueList { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> | A list of double measurement values, all using the same measurement method/device and of the same units. NIEM reference is nc:MeasureDoubleValueList |
Error
A textual description of the error in a measurement value. NIEM reference is nc:MeasureErrorText
Declaration
[DataMember(Name = "error")]
public List<NcTextType> Error { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A textual description of the error in a measurement value. NIEM reference is nc:MeasureErrorText |
ErrorValue
A calculated estimate of the error in a measurement value. NIEM reference is nc:MeasureErrorValue
Declaration
[DataMember(Name = "errorValue")]
public List<NiemXsdecimal> ErrorValue { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsdecimal> | A calculated estimate of the error in a measurement value. NIEM reference is nc:MeasureErrorValue |
IntegerRange
An integer measurement range. NIEM reference is nc:MeasureIntegerRange
Declaration
[DataMember(Name = "integerRange")]
public List<NcIntegerRangeType> IntegerRange { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcIntegerRangeType> | An integer measurement range. NIEM reference is nc:MeasureIntegerRange |
IntegerValue
An integer measurement value. NIEM reference is nc:MeasureIntegerValue
Declaration
[DataMember(Name = "integerValue")]
public List<NiemXsinteger> IntegerValue { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsinteger> | An integer measurement value. NIEM reference is nc:MeasureIntegerValue |
IntegerValueList
A list of integer measurement values, all using the same measurement method/device and of the same units. NIEM reference is nc:MeasureIntegerValueList
Declaration
[DataMember(Name = "integerValueList")]
public List<string> IntegerValueList { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> | A list of integer measurement values, all using the same measurement method/device and of the same units. NIEM reference is nc:MeasureIntegerValueList |
IsEstimated
True if a measurement has been guessed, or estimated without use of a measuring device or analytical method; false otherwise. NIEM reference is nc:MeasureEstimatedIndicator
Declaration
[DataMember(Name = "isEstimated")]
public List<NiemXsboolean> IsEstimated { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if a measurement has been guessed, or estimated without use of a measuring device or analytical method; false otherwise. NIEM reference is nc:MeasureEstimatedIndicator |
Measurer
A person or organization who makes a measurement. NIEM reference is nc:Measurer
Declaration
[DataMember(Name = "measurer")]
public List<NcEntityType> Measurer { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcEntityType> | A person or organization who makes a measurement. NIEM reference is nc:Measurer |
Method
A method used to make a measurement. NIEM reference is nc:MeasureMethodText
Declaration
[DataMember(Name = "method")]
public List<NcTextType> Method { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A method used to make a measurement. NIEM reference is nc:MeasureMethodText |
Quality
A textual description of the quality of a measurement value. NIEM reference is nc:MeasureQualityText
Declaration
[DataMember(Name = "quality")]
public List<NcTextType> Quality { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A textual description of the quality of a measurement value. NIEM reference is nc:MeasureQualityText |
TextList
A list of measurement values , all using the same measurement method/device and of the same units. NIEM reference is nc:MeasureTextList
Declaration
[DataMember(Name = "textList")]
public List<string> TextList { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> | A list of measurement values , all using the same measurement method/device and of the same units. NIEM reference is nc:MeasureTextList |
Unit
A unit that qualifies the measurement value. NIEM reference is nc:MeasureUnitText
Declaration
[DataMember(Name = "unit")]
public List<NcTextType> Unit { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A unit that qualifies the measurement value. NIEM reference is nc:MeasureUnitText |
UnsignedIntegerRange
An unsigned integer measurement range. NIEM reference is nc:MeasureUnsignedIntegerRange
Declaration
[DataMember(Name = "unsignedIntegerRange")]
public List<NcUnsignedIntegerRangeType> UnsignedIntegerRange { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcUnsignedIntegerRangeType> | An unsigned integer measurement range. NIEM reference is nc:MeasureUnsignedIntegerRange |
UnsignedIntegerValue
An unsigned integer measurement value. NIEM reference is nc:MeasureUnsignedIntegerValue
Declaration
[DataMember(Name = "unsignedIntegerValue")]
public List<NiemXsunsignedInt> UnsignedIntegerValue { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsunsignedInt> | An unsigned integer measurement value. NIEM reference is nc:MeasureUnsignedIntegerValue |
Value
A textual description of a measurement value. NIEM reference is nc:MeasureValueText
Declaration
[DataMember(Name = "value")]
public List<NcTextType> Value { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A textual description of a measurement value. NIEM reference is nc:MeasureValueText |
Methods
Equals(NcMeasureType)
Returns true if NcMeasureType instances are equal
Declaration
public bool Equals(NcMeasureType other)
Parameters
Type | Name | Description |
---|---|---|
NcMeasureType | other | Instance of NcMeasureType to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | Object to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Overrides
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
Overrides
ToJson()
Returns the JSON string presentation of the object
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
System.String | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String presentation of the object |
Overrides
Operators
Equality(NcMeasureType, NcMeasureType)
Declaration
public static bool operator ==(NcMeasureType left, NcMeasureType right)
Parameters
Type | Name | Description |
---|---|---|
NcMeasureType | left | |
NcMeasureType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcMeasureType, NcMeasureType)
Declaration
public static bool operator !=(NcMeasureType left, NcMeasureType right)
Parameters
Type | Name | Description |
---|---|---|
NcMeasureType | left | |
NcMeasureType | right |
Returns
Type | Description |
---|---|
System.Boolean |