From dd1fa6f6bc2ff32ff7e9a3760068b010e7c18e7f Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Sun, 10 Dec 2023 15:41:26 +0100 Subject: [PATCH] Commentata gestione sostituzione dizionario --- IOB-UT-NEXT/ToMapo.cs | 6 ++++-- IOB-UT-NEXT/plcMemMapExt.cs | 7 +++++-- IOB-WIN-NEXT/DATA/CONF/SIMUL_01.json | 14 +++++++------- IOB-WIN-NEXT/DATA/CONF/TFT_RAMA_001.json | 14 +++++++------- IOB-WIN-NEXT/Iob/Generic.cs | 2 ++ 5 files changed, 25 insertions(+), 18 deletions(-) diff --git a/IOB-UT-NEXT/ToMapo.cs b/IOB-UT-NEXT/ToMapo.cs index 87f43bc9..25d5f48c 100644 --- a/IOB-UT-NEXT/ToMapo.cs +++ b/IOB-UT-NEXT/ToMapo.cs @@ -243,6 +243,7 @@ namespace IOB_UT_NEXT /// Elenco items FILTRATI da invio come dynData --> FluxLog (events o samples), ricerca SECCA /// public List fluxLogVeto { get; set; } = new List(); + /// /// Elenco items FILTRATI da invio come dynData --> FluxLog (events o samples), ricerca testo come contains in displayName /// @@ -307,6 +308,7 @@ namespace IOB_UT_NEXT /// Dictionary dei nomi da cercare come "endsWith" a cui applicare la soglia indicata /// public Dictionary paramsEndThresh { get; set; } = new Dictionary(); + /// /// Dictionary dei nomi da cercare come "contains" a cui applicare la soglia indicata /// @@ -532,7 +534,6 @@ namespace IOB_UT_NEXT /// Numero minimo di secondi di attesa finale (es prima di chiedere chiusura ODL) /// public int minSecFinalWait { get; set; } = 30; - /// /// Struttura dati x check condizione Contapezzi Abilitato (se vuoto = sempre abilitato) @@ -642,6 +643,7 @@ namespace IOB_UT_NEXT /// public string BaseIdMask { get; set; } = ""; +#if false /// /// Base del NameSpace usato per le funzionalità di translate (parametri ACT-SET), da inserire come PRE /// @@ -651,7 +653,7 @@ namespace IOB_UT_NEXT /// Dizionario per la traduzione delle ricette (se gestite) tra valori acquisiti in dossier e impostazioni da inviare (ACTual, SETup) /// public Dictionary RecipeKeyTranslate { get; set; } = new Dictionary(); - +#endif #endregion Public Properties } diff --git a/IOB-UT-NEXT/plcMemMapExt.cs b/IOB-UT-NEXT/plcMemMapExt.cs index 6c41075a..19b3a488 100644 --- a/IOB-UT-NEXT/plcMemMapExt.cs +++ b/IOB-UT-NEXT/plcMemMapExt.cs @@ -13,15 +13,18 @@ namespace IOB_UT_NEXT /// Dizionario parametri opzionali /// public Dictionary optMemPar { get; set; } = new Dictionary(); + /// /// Dizionario x decodifica file /// public Dictionary fileDecod { get; set; } = new Dictionary(); + /// /// Lista ulteriori configurazioni KeyValuePair /// public Dictionary optKVP { get; set; } = new Dictionary(); +#if false /// /// Base del NameSpace usato per le funzionalità di translate (parametri ACT-SET), da inserire come PRE /// @@ -31,6 +34,6 @@ namespace IOB_UT_NEXT /// Dizionario per la traduzione delle ricette (se gestite) tra valori acquisiti in dossier e impostazioni da inviare (ACTual, SETup) /// public Dictionary RecipeKeyTranslate { get; set; } = new Dictionary(); +#endif } - -} +} \ No newline at end of file diff --git a/IOB-WIN-NEXT/DATA/CONF/SIMUL_01.json b/IOB-WIN-NEXT/DATA/CONF/SIMUL_01.json index 62382e0c..a52bc56d 100644 --- a/IOB-WIN-NEXT/DATA/CONF/SIMUL_01.json +++ b/IOB-WIN-NEXT/DATA/CONF/SIMUL_01.json @@ -138,11 +138,11 @@ "path-confSetup": "C:\\MesData\\Setup\\setupConsumi.json", "replace-": "{{PODL}}", "replace-": "Kg{{Qty}} | {{Note}}" - }, - "BaseKeyTranslate": "ns=2;s=RamosaETN21.RamosaCJ2", - "RecipeKeyTranslate": { - "Present Value.General Fan": "Recipe.Chain Spped", - "Present Value.Bottom Overfeeding": "Recipe.Bottom Overfeeding", - "Present Value.Top Overfeeding": "Recipe.Top Overfeeding" - } + } //, + //"BaseKeyTranslate": "ns=2;s=RamosaETN21.RamosaCJ2", + //"RecipeKeyTranslate": { + // "Present Value.General Fan": "Recipe.Chain Spped", + // "Present Value.Bottom Overfeeding": "Recipe.Bottom Overfeeding", + // "Present Value.Top Overfeeding": "Recipe.Top Overfeeding" + //} } \ No newline at end of file diff --git a/IOB-WIN-NEXT/DATA/CONF/TFT_RAMA_001.json b/IOB-WIN-NEXT/DATA/CONF/TFT_RAMA_001.json index bc7dc1a3..fd7f9143 100644 --- a/IOB-WIN-NEXT/DATA/CONF/TFT_RAMA_001.json +++ b/IOB-WIN-NEXT/DATA/CONF/TFT_RAMA_001.json @@ -306,11 +306,11 @@ "MemConfWrite": "", "MaxVal": 9999 }, - "BaseIdMask": "RamosaETN21.RamosaCJ2.", - "BaseKeyTranslate": "ns=2;s=RamosaETN21.RamosaCJ2.Recipe.", - "RecipeKeyTranslate": { - "OPC_Set Point.Chain Spped": "Chain Spped", - "OPC_Set Point.Bottom Overfeeding": "Bottom Overfeeding", - "OPC_Set Point.Top Overfeeding": "Top Overfeeding" - } + "BaseIdMask": "RamosaETN21.RamosaCJ2." //, + //"BaseKeyTranslate": "ns=2;s=RamosaETN21.RamosaCJ2.Recipe.", + //"RecipeKeyTranslate": { + // "OPC_Set Point.Chain Spped": "Chain Spped", + // "OPC_Set Point.Bottom Overfeeding": "Bottom Overfeeding", + // "OPC_Set Point.Top Overfeeding": "Top Overfeeding" + //} } \ No newline at end of file diff --git a/IOB-WIN-NEXT/Iob/Generic.cs b/IOB-WIN-NEXT/Iob/Generic.cs index eb362a27..d0d4eafd 100644 --- a/IOB-WIN-NEXT/Iob/Generic.cs +++ b/IOB-WIN-NEXT/Iob/Generic.cs @@ -5667,6 +5667,7 @@ namespace IOB_WIN_NEXT.Iob return answ; } +#if false /// /// Traduzione del valore chiave configurato dal dizionario RecipeKeyTranslate + BaseKeyTranslate /// @@ -5681,6 +5682,7 @@ namespace IOB_WIN_NEXT.Iob } return answ; } +#endif /// /// Processa le richieste di scrittura memoria