按照软件设计文档开始重构代码01
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
using DMS.Core.Models;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using DMS.Infrastructure.Entities;
|
||||
|
||||
namespace DMS.Infrastructure.Interfaces
|
||||
{
|
||||
public interface IVariableMqttAliasRepository
|
||||
{
|
||||
Task<VariableMqtt?> GetByIdAsync(int variableDataId, int mqttId);
|
||||
Task<DbVariableMqttAlias?> GetByIdAsync(int variableDataId, int mqttId);
|
||||
Task<int> UpdateAliasAsync(int variableDataId, int mqttId, string newAlias);
|
||||
Task<int> DeleteAsync(int variableDataId, int mqttId);
|
||||
Task BeginTranAsync();
|
||||
|
||||
Reference in New Issue
Block a user