diff --git a/IOB-WIN-NEXT/IobSoap/Gomba.cs b/IOB-WIN-NEXT/IobSoap/Gomba.cs index 88a6ec26..a37ceeb7 100644 --- a/IOB-WIN-NEXT/IobSoap/Gomba.cs +++ b/IOB-WIN-NEXT/IobSoap/Gomba.cs @@ -347,13 +347,11 @@ namespace IOB_WIN_NEXT.IobSoap { isPesata = true; answ = reqWeight(true); - fatto = answ.feedback == "C"; } else if (item.uid == "reqOUT") { isPesata = true; answ = reqWeight(false); - fatto = answ.feedback == "C"; } else if (item.uid == "RM" || item.uid.StartsWith("Cod")) { @@ -365,7 +363,7 @@ namespace IOB_WIN_NEXT.IobSoap if (isPesata) { // se รจ OK - if (fatto) + if (answ.feedback == "C") { item.value = answ.feedback; item.reqValue = ""; @@ -376,7 +374,7 @@ namespace IOB_WIN_NEXT.IobSoap } else { - item.value = answ.feedback; + item.value = $"{answ.feedback} | {answ.notes}"; item.reqValue = ""; lgError($"reqWeight | Errore in richiesta peso GOMBA | {answ.feedback} | {answ.notes}"); }