From ec0fc6c69748a7c0aeca1875d375ad525efacd96 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Mon, 12 Dec 2022 18:11:44 +0100 Subject: [PATCH] Riorganizzazione scheda plant x 6 impianti --- GWMS.UI/Components/PlantOverview.razor | 30 +++++++++++++++----------- GWMS.UI/GWMS.UI.csproj | 2 +- GWMS.UI/Pages/PlantStatus.razor | 2 +- GWMS.UI/Shared/MainLayout.razor.css | 2 +- GWMS.UI/Shared/NavMenu.razor | 28 ++++++++++++------------ Resources/ChangeLog.html | 2 +- Resources/VersNum.txt | 2 +- Resources/manifest.xml | 2 +- 8 files changed, 37 insertions(+), 33 deletions(-) diff --git a/GWMS.UI/Components/PlantOverview.razor b/GWMS.UI/Components/PlantOverview.razor index 3c875ef..9ae0a86 100644 --- a/GWMS.UI/Components/PlantOverview.razor +++ b/GWMS.UI/Components/PlantOverview.razor @@ -29,10 +29,10 @@
  • Pressione: @currItem.PressAct["Main"].ToString("N1") bar
  • -
  • +
  • PB Alta
  • -
  • +
  • @if (getPressData("BH", "N1") != "") { Stoccaggio: @getPressData("BH", "N1") bar @@ -42,7 +42,7 @@ Stoccaggio: ND bar }
  • -
  • +
  • @if (getPressData("BHA", "N1") != "") { Alimentazione: @getPressData("BHA", "N1") bar @@ -52,10 +52,10 @@ Alimentazione: ND bar }
  • -
  • +
  • PB Media
  • -
  • +
  • @if (getPressData("BL", "N1") != "") { Stoccaggio: @getPressData("BL", "N1") bar @@ -65,7 +65,7 @@ Stoccaggio: ND bar }
  • -
  • +
  • @if (getPressData("BLA", "N1") != "") { Alimentazione: @getPressData("BLA", "N1") bar @@ -93,10 +93,10 @@
  • -
    +
    -
    +
    @if (LevelVal == null || LevelVal.Count == 0) { @@ -112,21 +112,25 @@
    @if (currItem.SoldTS != null && currItem.SoldTS.Count > 0 && currItem.SoldTS[0].ValDouble > 0) { - Venduto Ieri: @currItem.SoldTS[0].ValDouble.ToString("N1") kg +
    Venduto Ieri:
    +
    @currItem.SoldTS[0].ValDouble.ToString("N1") kg
    } else { - Venduto Ieri: ND kg +
    Venduto Ieri:
    +
    ND kg
    }
    -
    +
    @if (currItem.SoldTS != null && currItem.SoldTS.Count > 1 && currItem.SoldTS[1].ValDouble > 0) { - Venduto Oggi: @currItem.SoldTS[1].ValDouble.ToString("N1") kg +
    Venduto Oggi:
    +
    @currItem.SoldTS[1].ValDouble.ToString("N1") kg
    } else { - Venduto Oggi: ND kg +
    Venduto Oggi:
    +
    ND kg
    }
  • diff --git a/GWMS.UI/GWMS.UI.csproj b/GWMS.UI/GWMS.UI.csproj index 20a7aa3..725fea9 100644 --- a/GWMS.UI/GWMS.UI.csproj +++ b/GWMS.UI/GWMS.UI.csproj @@ -2,7 +2,7 @@ net6.0 - 1.0.2203.0818 + 1.0.2212.1217 95c9f021-52d1-4390-a670-5810b7b777b0 true true diff --git a/GWMS.UI/Pages/PlantStatus.razor b/GWMS.UI/Pages/PlantStatus.razor index 8a7441d..5198317 100644 --- a/GWMS.UI/Pages/PlantStatus.razor +++ b/GWMS.UI/Pages/PlantStatus.razor @@ -21,7 +21,7 @@
    @foreach (var record in ListRecords) { -
    +
    } diff --git a/GWMS.UI/Shared/MainLayout.razor.css b/GWMS.UI/Shared/MainLayout.razor.css index 333ac90..fb08f62 100644 --- a/GWMS.UI/Shared/MainLayout.razor.css +++ b/GWMS.UI/Shared/MainLayout.razor.css @@ -44,7 +44,7 @@ } .sidebar { - width: 250px; + width: 230px; height: 100vh; position: sticky; top: 0; diff --git a/GWMS.UI/Shared/NavMenu.razor b/GWMS.UI/Shared/NavMenu.razor index 830c173..90767ac 100644 --- a/GWMS.UI/Shared/NavMenu.razor +++ b/GWMS.UI/Shared/NavMenu.razor @@ -9,6 +9,9 @@ @**@ + + MAPO.GWMS + } else @@ -16,17 +19,14 @@ @**@ + } - - MAPO.GWMS -
    -
    diff --git a/Resources/ChangeLog.html b/Resources/ChangeLog.html index 7b21de6..6e4e16d 100644 --- a/Resources/ChangeLog.html +++ b/Resources/ChangeLog.html @@ -1,6 +1,6 @@ GWMS - Gas Warehouse Management System -

    Versione: 1.0.2203.0818

    +

    Versione: 1.0.2212.1217


    Note di rilascio: