OSDN Git Service

WeekとTimeOfWeekプロパティを持つパケットにGpsTimeプロパティ追加
[yubeshi/yubeshi.git] / Yubeshi / YumaAlmanacReader.cs
index 08c3193..98e810d 100755 (executable)
@@ -44,7 +44,7 @@ namespace Yubeshi
                 };\r
             setters["Health"] = delegate(Almanac a, string v)\r
                 {\r
-                    a.Health = Int32.Parse(v);\r
+                    a.Health = (Almanac.HealthIndication)Int16.Parse(v);\r
                 };\r
             setters["Eccentricity"] = delegate(Almanac a, string v)\r
                 {\r