diff --git a/GWMS.Data/Controllers/GWMSController.cs b/GWMS.Data/Controllers/GWMSController.cs index 27c37a1..d4c0b9e 100644 --- a/GWMS.Data/Controllers/GWMSController.cs +++ b/GWMS.Data/Controllers/GWMSController.cs @@ -863,7 +863,7 @@ namespace GWMS.Data.Controllers DateTime currDay = oggi.AddDays(-i); var firstRecord = rawLevelData.Where(x => x.DtEvent >= currDay).FirstOrDefault(); var nextRecord = rawLevelData.Where(x => x.DtEvent >= currDay.AddDays(1)).FirstOrDefault(); - if (firstRecord == null && nextRecord == null) + if (firstRecord == null || nextRecord == null) { double venduto = 0; } diff --git a/GWMS.UI/GWMS.UI.csproj b/GWMS.UI/GWMS.UI.csproj index 906b0e8..2929722 100644 --- a/GWMS.UI/GWMS.UI.csproj +++ b/GWMS.UI/GWMS.UI.csproj @@ -2,7 +2,7 @@ net5.0 - 1.0.2202.0211 + 1.0.2202.0309 95c9f021-52d1-4390-a670-5810b7b777b0 true true diff --git a/Resources/ChangeLog.html b/Resources/ChangeLog.html index 1edb258..0e00f51 100644 --- a/Resources/ChangeLog.html +++ b/Resources/ChangeLog.html @@ -1,6 +1,6 @@ GWMS - Gas Warehouse Management System -

Versione: 1.0.2202.0211

+

Versione: 1.0.2202.0309


Note di rilascio: