Added: GetGiveBack

This commit is contained in:
TheJoKlLa 2021-03-30 16:09:19 +02:00
parent 8d6bd2a1e4
commit effc059fa7
2 changed files with 4 additions and 6 deletions

View File

@ -25,10 +25,10 @@ namespace Borepin.PageModel
CanUse = MachineItem.MInfo.State == FabAccessAPI.Schema.State.free;
//if (GiveBack == null)
//{
// GiveBack = await MachineItem.Instance.GetGiveBack();
//}
if (GiveBack == null)
{
GiveBack = await MachineItem.Instance.GetGiveBack();
}
CanGiveBack = GiveBack != null;
@ -110,7 +110,6 @@ namespace Borepin.PageModel
CanUse = MachineItem.MInfo.State == FabAccessAPI.Schema.State.free;
}
#endregion
#region INavigationService

View File

@ -4,7 +4,6 @@ using Borepin.Service.BFFH;
using Borepin.Service.Connections;
using Borepin.Service.Credentials;
using Prism.Commands;
using Prism.Mvvm;
using Prism.Navigation;
using Prism.Services.Dialogs;
using System.Threading.Tasks;