37 lines
1.1 KiB
C#
Raw Normal View History

using JiShe.IoT.DeviceAggregation.Dto;
using JiShe.ServicePro.Core;
2025-07-25 17:27:21 +08:00
using JiShe.ServicePro.DeviceManagement.DeviceInfos;
using Volo.Abp;
namespace JiShe.IoT.DeviceAggregation
{
/// <summary>
/// 设备聚合服务
/// </summary>
public interface IDeviceAggregationService
{
/// <summary>
/// 创建设备信息
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
Task<bool> CreateAsync(CreateDeviceAggregationInput input);
/// <summary>
/// 删除设备信息
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
/// <exception cref="UserFriendlyException"></exception>
Task<bool> DeleteAsync(IdInput input);
/// <summary>
/// 根据设备ID查询设备信息
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
/// <exception cref="UserFriendlyException"></exception>
Task<DeviceManagementInfoDto> FindByIdAsync(IdInput input);
}
}