using Yw.DAL;
|
|
namespace HStation.DAL
|
{
|
/// <summary>
|
/// 泵曲线映射
|
/// </summary>
|
public interface IXhsPumpMainPhartMapping : IBaseDAL<Entity.XhsPumpMainPhartMapping>, IUpdateSorter
|
{
|
|
/// <summary>
|
/// 插入拓展
|
/// </summary>
|
long InsertEx(Entity.XhsPumpMainPhartMapping mapping, Yw.Entity.PhartDiagram diagram, List<Yw.Entity.PhartGraph> graphList);
|
|
/// <summary>
|
/// 更新拓展
|
/// </summary>
|
bool UpdateEx(Entity.XhsPumpMainPhartMapping mapping, Yw.Entity.PhartDiagram diagram, List<Yw.Entity.PhartGraph> graphList);
|
|
/// <summary>
|
/// 通过 PumpMainID 获取
|
/// </summary>
|
List<Entity.XhsPumpMainPhartMapping> GetByPumpMainID(long PumpMainID);
|
|
/// <summary>
|
/// 通过 PumpMainIds 获取
|
/// </summary>
|
List<Entity.XhsPumpMainPhartMapping> GetByPumpMainIds(List<long> PumpMainIds);
|
|
/// <summary>
|
/// 通过 DiagramID 获取
|
/// </summary>
|
List<Entity.XhsPumpMainPhartMapping> GetByDiagramID(long DiagramID);
|
|
/// <summary>
|
/// 通过 DiagramIds 获取
|
/// </summary>
|
List<Entity.XhsPumpMainPhartMapping> GetByDiagramIds(List<long> DiagramIds);
|
|
/// <summary>
|
/// 更新 OtherName
|
/// </summary>
|
bool UpdateOtherName(long ID, string OtherName);
|
|
/// <summary>
|
/// 更新 Importance
|
/// </summary>
|
bool UpdateImportance(long ID, int Importance);
|
|
/// <summary>
|
/// 通过 PumpMainID 删除
|
/// </summary>
|
bool DeleteByPumpMainID(long PumpMainID);
|
|
/// <summary>
|
/// 通过 DiagramID 删除(删除所有映射,图表,图形)
|
/// </summary>
|
bool DeleteByDiagramID(long DiagramID);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
}
|