コード例 #1
0
        override protected void ReadInternal(ResponseReader reader)
        {
            uint pace = reader.ReadUShort();
            reader.ReadByte(); // Expecting 0x39 - Seconds per kilometer

            _pace.TotalHundreths = 50 * pace;
        }
コード例 #2
0
 override protected void ReadInternal(ResponseReader reader)
 {
     StrokeRate = reader.ReadUShort();
     reader.ReadByte(); // Expecting 0x54 - StrokesPerMinute
 }
コード例 #3
0
 protected override void ReadInternal(ResponseReader reader)
 {
     Power = reader.ReadUShort();
     reader.ReadByte(); // Expecting 0x58 - Watts
 }
コード例 #4
0
 override protected void ReadInternal(ResponseReader reader)
 {
     _distance.TotalTenths = 10 * reader.ReadUShort();
     reader.ReadByte(); // Expecting 0x24 - Metres
 }
コード例 #5
0
 override protected void ReadInternal(ResponseReader reader)
 {
     Calories = reader.ReadUShort();
 }