using JiShe.IoT.DeviceAggregation.Dto; using JiShe.ServicePro; using JiShe.ServicePro.Core; using JiShe.ServicePro.DeviceManagement.DeviceInfos; using JiShe.ServicePro.FileManagement.Files; using Volo.Abp; using Volo.Abp.Content; namespace JiShe.IoT.DeviceAggregation { /// /// 设备聚合服务 /// public interface IDeviceAggregationService : IApplicationService { /// /// 管理后台创建设备信息 /// /// /// Task CreateDeviceForApiAsync(CreateDeviceAggregationInput input); /// /// 管理后台批量创建设备信息 /// /// /// Task BatchCreateDeviceForApiAsync(BatchCreateDeviceAggregationInput input); /// /// 车间创建设备信息 /// /// /// Task CreateDeviceWorkshopAsync(CreateDeviceAggregationInput input); /// /// 车间批量创建设备信息 /// /// /// Task BatchCreateDeviceWorkshopAsync(BatchCreateDeviceAggregationInput input); /// /// 发送设备指令信息 /// /// /// Task DeviceCommandForApiAsync(DeviceCommandForApiInput input); /// /// 发送设备升级指令信息 /// /// /// Task DeviceUpgradeForApiAsync(DeviceUpgradeForApiInput input); /// /// 批量发送设备升级指令信息 /// /// /// Task DeviceBatchUpgradeForApiAsync(DeviceBatchUpgradeForApiInput input); /// /// 下载设备固件文件 /// Task DownloadFirmwareInfoAsync(IdInput input); /// /// 获取设备属性最新值 /// /// /// Task> GetDevicePropertyValueForApiAsync(DevicePropertyValueForApiInput input); /// /// 删除设备信息 /// /// /// /// Task DeleteAsync(IdInput input); /// /// 根据设备ID查询设备信息 /// /// /// /// Task FindByIdAsync(IdInput input); /// /// 重新推送设备信息到物联网平台 /// /// /// /// Task RepushDeviceInfoToIoTPlatform(IdInput input); /// /// 业务系统批量创建设备信息 /// /// /// Task BatchCreateDeviceBusinessSystemAsync(BatchCreateDeviceAggregationInput input); } }