2025-07-21 18:49:49 +08:00
|
|
|
|
|
|
|
|
|
|
using DMS.Core.Models;
|
|
|
|
|
|
|
|
|
|
|
|
namespace DMS.Core.Interfaces.Repositories
|
|
|
|
|
|
{
|
|
|
|
|
|
public interface IVariableTableRepository:IBaseRepository<VariableTable>
|
|
|
|
|
|
{
|
2025-07-24 18:09:46 +08:00
|
|
|
|
Task<int> DeleteByDeviceIdAsync(int deviceId);
|
2025-09-19 07:27:56 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 异步根据ID获取单个变量表。
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <param name="id">变量表的唯一标识符。</param>
|
|
|
|
|
|
/// <returns>对应的变量表实体,如果不存在则为null。</returns>
|
|
|
|
|
|
Task<List<VariableTable>> GetByDeviceIdAsync(int deviceId);
|
2025-07-21 18:49:49 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|