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