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