ningshuxia
2023-02-24 96bce23bc80db11fe5594dd40a1c455585a86fb1
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
using System.ComponentModel.DataAnnotations;
 
namespace IStation.WinFormUI
{
    /// <summary>
    /// 模块枚举
    /// </summary>
    public enum eModular
    {
        [Display(Name = "项目")]
        Project = -1, 
    }
 
    /// <summary>
    /// 牟定类型
    /// </summary>
    public enum eDockType
    {
        Tab,
        Dock
    }
 
    /// <summary>
    /// 子牟定类型
    /// </summary>
    public enum eSubDockType
    {
        Dock_Left,
        Dock_Right
    }
 
    /// <summary>
    /// 接口标识
    /// </summary>
    public class SurfaceGuid
    {
        public eDockType DockType { get; set; }
        public eSubDockType SubDockType { get; set; }
        public eModular Modular { get; set; }
        public string Function { get; set; } 
        public string TagName { get; set; }
 
        public override string ToString()
        {
            return $"{(int)Modular}#{Function}#{TagName}";
        }
    }
}