按照软件设计文档开始重构代码01
This commit is contained in:
13
DMS.Core/Interfaces/IVariableRepository.cs
Normal file
13
DMS.Core/Interfaces/IVariableRepository.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using DMS.Core.Models;
|
||||
|
||||
namespace DMS.Core.Interfaces;
|
||||
|
||||
public interface IVariableRepository : IBaseRepository<Variable>
|
||||
{
|
||||
/// <summary>
|
||||
/// 异步获取一个变量及其关联的所有MQTT别名和对应的MQTT服务器信息。
|
||||
/// </summary>
|
||||
/// <param name="variableId">变量ID。</param>
|
||||
/// <returns>包含别名和服务器信息的变量对象。</returns>
|
||||
Task<Variable> GetVariableWithMqttAliasesAsync(int variableId);
|
||||
}
|
||||
Reference in New Issue
Block a user