43 lines
1.2 KiB
C#
43 lines
1.2 KiB
C#
|
|
using JiShe.IoT.DeviceAggregation.Dto;
|
|||
|
|
using JiShe.ServicePro.Core;
|
|||
|
|
using JiShe.ServicePro.DeviceManagement.DeivceInfos.Dto;
|
|||
|
|
using JiShe.ServicePro.DeviceManagement.Meters.Dto;
|
|||
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
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);
|
|||
|
|
}
|
|||
|
|
}
|