Class MLocationOnVesselType
A data type for a location on a vessel.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class MLocationOnVesselType : IEquatable<MLocationOnVesselType>
Properties
Context
mLocationOnVesselType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public MLocationOnVesselType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<MLocationOnVesselType.ContextEnum> | mLocationOnVesselType JSON-LD context |
Deck
A location on a vessel specified by deck. NIEM reference is m:LocationOnVesselDeckText
Declaration
[DataMember(Name = "deck")]
public List<NcTextType> Deck { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A location on a vessel specified by deck. NIEM reference is m:LocationOnVesselDeckText |
Description
A description of a location on a vessel. NIEM reference is m:LocationOnVesselDescriptionText
Declaration
[DataMember(Name = "description")]
public List<NcTextType> Description { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of a location on a vessel. NIEM reference is m:LocationOnVesselDescriptionText |
DistanceFromBowMeasure
A measure of distance from a location on a vessel to its bow. NIEM reference is m:LocationOnVesselDistanceFromBowMeasure
Declaration
[DataMember(Name = "distanceFromBowMeasure")]
public List<NcLengthMeasureType> DistanceFromBowMeasure { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcLengthMeasureType> | A measure of distance from a location on a vessel to its bow. NIEM reference is m:LocationOnVesselDistanceFromBowMeasure |
DistanceFromPortMeasure
A measure of distance from a location on a vessel to its port side. NIEM reference is m:LocationOnVesselDistanceFromPortMeasure
Declaration
[DataMember(Name = "distanceFromPortMeasure")]
public List<NcLengthMeasureType> DistanceFromPortMeasure { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcLengthMeasureType> | A measure of distance from a location on a vessel to its port side. NIEM reference is m:LocationOnVesselDistanceFromPortMeasure |
DistanceFromStarboardMeasure
A measure of distance from a location on a vessel to its starboard side. NIEM reference is m:LocationOnVesselDistanceFromStarboardMeasure
Declaration
[DataMember(Name = "distanceFromStarboardMeasure")]
public List<NcLengthMeasureType> DistanceFromStarboardMeasure { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcLengthMeasureType> | A measure of distance from a location on a vessel to its starboard side. NIEM reference is m:LocationOnVesselDistanceFromStarboardMeasure |
DistanceFromSternMeasure
A measure of distance from a location on a vessel to its stern. NIEM reference is m:LocationOnVesselDistanceFromSternMeasure
Declaration
[DataMember(Name = "distanceFromSternMeasure")]
public List<NcLengthMeasureType> DistanceFromSternMeasure { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcLengthMeasureType> | A measure of distance from a location on a vessel to its stern. NIEM reference is m:LocationOnVesselDistanceFromSternMeasure |
ElevationMeasure
A measure of the elevation above or below the waterline of a vessel. A positive value implies a location above the waterline and a negative value implies a location below the waterline. NIEM reference is m:LocationOnVesselElevationMeasure
Declaration
[DataMember(Name = "elevationMeasure")]
public List<NcLengthMeasureType> ElevationMeasure { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcLengthMeasureType> | A measure of the elevation above or below the waterline of a vessel. A positive value implies a location above the waterline and a negative value implies a location below the waterline. NIEM reference is m:LocationOnVesselElevationMeasure |
Methods
Equals(MLocationOnVesselType)
Returns true if MLocationOnVesselType instances are equal
Declaration
public bool Equals(MLocationOnVesselType other)
Parameters
Type | Name | Description |
---|---|---|
MLocationOnVesselType | other | Instance of MLocationOnVesselType 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(MLocationOnVesselType, MLocationOnVesselType)
Declaration
public static bool operator ==(MLocationOnVesselType left, MLocationOnVesselType right)
Parameters
Type | Name | Description |
---|---|---|
MLocationOnVesselType | left | |
MLocationOnVesselType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(MLocationOnVesselType, MLocationOnVesselType)
Declaration
public static bool operator !=(MLocationOnVesselType left, MLocationOnVesselType right)
Parameters
Type | Name | Description |
---|---|---|
MLocationOnVesselType | left | |
MLocationOnVesselType | right |
Returns
Type | Description |
---|---|
System.Boolean |