19 lines
506 B
C#
19 lines
506 B
C#
using Model;
|
|
using Model.Dto.Config;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Service.Interface.Config
|
|
{
|
|
/// <summary>
|
|
/// 设备指令下发 服务接口
|
|
/// </summary>
|
|
public interface IDeviceCommandService
|
|
{
|
|
/// <summary>
|
|
/// 按物模型可写点向设备下发指令
|
|
/// 每次调用都会写入设备日志;网关不可达时优雅降级(记录未连通)。
|
|
/// </summary>
|
|
Task<Result> SendCommandAsync(DeviceCommandDto dto);
|
|
}
|
|
}
|