using Yw.DAL; namespace HStation.DAL { /// /// 阀门曲线映射 /// public interface IXhsValveMainPhartMapping : IBaseDAL, IUpdateSorter { /// /// 插入拓展 /// long InsertEx(Entity.XhsValveMainPhartMapping mapping, Yw.Entity.PhartDiagram diagram, List graphList); /// /// 更新拓展 /// bool UpdateEx(Entity.XhsValveMainPhartMapping mapping, Yw.Entity.PhartDiagram diagram, List graphList); /// /// 通过 ValveMainID 获取 /// List GetByValveMainID(long ValveMainID); /// /// 通过 ValveMainIds 获取 /// List GetByValveMainIds(List ValveMainIds); /// /// 通过 DiagramID 获取 /// List GetByDiagramID(long DiagramID); /// /// 通过 DiagramIds 获取 /// List GetByDiagramIds(List DiagramIds); /// /// 更新 OtherName /// bool UpdateOtherName(long ID, string OtherName); /// /// 更新 Importance /// bool UpdateImportance(long ID, int Importance); /// /// 通过 ValveMainID 删除 /// bool DeleteByValveMainID(long ValveMainID); /// /// 通过 DiagramID 删除(删除所有映射,图表,图形) /// bool DeleteByDiagramID(long DiagramID); } }