Code development platform for open source projects from the European Union institutions

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

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

Fix decimal point localization problem

See merge request vecto/vecto!217
parents 53ad81a7 308a1a73
No related branches found
No related tags found
No related merge requests found
......@@ -101,11 +101,11 @@ namespace TUGraz.VectoCore.Models.GenericModelData
var soc = r == 0 ? 0 : 100;
result.Rows.Add(result.NewRow());
result.Rows[r][BatteryInternalResistanceReader.Fields.StateOfCharge] = soc;
result.Rows[r][BatteryInternalResistanceReader.Fields.InternalResistance_2] = resistance;
result.Rows[r][BatteryInternalResistanceReader.Fields.InternalResistance_10] = resistance;
result.Rows[r][BatteryInternalResistanceReader.Fields.InternalResistance_20] = resistance;
result.Rows[r][BatteryInternalResistanceReader.Fields.InternalResistance_2] = resistance.ToXMLFormat(6);
result.Rows[r][BatteryInternalResistanceReader.Fields.InternalResistance_10] = resistance.ToXMLFormat(6);
result.Rows[r][BatteryInternalResistanceReader.Fields.InternalResistance_20] = resistance.ToXMLFormat(6);
if (batteryType == BatteryType.HEBS)
result.Rows[r][BatteryInternalResistanceReader.Fields.InternalResistance_120] = resistance;
result.Rows[r][BatteryInternalResistanceReader.Fields.InternalResistance_120] = resistance.ToXMLFormat(6);
}
return result;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment