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

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

Merge branch 'revert-971f4b80' into 'amdm2/develop'

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

See merge request vecto/vecto!215
parents 5c22fe02 1d873f33
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.ToXMLFormat(6);
result.Rows[r][BatteryInternalResistanceReader.Fields.InternalResistance_10] = resistance.ToXMLFormat(6);
result.Rows[r][BatteryInternalResistanceReader.Fields.InternalResistance_20] = resistance.ToXMLFormat(6);
result.Rows[r][BatteryInternalResistanceReader.Fields.InternalResistance_2] = resistance;
result.Rows[r][BatteryInternalResistanceReader.Fields.InternalResistance_10] = resistance;
result.Rows[r][BatteryInternalResistanceReader.Fields.InternalResistance_20] = resistance;
if (batteryType == BatteryType.HEBS)
result.Rows[r][BatteryInternalResistanceReader.Fields.InternalResistance_120] = resistance.ToXMLFormat(6);
result.Rows[r][BatteryInternalResistanceReader.Fields.InternalResistance_120] = resistance;
}
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