解锁测试加上了亮灯指示
This commit is contained in:
parent
0044fdc9b1
commit
17c717db9e
@ -263,13 +263,22 @@ namespace Plane.FormationCreator.ViewModels
|
|||||||
{
|
{
|
||||||
await vcopter.UnlockAsync();
|
await vcopter.UnlockAsync();
|
||||||
}
|
}
|
||||||
|
await Task.Delay(1000);
|
||||||
|
|
||||||
await Task.Delay(10000);
|
foreach (var vcopter in _copterManager.Copters)
|
||||||
|
{
|
||||||
|
if (vcopter.IsUnlocked)
|
||||||
|
await vcopter.SetShowLEDAsync(true);
|
||||||
|
}
|
||||||
|
|
||||||
|
await Task.Delay(5000);
|
||||||
|
|
||||||
foreach (var vcopter in _copterManager.Copters)
|
foreach (var vcopter in _copterManager.Copters)
|
||||||
{
|
{
|
||||||
await vcopter.LockAsync();
|
await vcopter.LockAsync();
|
||||||
}
|
await vcopter.SetShowLEDAsync(false);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user