mirror of
https://gitlab.com/fabinfra/fabaccess/borepin.git
synced 2025-03-13 15:21:45 +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;
|
CanUse = MachineItem.MInfo.State == FabAccessAPI.Schema.State.free;
|
||||||
|
|
||||||
//if (GiveBack == null)
|
if (GiveBack == null)
|
||||||
//{
|
{
|
||||||
// GiveBack = await MachineItem.Instance.GetGiveBack();
|
GiveBack = await MachineItem.Instance.GetGiveBack();
|
||||||
//}
|
}
|
||||||
|
|
||||||
CanGiveBack = GiveBack != null;
|
CanGiveBack = GiveBack != null;
|
||||||
|
|
||||||
@ -110,7 +110,6 @@ namespace Borepin.PageModel
|
|||||||
|
|
||||||
CanUse = MachineItem.MInfo.State == FabAccessAPI.Schema.State.free;
|
CanUse = MachineItem.MInfo.State == FabAccessAPI.Schema.State.free;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region INavigationService
|
#region INavigationService
|
||||||
|
@ -4,7 +4,6 @@ using Borepin.Service.BFFH;
|
|||||||
using Borepin.Service.Connections;
|
using Borepin.Service.Connections;
|
||||||
using Borepin.Service.Credentials;
|
using Borepin.Service.Credentials;
|
||||||
using Prism.Commands;
|
using Prism.Commands;
|
||||||
using Prism.Mvvm;
|
|
||||||
using Prism.Navigation;
|
using Prism.Navigation;
|
||||||
using Prism.Services.Dialogs;
|
using Prism.Services.Dialogs;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user