设备类添加产品字段、添加物模型类,新增产品CRUD方法
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user