refresh develop

This commit is contained in:
Samuele Locatelli
2021-11-25 15:45:42 +01:00
parent 9849f28f3f
commit bc1cab41da
+10 -4
View File
@@ -136,6 +136,7 @@ namespace GWMS.UI.Pages
errorDescription = "";
OrderCode = "";
NavManager.NavigateTo("GasStation");
//StateHasChanged();
});
}
@@ -196,7 +197,10 @@ namespace GWMS.UI.Pages
{
if (ordine.DtExecEnd > ordine.DtOrder)
{
errorDescription = "Errore: ordine già completato";
await InvokeAsync(() =>
{
errorDescription = "Errore: ordine già completato";
});
await Task.Run(() =>
{
Thread.Sleep(3000);
@@ -205,7 +209,10 @@ namespace GWMS.UI.Pages
}
else if (ordine.PlantId != SelPlantId)
{
errorDescription = "Errore: ordine destinato ad altro impianto";
await InvokeAsync(() =>
{
errorDescription = "Errore: ordine destinato ad altro impianto";
});
await Task.Run(() =>
{
@@ -218,9 +225,8 @@ namespace GWMS.UI.Pages
// salvo...
MessageService.SelPlantId = $"{SelPlantId}";
MessageService.SelOrderCode = args.BarcodeText;
// rimando a pagina con codice ordine....
// rimando a pagina load....
NavManager.NavigateTo($"GasStationLoad");
//NavManager.NavigateTo($"GasStationLoad/{SelPlantId}/{args.BarcodeText}");
}
}
else