mirror of
https://github.com/dotMorten/NmeaParser.git
synced 2025-12-31 22:00:15 +01:00
Cleanup namespaces
This commit is contained in:
parent
f2f66b5aee
commit
c06c1e2568
|
|
@ -13,11 +13,7 @@
|
|||
// ******************************************************************************
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace NmeaParser.Nmea
|
||||
{
|
||||
|
|
|
|||
|
|
@ -13,18 +13,13 @@
|
|||
// ******************************************************************************
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace NmeaParser.Nmea.Garmin
|
||||
{
|
||||
/// <summary>
|
||||
/// Recommended Minimum
|
||||
/// </summary>
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Pgrme")]
|
||||
/// <summary>
|
||||
/// Recommended Minimum
|
||||
/// </summary>
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Pgrme")]
|
||||
[NmeaMessageType("PGRME")]
|
||||
public class Pgrme : NmeaMessage
|
||||
{
|
||||
|
|
|
|||
|
|
@ -13,11 +13,7 @@
|
|||
// ******************************************************************************
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace NmeaParser.Nmea.Gps.Garmin
|
||||
{
|
||||
|
|
|
|||
|
|
@ -13,18 +13,14 @@
|
|||
// ******************************************************************************
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace NmeaParser.Nmea
|
||||
{
|
||||
/// <summary>
|
||||
/// Global Positioning System Fix Data
|
||||
/// </summary>
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Gpgga")]
|
||||
/// <summary>
|
||||
/// Global Positioning System Fix Data
|
||||
/// </summary>
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Gpgga")]
|
||||
[NmeaMessageType("--GGA")]
|
||||
public class Gga : NmeaMessage
|
||||
{
|
||||
|
|
|
|||
|
|
@ -13,18 +13,13 @@
|
|||
// ******************************************************************************
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace NmeaParser.Nmea
|
||||
{
|
||||
/// <summary>
|
||||
/// Geographic position, latitude / longitude
|
||||
/// </summary>
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Gll")]
|
||||
/// <summary>
|
||||
/// Geographic position, latitude / longitude
|
||||
/// </summary>
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Gll")]
|
||||
[NmeaMessageType("--GLL")]
|
||||
public class Gll : NmeaMessage
|
||||
{
|
||||
|
|
|
|||
|
|
@ -13,11 +13,8 @@
|
|||
// ******************************************************************************
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace NmeaParser.Nmea
|
||||
{
|
||||
|
|
|
|||
|
|
@ -15,9 +15,6 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace NmeaParser.Nmea
|
||||
{
|
||||
|
|
|
|||
|
|
@ -13,11 +13,6 @@
|
|||
// ******************************************************************************
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace NmeaParser.Nmea
|
||||
{
|
||||
|
|
|
|||
|
|
@ -12,13 +12,9 @@
|
|||
// * limitations under the License.
|
||||
// ******************************************************************************
|
||||
|
||||
using NmeaParser.Nmea.Gps;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace NmeaParser.Nmea
|
||||
{
|
||||
|
|
|
|||
|
|
@ -12,20 +12,15 @@
|
|||
// * limitations under the License.
|
||||
// ******************************************************************************
|
||||
|
||||
using NmeaParser.Nmea;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace NmeaParser.Nmea.LaserRange
|
||||
{
|
||||
/// <summary>
|
||||
/// Laser Range Measurement
|
||||
/// </summary>
|
||||
public abstract class LaserRangeMessage : NmeaMessage
|
||||
/// <summary>
|
||||
/// Laser Range Measurement
|
||||
/// </summary>
|
||||
public abstract class LaserRangeMessage : NmeaMessage
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="LaserRangeMessage"/> class.
|
||||
|
|
|
|||
|
|
@ -12,19 +12,12 @@
|
|||
// * limitations under the License.
|
||||
// ******************************************************************************
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace NmeaParser.Nmea.LaserRange.LaserTech
|
||||
{
|
||||
/// <summary>
|
||||
/// Laser Range
|
||||
/// </summary>
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Pltit")]
|
||||
/// <summary>
|
||||
/// Laser Range
|
||||
/// </summary>
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Pltit")]
|
||||
[NmeaMessageType("PLTIT")]
|
||||
public class Pltit : LaserRangeMessage
|
||||
{
|
||||
|
|
|
|||
|
|
@ -12,19 +12,12 @@
|
|||
// * limitations under the License.
|
||||
// ******************************************************************************
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace NmeaParser.Nmea.LaserRange.Trimble
|
||||
{
|
||||
/// <summary>
|
||||
/// Burden finder
|
||||
/// </summary>
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Ptnla")]
|
||||
/// <summary>
|
||||
/// Burden finder
|
||||
/// </summary>
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Ptnla")]
|
||||
[NmeaMessageType("PTNLA")]
|
||||
public class Ptnla : LaserRangeMessage
|
||||
{
|
||||
|
|
|
|||
|
|
@ -13,11 +13,7 @@
|
|||
// ******************************************************************************
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace NmeaParser.Nmea.LaserRange.Trimble
|
||||
{
|
||||
|
|
|
|||
|
|
@ -17,15 +17,13 @@ using System.Collections.Generic;
|
|||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace NmeaParser.Nmea
|
||||
{
|
||||
/// <summary>
|
||||
/// Nmea message attribute type used on concrete <see cref="NmeaMessage"/> implementations.
|
||||
/// </summary>
|
||||
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
|
||||
/// <summary>
|
||||
/// Nmea message attribute type used on concrete <see cref="NmeaMessage"/> implementations.
|
||||
/// </summary>
|
||||
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
|
||||
public sealed class NmeaMessageTypeAttribute : Attribute
|
||||
{
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -13,13 +13,9 @@
|
|||
// ******************************************************************************
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace NmeaParser.Nmea.Gps
|
||||
namespace NmeaParser.Nmea
|
||||
{
|
||||
/// <summary>
|
||||
/// Recommended minimum navigation information
|
||||
|
|
|
|||
|
|
@ -13,18 +13,14 @@
|
|||
// ******************************************************************************
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace NmeaParser.Nmea
|
||||
{
|
||||
/// <summary>
|
||||
/// Recommended Minimum
|
||||
/// </summary>
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Gprmc")]
|
||||
/// <summary>
|
||||
/// Recommended Minimum
|
||||
/// </summary>
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Gprmc")]
|
||||
[NmeaMessageType("--RMC")]
|
||||
public class Rmc : NmeaMessage
|
||||
{
|
||||
|
|
|
|||
|
|
@ -16,10 +16,8 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace NmeaParser.Nmea.Gps
|
||||
namespace NmeaParser.Nmea
|
||||
{
|
||||
/// <summary>
|
||||
/// Routes
|
||||
|
|
|
|||
|
|
@ -12,18 +12,14 @@
|
|||
// * limitations under the License.
|
||||
// ******************************************************************************
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace NmeaParser.Nmea
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents an unknown message type
|
||||
/// </summary>
|
||||
public class UnknownMessage : NmeaMessage
|
||||
/// <summary>
|
||||
/// Represents an unknown message type
|
||||
/// </summary>
|
||||
public class UnknownMessage : NmeaMessage
|
||||
{
|
||||
internal UnknownMessage(string type, string[] messageParts) : base(type, messageParts) { }
|
||||
|
||||
|
|
|
|||
|
|
@ -13,10 +13,8 @@
|
|||
// ******************************************************************************
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace NmeaParser.Nmea.Gps
|
||||
namespace NmeaParser.Nmea
|
||||
{
|
||||
/// <summary>
|
||||
/// Course over ground and ground speed
|
||||
|
|
|
|||
Loading…
Reference in a new issue