Class NcSpeedMeasureType
A data type for a measure of a speed or rate of motion.
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcSpeedMeasureType : NcMeasureType, IEquatable<NcMeasureType>, IEquatable<NcSpeedMeasureType>
Properties
Augmentation
Additional information about an nc:SpeedMeasure. NIEM reference is mo:SpeedMeasureAugmentation
Declaration
[DataMember(Name = "augmentation")]
public List<MoSpeedMeasureAugmentationType> Augmentation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<MoSpeedMeasureAugmentationType> | Additional information about an nc:SpeedMeasure. NIEM reference is mo:SpeedMeasureAugmentation |
Context
ncSpeedMeasureType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcSpeedMeasureType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcSpeedMeasureType.ContextEnum> | ncSpeedMeasureType JSON-LD context |
SpeedUnitCode
A unit of measurement of speed. NIEM reference is nc:SpeedUnitCode
Declaration
[DataMember(Name = "speedUnitCode")]
public List<UneceVelocityCodeType> SpeedUnitCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<UneceVelocityCodeType> | A unit of measurement of speed. NIEM reference is nc:SpeedUnitCode |
Methods
Equals(NcSpeedMeasureType)
Returns true if NcSpeedMeasureType instances are equal
Declaration
public bool Equals(NcSpeedMeasureType other)
Parameters
Type | Name | Description |
---|---|---|
NcSpeedMeasureType | other | Instance of NcSpeedMeasureType 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(NcSpeedMeasureType, NcSpeedMeasureType)
Declaration
public static bool operator ==(NcSpeedMeasureType left, NcSpeedMeasureType right)
Parameters
Type | Name | Description |
---|---|---|
NcSpeedMeasureType | left | |
NcSpeedMeasureType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcSpeedMeasureType, NcSpeedMeasureType)
Declaration
public static bool operator !=(NcSpeedMeasureType left, NcSpeedMeasureType right)
Parameters
Type | Name | Description |
---|---|---|
NcSpeedMeasureType | left | |
NcSpeedMeasureType | right |
Returns
Type | Description |
---|---|
System.Boolean |