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

Skip to content
Snippets Groups Projects
Commit f315adb3 authored by Markus QUARITSCH's avatar Markus QUARITSCH
Browse files

re-establish original behavior of result card

parent f1747b69
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,8 @@ namespace TUGraz.VectoCore.Models.BusAuxiliaries.DownstreamModules.Impl.Electric
public Ampere GetSmartCurrentResult(Ampere amps)
{
return 0.SI<Ampere>();
// MQ: mimic weird behavior of original resultcard implementation - return 10Amps in case less than 2 entries are provided...
return 10.SI<Ampere>();
}
public Dictionary<Ampere, Ampere> Entries { get { return new Dictionary<Ampere, Ampere>();} }
......
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