using Yw.DAL;
|
|
namespace HStation.DAL
|
{
|
/// <summary>
|
/// 泵曲线映射
|
/// </summary>
|
public interface IXhsPumpPhartMapping : IBaseDAL<Entity.XhsPumpPhartMapping>, IUpdateSorter
|
{
|
|
/// <summary>
|
/// 插入拓展
|
/// </summary>
|
long InsertEx(Entity.XhsPumpPhartMapping mapping, Entity.XhsPhartDiagram diagram, List<Entity.XhsPhartGraph> graphList);
|
|
/// <summary>
|
/// 更新拓展
|
/// </summary>
|
bool UpdateEx(Entity.XhsPumpPhartMapping mapping, Entity.XhsPhartDiagram diagram, List<Entity.XhsPhartGraph> graphList);
|
|
/// <summary>
|
/// 通过 PumpID 获取
|
/// </summary>
|
List<Entity.XhsPumpPhartMapping> GetByPumpID(long PumpID);
|
|
/// <summary>
|
/// 通过 PumpIds 获取
|
/// </summary>
|
List<Entity.XhsPumpPhartMapping> GetByPumpIds(List<long> PumpIds);
|
|
/// <summary>
|
/// 通过 DiagramID 获取
|
/// </summary>
|
List<Entity.XhsPumpPhartMapping> GetByDiagramID(long DiagramID);
|
|
/// <summary>
|
/// 通过 DiagramIds 获取
|
/// </summary>
|
List<Entity.XhsPumpPhartMapping> GetByDiagramIds(List<long> DiagramIds);
|
|
/// <summary>
|
/// 更新 OtherName
|
/// </summary>
|
bool UpdateOtherName(long ID, string OtherName);
|
|
/// <summary>
|
/// 更新 Importance
|
/// </summary>
|
bool UpdateImportance(long ID, int Importance);
|
|
/// <summary>
|
/// 通过 PumpID 删除
|
/// </summary>
|
bool DeleteByPumpID(long PumpID);
|
|
/// <summary>
|
/// 通过 DiagramID 删除(删除所有映射,图表,图形)
|
/// </summary>
|
bool DeleteByDiagramID(long DiagramID);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
}
|