Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 971f4b80 authored by Stefanos DOUMPOULAKIS's avatar Stefanos DOUMPOULAKIS
Browse files

Merge branch 'fix/618_irizar_locale' into 'amdm2/develop'

Fix decimal point localization problem

See merge request vecto/vecto!213
parents db05d0c5 25e20a51
Branches
Tags
1 merge request!2Test with x2 vehs for speed
...@@ -101,11 +101,11 @@ namespace TUGraz.VectoCore.Models.GenericModelData ...@@ -101,11 +101,11 @@ namespace TUGraz.VectoCore.Models.GenericModelData
var soc = r == 0 ? 0 : 100; var soc = r == 0 ? 0 : 100;
result.Rows.Add(result.NewRow()); result.Rows.Add(result.NewRow());
result.Rows[r][BatteryInternalResistanceReader.Fields.StateOfCharge] = soc; result.Rows[r][BatteryInternalResistanceReader.Fields.StateOfCharge] = soc;
result.Rows[r][BatteryInternalResistanceReader.Fields.InternalResistance_2] = resistance; result.Rows[r][BatteryInternalResistanceReader.Fields.InternalResistance_2] = resistance.ToXMLFormat(6);
result.Rows[r][BatteryInternalResistanceReader.Fields.InternalResistance_10] = resistance; result.Rows[r][BatteryInternalResistanceReader.Fields.InternalResistance_10] = resistance.ToXMLFormat(6);
result.Rows[r][BatteryInternalResistanceReader.Fields.InternalResistance_20] = resistance; result.Rows[r][BatteryInternalResistanceReader.Fields.InternalResistance_20] = resistance.ToXMLFormat(6);
if (batteryType == BatteryType.HEBS) if (batteryType == BatteryType.HEBS)
result.Rows[r][BatteryInternalResistanceReader.Fields.InternalResistance_120] = resistance; result.Rows[r][BatteryInternalResistanceReader.Fields.InternalResistance_120] = resistance.ToXMLFormat(6);
} }
return result; return result;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment