duheng
2024-07-23 3fec42c6383aa3b8d65f744a93b8a918d7cc6e02
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
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);
 
 
 
 
 
 
 
 
 
 
 
    }
}