wip
This commit is contained in:
@@ -22,7 +22,7 @@ public interface IDeviceDataService
|
||||
/// <summary>
|
||||
/// 添加设备。
|
||||
/// </summary>
|
||||
Task<CreateDeviceWithDetailsDto> AddDevice(CreateDeviceWithDetailsDto dto);
|
||||
Task<CreateDeviceWithDetailsDto?> AddDeviceAsync(CreateDeviceWithDetailsDto dto);
|
||||
|
||||
/// <summary>
|
||||
/// 删除设备。
|
||||
@@ -33,5 +33,4 @@ public interface IDeviceDataService
|
||||
/// 更新设备。
|
||||
/// </summary>
|
||||
Task<bool> UpdateDevice(DeviceItem device);
|
||||
Task<CreateDeviceWithDetailsDto?> AddDevice(CreateDeviceWithDetailsDto dto);
|
||||
}
|
||||
@@ -6,7 +6,7 @@ namespace DMS.WPF.Interfaces;
|
||||
/// <summary>
|
||||
/// 菜单数据服务接口。
|
||||
/// </summary>
|
||||
public interface IMenuWpfService
|
||||
public interface IMenuViewService
|
||||
{
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ public interface IWPFDataService
|
||||
/// <summary>
|
||||
/// 菜单数据服务。
|
||||
/// </summary>
|
||||
IMenuWpfService MenuDataService { get; }
|
||||
IMenuViewService MenuDataService { get; }
|
||||
|
||||
/// <summary>
|
||||
/// MQTT数据服务。
|
||||
|
||||
Reference in New Issue
Block a user