OSDN Git Service

Infパケットに共通の抽象クラスを設定
[yubeshi/yubeshi.git] / Yubeshi / Ubx / InfError.cs
index 984343b..d87d5ef 100755 (executable)
@@ -11,7 +11,7 @@ using System.Text;
 \r
 namespace Yubeshi.Ubx\r
 {\r
-    public class InfError : Packet\r
+    public class InfError : Inf\r
     {\r
         #region constructors\r
 \r
@@ -22,18 +22,6 @@ namespace Yubeshi.Ubx
 \r
         #endregion\r
 \r
-        #region properties\r
-\r
-        public string Message\r
-        {\r
-            get\r
-            {\r
-                return Encoding.ASCII.GetString(Raw, 6, Raw.Length - 8);\r
-            }\r
-        }\r
-\r
-        #endregion\r
-\r
         #region public methods\r
 \r
         public static bool TryParse(byte[] sentence, out UnknownPacket packet)\r