实现了添加设备的功能,并写了Object对象的扩展CopyTo方法,实现了数据表的创建。
This commit is contained in:
@@ -8,7 +8,7 @@ public class DeviceDialogService : IDeviceDialogService
|
||||
{
|
||||
public async Task<Device> ShowAddDeviceDialog(Device device)
|
||||
{
|
||||
DeviceDialogViewModel ddvm = new DeviceDialogViewModel()
|
||||
DeviceDialogViewModel ddvm = new DeviceDialogViewModel(device)
|
||||
{
|
||||
Title = "添加设备"
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user