mirror of
https://github.com/dotMorten/NmeaParser.git
synced 2026-04-21 06:13:58 +00:00
commit
d8cef4a3fc
6 changed files with 34 additions and 34 deletions
|
|
@ -18,7 +18,7 @@ using System.Globalization;
|
||||||
namespace NmeaParser.Nmea
|
namespace NmeaParser.Nmea
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Global Positioning System Fix Data
|
/// Global Positioning System Fix Data
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Gpgga")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Gpgga")]
|
||||||
[NmeaMessageType("--GGA")]
|
[NmeaMessageType("--GGA")]
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ using System;
|
||||||
namespace NmeaParser.Nmea
|
namespace NmeaParser.Nmea
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Geographic position, latitude / longitude
|
/// Geographic position, latitude / longitude
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Gll")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Gll")]
|
||||||
[NmeaMessageType("--GLL")]
|
[NmeaMessageType("--GLL")]
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ using System.Globalization;
|
||||||
namespace NmeaParser.Nmea
|
namespace NmeaParser.Nmea
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Global Positioning System Fix Data
|
/// Global Positioning System DOP and active satellites
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Gsa")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Gsa")]
|
||||||
[NmeaMessageType("--GSA")]
|
[NmeaMessageType("--GSA")]
|
||||||
|
|
|
||||||
|
|
@ -11,16 +11,16 @@
|
||||||
// * See the License for the specific language governing permissions and
|
// * See the License for the specific language governing permissions and
|
||||||
// * limitations under the License.
|
// * limitations under the License.
|
||||||
// ******************************************************************************
|
// ******************************************************************************
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
|
|
||||||
namespace NmeaParser.Nmea
|
namespace NmeaParser.Nmea
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// GPS Satellites in view
|
/// GPS Satellites in view
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Gsv")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Gsv")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix")]
|
||||||
[NmeaMessageType("--GSV")]
|
[NmeaMessageType("--GSV")]
|
||||||
|
|
@ -51,40 +51,40 @@ namespace NmeaParser.Nmea
|
||||||
this.SVs = svs.ToArray();
|
this.SVs = svs.ToArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Total number of messages of this type in this cycle
|
/// Total number of messages of this type in this cycle
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int TotalMessages { get; }
|
public int TotalMessages { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Message number
|
/// Message number
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int MessageNumber { get; }
|
public int MessageNumber { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Total number of SVs in view
|
/// Total number of SVs in view
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int SVsInView { get; }
|
public int SVsInView { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Satellite vehicles in this message part.
|
/// Satellite vehicles in this message part.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public IReadOnlyList<SatelliteVehicle> SVs { get; }
|
public IReadOnlyList<SatelliteVehicle> SVs { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Returns an enumerator that iterates through the collection.
|
/// Returns an enumerator that iterates through the collection.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns> A System.Collections.Generic.IEnumerator{SatelliteVehicle} that can be used to iterate through the collection.</returns>
|
/// <returns> A System.Collections.Generic.IEnumerator{SatelliteVehicle} that can be used to iterate through the collection.</returns>
|
||||||
public IEnumerator<SatelliteVehicle> GetEnumerator()
|
public IEnumerator<SatelliteVehicle> GetEnumerator()
|
||||||
{
|
{
|
||||||
foreach (var sv in SVs)
|
foreach (var sv in SVs)
|
||||||
yield return sv;
|
yield return sv;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Returns an enumerator that iterates through a collection.
|
/// Returns an enumerator that iterates through a collection.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns> An System.Collections.IEnumerator object that can be used to iterate through the collection.</returns>
|
/// <returns> An System.Collections.IEnumerator object that can be used to iterate through the collection.</returns>
|
||||||
System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
|
System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
|
||||||
{
|
{
|
||||||
return GetEnumerator();
|
return GetEnumerator();
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ using System.Globalization;
|
||||||
namespace NmeaParser.Nmea
|
namespace NmeaParser.Nmea
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Recommended Minimum
|
/// Recommended Minimum
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Gprmc")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Gprmc")]
|
||||||
[NmeaMessageType("--RMC")]
|
[NmeaMessageType("--RMC")]
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ using System;
|
||||||
namespace NmeaParser.Nmea
|
namespace NmeaParser.Nmea
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Course over ground and ground speed
|
/// Course over ground and ground speed
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// The actual course and speed relative to the ground.
|
/// The actual course and speed relative to the ground.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue