From 4e25b2f1ee031e807ca7663fed4561edee4db233 Mon Sep 17 00:00:00 2001
From: Markus Quaritsch <markus.quaritsch@tugraz.at>
Date: Mon, 23 Sep 2019 17:46:10 +0200
Subject: [PATCH] bugfix writing json job file

---
 VECTO/OutputData/JSONFileWriter.vb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/VECTO/OutputData/JSONFileWriter.vb b/VECTO/OutputData/JSONFileWriter.vb
index a3a3ed1cd9..e418f681ce 100644
--- a/VECTO/OutputData/JSONFileWriter.vb
+++ b/VECTO/OutputData/JSONFileWriter.vb
@@ -366,9 +366,9 @@ Public Class JSONFileWriter
 			body.Add("EngineStopStartMaxOffTimespan", driver.EngineStopStartData.MaxEngineOffTimespan.Value())
 			body.Add("EngineStopStartUtilityFactor", driver.EngineStopStartData.UtilityFactor)
 
-			body.Add("EcoRollMinSpeed", driver.EcoRollData.MinSpeed)
-			body.Add("EcoRollActivationDelay", driver.EcoRollData.ActivationDelay)
-			body.Add("EcoRollUnderspeedThreshold", driver.EcoRollData.UnderspeedThreshold)
+			body.Add("EcoRollMinSpeed", driver.EcoRollData.MinSpeed.AsKmph)
+			body.Add("EcoRollActivationDelay", driver.EcoRollData.ActivationDelay.Value())
+			body.Add("EcoRollUnderspeedThreshold", driver.EcoRollData.UnderspeedThreshold.AsKmph)
 
 		End If
 		'body.Add("StartStop", New Dictionary(Of String, Object) From {
-- 
GitLab