lixiaojun
2024-08-13 d06e5f065b7d1d2ccb8812d6aeb768b825a82d1e
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 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);
 
 
 
 
 
 
 
 
 
 
 
    }
}