refactor:删除了DeviceDto,VariableDto,VariableTableDto,改为使用DMS.Core中的实体

This commit is contained in:
2025-10-07 17:51:24 +08:00
parent 94ad940e03
commit b753e5ea73
52 changed files with 291 additions and 463 deletions

View File

@@ -1,5 +1,6 @@
using DMS.Application.DTOs;
using DMS.Core.Events;
using DMS.Core.Models;
namespace DMS.Application.Interfaces
{
@@ -10,7 +11,7 @@ namespace DMS.Application.Interfaces
/// </summary>
/// <param name="variable">变量DTO</param>
/// <returns>是否触发报警</returns>
bool CheckAlarm(VariableDto variable);
bool CheckAlarm(Variable variable);
/// <summary>
/// 警报事件