Compare commits
1 Commits
LC
...
880fbfdb47
| Author | SHA1 | Date | |
|---|---|---|---|
| 880fbfdb47 |
@@ -47,6 +47,9 @@
|
||||
<Button Color="Color.Primary" Clicked="@GetCurrentObject">
|
||||
<Icon Name="IconName.Redo" />
|
||||
</Button>
|
||||
<Button Color="Color.Primary" Clicked="@AddOnFile">
|
||||
<Icon Name="IconName.FileUpload" />
|
||||
</Button>
|
||||
</Field>
|
||||
</CardText>
|
||||
</CardBody>
|
||||
@@ -438,6 +441,8 @@
|
||||
{
|
||||
visibleProgress = Visibility.Visible;
|
||||
try
|
||||
{
|
||||
await Task.Run(async () =>
|
||||
{
|
||||
foreach (var item in _list_obj)
|
||||
{
|
||||
@@ -472,6 +477,7 @@
|
||||
//await Task.Delay(500);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
@@ -483,6 +489,7 @@
|
||||
{
|
||||
visibleProgress = Visibility.Invisible;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -492,4 +499,10 @@
|
||||
_list_type = AllPubData.ListDeviceTypeItems;
|
||||
_list_dev = AllPubData.ListDeviceItems;
|
||||
}
|
||||
|
||||
private void AddOnFile()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
///TODO: Добавить возможность загрузить из файла
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user