mirror of
https://gitlab.com/fabinfra/fabaccess/borepin.git
synced 2025-03-12 14:51:44 +01:00
Merge branch 'fix/unlock' into 'main'
Added: Command Link See merge request fabinfra/fabaccess/borepin!79
This commit is contained in:
commit
c3fb9cd5fa
@ -34,6 +34,9 @@ namespace Borepin.PageModel
|
|||||||
ForceBlockMachineCommand = new DelegateCommand(ForceBlockMachineCommandExecute);
|
ForceBlockMachineCommand = new DelegateCommand(ForceBlockMachineCommandExecute);
|
||||||
ForceDisableMachineCommand = new DelegateCommand(ForceDisableMachineCommandExecute);
|
ForceDisableMachineCommand = new DelegateCommand(ForceDisableMachineCommandExecute);
|
||||||
OpenWikiCommand = new DelegateCommand(OpenWikiCommandExecute);
|
OpenWikiCommand = new DelegateCommand(OpenWikiCommandExecute);
|
||||||
|
|
||||||
|
UnlockLockCommand = new DelegateCommand(UnlockLockCommandExecute);
|
||||||
|
IdentifyLockCommand = new DelegateCommand(IdentifyLockCommandExecute);
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
@ -247,8 +250,6 @@ namespace Borepin.PageModel
|
|||||||
|
|
||||||
public async void UnlockLockCommandExecute()
|
public async void UnlockLockCommandExecute()
|
||||||
{
|
{
|
||||||
IsBusy = true;
|
|
||||||
|
|
||||||
if (_API.IsConnected)
|
if (_API.IsConnected)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
@ -261,8 +262,6 @@ namespace Borepin.PageModel
|
|||||||
Log.Debug("RPC Connection Loss");
|
Log.Debug("RPC Connection Loss");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
IsBusy = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private ICommand _IdentifyLockCommand;
|
private ICommand _IdentifyLockCommand;
|
||||||
@ -274,8 +273,6 @@ namespace Borepin.PageModel
|
|||||||
|
|
||||||
public async void IdentifyLockCommandExecute()
|
public async void IdentifyLockCommandExecute()
|
||||||
{
|
{
|
||||||
IsBusy = true;
|
|
||||||
|
|
||||||
if (_API.IsConnected)
|
if (_API.IsConnected)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
@ -288,8 +285,6 @@ namespace Borepin.PageModel
|
|||||||
Log.Debug("RPC Connection Loss");
|
Log.Debug("RPC Connection Loss");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
IsBusy = false;
|
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user