cambio gestione epsilon per valori gauges (x10)

This commit is contained in:
Samuele Locatelli
2020-10-14 09:03:04 +02:00
parent e8c55ada85
commit 49de435bab
@@ -22,7 +22,8 @@ namespace Thermo.Active.Model.DTOModels.ThProd
if (!Category.Equals(item.Category))
return false;
if (Math.Round(Math.Abs(Value - item.Value), 1) >= Constants.EPSILON)
// poiché il vuoto è con 2 decimali serve 10 volte risoluzione risp altro...
if (Math.Round(Math.Abs(Value - item.Value), 2) >= Constants.EPSILON / 10)
return false;
if (Name != item.Name)
return false;