设备类添加产品字段、添加物模型类,新增产品CRUD方法

This commit is contained in:
2026-09-03 17:16:28 +08:00
parent cfa8e78d33
commit bcd6484f45
29 changed files with 1611 additions and 23 deletions
@@ -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);
}
}