From f93f18561ff0a2b476ba5ea3bb11a055abbfff8c Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Tue, 3 Aug 2021 17:38:08 +0200 Subject: [PATCH] Fix calcolo PlantId (was hardCoded) --- GWMS.UI/Controllers/IOBController.cs | 2 +- GWMS.UI/GWMS.UI.csproj | 2 +- Resources/ChangeLog.html | 2 +- Resources/VersNum.txt | 2 +- Resources/manifest.xml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/GWMS.UI/Controllers/IOBController.cs b/GWMS.UI/Controllers/IOBController.cs index daa844b..99991ac 100644 --- a/GWMS.UI/Controllers/IOBController.cs +++ b/GWMS.UI/Controllers/IOBController.cs @@ -281,7 +281,7 @@ namespace GWMS.UI.Controllers if (currPlant != null && currPlant.PlantId > 0) { // conversione dati - List plData = rawData.fluxData.Select(l => _DataService.convertFluxToPL(1, l)).ToList(); + List plData = rawData.fluxData.Select(jpl => _DataService.convertFluxToPL(currPlant.PlantId, jpl)).ToList(); //insert! fatto = _DataService.PlantLogInsert(plData); } diff --git a/GWMS.UI/GWMS.UI.csproj b/GWMS.UI/GWMS.UI.csproj index 2852188..92992c0 100644 --- a/GWMS.UI/GWMS.UI.csproj +++ b/GWMS.UI/GWMS.UI.csproj @@ -2,7 +2,7 @@ net5.0 - 1.0.2108.0312 + 1.0.2108.0317 95c9f021-52d1-4390-a670-5810b7b777b0 diff --git a/Resources/ChangeLog.html b/Resources/ChangeLog.html index 1b1afd6..5d3da76 100644 --- a/Resources/ChangeLog.html +++ b/Resources/ChangeLog.html @@ -1,6 +1,6 @@ GWMS - Gas Warehouse Management System -

Versione: 1.0.2108.0312

+

Versione: 1.0.2108.0317


Note di rilascio:
  • diff --git a/Resources/VersNum.txt b/Resources/VersNum.txt index b900339..88dafdf 100644 --- a/Resources/VersNum.txt +++ b/Resources/VersNum.txt @@ -1 +1 @@ -1.0.2108.0312 +1.0.2108.0317 diff --git a/Resources/manifest.xml b/Resources/manifest.xml index 251f5ce..e22b846 100644 --- a/Resources/manifest.xml +++ b/Resources/manifest.xml @@ -1,6 +1,6 @@ - 1.0.2108.0312 + 1.0.2108.0317 http://nexus.steamware.net/repository/SWS/GWMS/stable/0/GWMS.UI.zip http://nexus.steamware.net/repository/SWS/GWMS/stable/0/ChangeLog.html false