--- /dev/null
+/*\r
+ * Yubeshi GPS Parser\r
+ *\r
+ * This software is distributed under a zlib-style license.\r
+ * See license.txt for more information.\r
+ */\r
+\r
+using System;\r
+using System.Collections.Generic;\r
+using System.Text;\r
+\r
+namespace Yubeshi.Gps\r
+{\r
+ public class Word\r
+ {\r
+ #region fields\r
+ protected uint value;\r
+\r
+ #endregion\r
+\r
+ #region constructor\r
+\r
+ public Word(uint source)\r
+ {\r
+ value = source;\r
+ }\r
+ #endregion\r
+\r
+ #region operator\r
+ public static implicit operator uint(Word word)\r
+ {\r
+ return (uint)word.value;\r
+ }\r
+ #endregion\r
+\r
+ #region properties\r
+ public uint Parity\r
+ {\r
+ get\r
+ {\r
+ return value >> 24;\r
+ }\r
+ }\r
+\r
+ #endregion\r
+ }\r
+}\r
<Compile Include="GeodeticCoordinate.cs" />\r
<Compile Include="EcefCoordinate.cs" />\r
<Compile Include="EcefVelocity.cs" />\r
+ <Compile Include="Gps\Word.cs" />\r
<Compile Include="Nmea\Parser.cs" />\r
<Compile Include="OctetString.cs" />\r
<Compile Include="Parser.cs" />\r