[chronojump] Networks jumps weightInKg is uploaded
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Networks jumps weightInKg is uploaded
- Date: Thu, 1 Sep 2022 09:11:08 +0000 (UTC)
commit 8e432e2204a32f37bc9b71e9c8d72f1fa91f6fb6
Author: Xavier de Blas <xaviblas gmail com>
Date: Thu Sep 1 11:10:31 2022 +0200
Networks jumps weightInKg is uploaded
src/json/compujump.cs | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/json/compujump.cs b/src/json/compujump.cs
index 4853c0b52..baaf4b55b 100644
--- a/src/json/compujump.cs
+++ b/src/json/compujump.cs
@@ -424,13 +424,13 @@ public class JsonCompujump : Json
json.Add("station_id", o.stationId);
json.Add("exercise_id", o.ExerciseIdStr);
json.Add("comment", "");
+ json.Add("extra_weight", o.WeightInKg);
if (m == Constants.Modes.JUMPSSIMPLE)
{
json.Add("player_id", o.jump.PersonID);
json.Add("multiple", 0);
json.Add("contact_time", Util.ConvertToPoint (o.jump.Tc));
json.Add("flight_time", Util.ConvertToPoint (o.jump.Tv));
- json.Add("extra_weight", Util.ConvertToPoint (o.jump.Weight));
json.Add("fall", Util.ConvertToPoint (o.jump.Fall));
} else // if (m == Constants.Modes.JUMPSREACTIVE)
{
@@ -438,7 +438,6 @@ public class JsonCompujump : Json
json.Add("multiple", 1);
json.Add("contact_time", Util.ConvertToPoint (o.jumpRj.TcAvg));
json.Add("flight_time", Util.ConvertToPoint (o.jumpRj.TvAvg));
- json.Add("extra_weight", Util.ConvertToPoint (o.jumpRj.Weight));
json.Add("fall", Util.ConvertToPoint (o.jumpRj.Fall));
}
json.Add("power", o.PowerStr);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]