From 0c854ff4726e4227a6aeb2cea7e12d54fc5253d0 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Mon, 17 Mar 2025 10:47:40 +0100 Subject: [PATCH] SPEC: - correzione gestione padding XDL MON: - tolto giorno che torna cmq inglese sul raspi --- MP.MON.Client/Components/CmpHeader.razor | 2 +- MP.MON/Components/Layout/MainLayout.razor | 4 ++-- MP.SPEC/Components/ListODL.razor.cs | 4 +++- MP.SPEC/Components/ListPODL.razor.cs | 3 ++- MP.SPEC/MP.SPEC.csproj | 2 +- MP.SPEC/Resources/ChangeLog.html | 2 +- MP.SPEC/Resources/VersNum.txt | 2 +- MP.SPEC/Resources/manifest.xml | 2 +- 8 files changed, 12 insertions(+), 9 deletions(-) diff --git a/MP.MON.Client/Components/CmpHeader.razor b/MP.MON.Client/Components/CmpHeader.razor index 4b5113e0..28357073 100644 --- a/MP.MON.Client/Components/CmpHeader.razor +++ b/MP.MON.Client/Components/CmpHeader.razor @@ -9,7 +9,7 @@
- @($"{DateTime.Now:dddd yyyy.MM.dd}") + @($"{DateTime.Now:yyyy.MM.dd}") @($"{DateTime.Now:HH:mm:ss}") diff --git a/MP.MON/Components/Layout/MainLayout.razor b/MP.MON/Components/Layout/MainLayout.razor index 99983961..37d9434d 100644 --- a/MP.MON/Components/Layout/MainLayout.razor +++ b/MP.MON/Components/Layout/MainLayout.razor @@ -5,14 +5,14 @@
- +
@Body
- +
diff --git a/MP.SPEC/Components/ListODL.razor.cs b/MP.SPEC/Components/ListODL.razor.cs index 810dbcf1..02183f35 100644 --- a/MP.SPEC/Components/ListODL.razor.cs +++ b/MP.SPEC/Components/ListODL.razor.cs @@ -127,7 +127,9 @@ namespace MP.SPEC.Components { // imposto task x setComm, setArt, SetPzComm await MpIoApiCall.addTask2Exe(currRecord.IdxMacchina, "setArt", currRecord.CodArticolo); - await MpIoApiCall.addTask2Exe(currRecord.IdxMacchina, "setComm", $"ODL{currRecord.IdxOdl:00000000}"); + string odlPad = currRecord.IdxOdl.ToString(padCodXdl); + await MpIoApiCall.addTask2Exe(currRecord.IdxMacchina, "setComm", $"ODL{odlPad}"); + //await MpIoApiCall.addTask2Exe(currRecord.IdxMacchina, "setComm", $"ODL{currRecord.IdxOdl:00000000}"); await MpIoApiCall.addTask2Exe(currRecord.IdxMacchina, "setPzComm", $"{currRecord.NumPezzi}"); // richiesto anche sync DB diff --git a/MP.SPEC/Components/ListPODL.razor.cs b/MP.SPEC/Components/ListPODL.razor.cs index 2d4a0f87..f727cb25 100644 --- a/MP.SPEC/Components/ListPODL.razor.cs +++ b/MP.SPEC/Components/ListPODL.razor.cs @@ -265,7 +265,8 @@ namespace MP.SPEC.Components // imposto task x setComm, setArt, SetPzComm await callTask2Exe(selRec.IdxMacchina, "setArt", newOdl.CodArticolo); - await callTask2Exe(selRec.IdxMacchina, "setComm", $"ODL{newOdl.IdxOdl:00000000}"); + string odlPad = newOdl.IdxOdl.ToString(padCodXdl); + await callTask2Exe(selRec.IdxMacchina, "setComm", $"ODL{odlPad}"); await callTask2Exe(selRec.IdxMacchina, "setPzComm", $"{newOdl.NumPezzi}"); // chiamo task x IOB await callForceUpdate(selRec.IdxMacchina); diff --git a/MP.SPEC/MP.SPEC.csproj b/MP.SPEC/MP.SPEC.csproj index 48c743db..113dae1e 100644 --- a/MP.SPEC/MP.SPEC.csproj +++ b/MP.SPEC/MP.SPEC.csproj @@ -5,7 +5,7 @@ enable enable MP.SPEC - 6.16.2503.1417 + 6.16.2503.1710 1800a78a-6ff1-40f9-b490-87fb8bfc1394 en diff --git a/MP.SPEC/Resources/ChangeLog.html b/MP.SPEC/Resources/ChangeLog.html index 70fa3c0c..29716892 100644 --- a/MP.SPEC/Resources/ChangeLog.html +++ b/MP.SPEC/Resources/ChangeLog.html @@ -1,6 +1,6 @@ Modulo MAPOSPEC -

Versione: 6.16.2503.1417

+

Versione: 6.16.2503.1710


Note di rilascio:
  • diff --git a/MP.SPEC/Resources/VersNum.txt b/MP.SPEC/Resources/VersNum.txt index 1b215c09..19b18699 100644 --- a/MP.SPEC/Resources/VersNum.txt +++ b/MP.SPEC/Resources/VersNum.txt @@ -1 +1 @@ -6.16.2503.1417 +6.16.2503.1710 diff --git a/MP.SPEC/Resources/manifest.xml b/MP.SPEC/Resources/manifest.xml index 7f49ce6f..e18fbcd5 100644 --- a/MP.SPEC/Resources/manifest.xml +++ b/MP.SPEC/Resources/manifest.xml @@ -1,6 +1,6 @@ - 6.16.2503.1417 + 6.16.2503.1710 https://nexus.steamware.net/repository/SWS/MP-SPEC/stable/LAST/MP.SPEC.zip https://nexus.steamware.net/repository/SWS/MP-SPEC/stable/LAST/ChangeLog.html false