From b6381bb5bd4dcfce94274c06320d4fefc4ff7616 Mon Sep 17 00:00:00 2001 From: Xiang Yan Date: Sat, 19 Mar 2016 21:37:02 -0700 Subject: [PATCH] Use more realistic data --- src/OBDLibrary/ObdShare/ObdUtil.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/OBDLibrary/ObdShare/ObdUtil.cs b/src/OBDLibrary/ObdShare/ObdUtil.cs index 7734a7dc..9229eb0b 100644 --- a/src/OBDLibrary/ObdShare/ObdUtil.cs +++ b/src/OBDLibrary/ObdShare/ObdUtil.cs @@ -205,9 +205,9 @@ public static string GetEmulatorValue(string cmd) case "010C": return r.Next(0, 2500).ToString(); case "010D": - return r.Next(20, 120).ToString(); + return r.Next(5, 70).ToString(); case "0110": - return r.Next(0, 600).ToString(); + return r.Next(0, 50).ToString(); case "0111": return r.Next(0, 100).ToString(); case "011F": @@ -257,4 +257,4 @@ static string SimulateEngineFuelRateValue(Random r) return variance.ToString(); } } -} \ No newline at end of file +}