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