Update gestione pesatura
This commit is contained in:
@@ -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}");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user