mirror of
https://gitlab.com/fabinfra/fabaccess/borepin.git
synced 2025-03-12 14:51:44 +01:00
Added: GetGiveBack
This commit is contained in:
parent
8d6bd2a1e4
commit
effc059fa7
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user