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