프로젝트

일반

사용자정보

통계
| 브랜치(Branch): | 개정판:

markus / IKCOM / Interface.cs @ master

이력 | 보기 | 이력해설 | 다운로드 (5.28 KB)

1
using KCOMDataModel.DataModel;
2
using MarkupToPDF.Controls.Common;
3
using System;
4
using System.Collections.Generic;
5
using System.ComponentModel;
6
using System.Linq;
7
using System.Text;
8
using System.Windows.Controls;
9

    
10
namespace IKCOM
11
{
12
    public class Square
13
    {
14
        //0 = x, 1 = y
15
        public bool Size { get; set; }
16
        public double value { get; set; }
17
    }
18

    
19
    public class KCOM_SystemInfo
20
    {
21
        public string HostName { get; set; }
22
        public string HostPort { get; set; }
23
        public string Notify { get; set; }
24
        public string STAMP { get; set; }
25
        public Dictionary<string,string> STAMP_CONTENTS { get; set; }
26
    }
27
    //public class CommentUserInfo : Control
28
    //{
29
    //    public string Memo { get; set; }
30
    //    public string MarkupInfoID { get; set; }
31
    //}
32
    public class BooleanExt
33
    {
34
        public bool Result { get; set; }
35
        public string ResultMessage { get; set; }
36
    }
37

    
38
    public class KCOM_BasicParam
39
    {
40
        public string projectNo { get; set; }
41
        public string documentID { get; set; }
42
        public string userID { get; set; }
43
    }
44

    
45
    public class ViewInfo
46
    {
47
        public string ProjectNO { get; set; }
48
        public string UserID { get; set; }
49
        public string DocumentItemID { get; set; }
50
        public string EnsembleID { get; set; }
51
        public bool NewCommentPermission { get; set; }
52
        public bool CreateFinalPDFPermission { get; set; }
53
        public bool bPartner { get; set; }
54
        public bool isAdmin { get; set; }
55
        public string CustomHeader { get; set; }
56
        public string StartPage { get; set; }
57
        public bool IsCustomPage { get; set; }
58
    }
59

    
60
    public class DisplayColorInfo
61
    {
62
        public string UserID { get; set; }
63
        public string DisplayColor { get; set; }
64
        public string Department { get; set; }
65
        public string UserName { get; set; }
66
    }
67

    
68
    public class MarkupPageItem
69
    {
70
        public MarkupPageItem()
71
        {
72
            DisplayColorItems = new List<SetColorMarkupItem>();
73
        }
74

    
75
        public int PageNumber { get; set; }
76
        public List<SetColorMarkupItem> DisplayColorItems { get; set; }
77
    }
78

    
79
    public class SetColorMarkupItem
80
    {
81
        /// GUID가 아닌 STRING으로 변경
82
        public string markupID { get; set; }
83
        //public Guid markupID { get; set; }
84
        public string DisplayColor { get; set; }
85

    
86
        public int Page { get; set; }
87
    }
88

    
89

    
90
    public class MarkupInfoItem
91
    {
92
        public string MarkupInfoID { get; set; }
93
        public int PageCount { get; set; }
94
        public string MarkupVersionID { get; set; }
95
        public string UserID { get; set; }
96
        public string UserName { get; set; }
97
        public string Depatment { get; set; }
98
        public string Description { get; set; }
99
        public string DisplayColor { get; set; }
100
        public DateTime CreateTime { get; set; }
101
        public DateTime UpdateTime { get; set; }
102
        public int Consolidate { get; set; }
103
        public bool userDelete { get; set; }
104
        public List<MarkupItem> MarkupList { get; set; }
105
        public int AvoidConsolidate { get; set; }
106
        public int PartConsolidate { get; set; }
107
        public bool IsPreviewUser { get; set; }
108
    }
109

    
110
    public class MarkupItemEx : MarkupItem
111
    {
112
        public string MarkupInfoID { get; set; }
113
        public bool IsUpdate { get; set; }
114
    }
115

    
116

    
117
    public class VPRevision
118
    {
119
        public string RevNo { get; set; }
120
        public string GroupNo { get; set; }
121
        public string RESULT { get; set; }
122
        public string FROM_VENDOR { get; set; }
123
        public string TO_VENDOR { get; set; }
124
        public string DOCUMENT_ID { get; set; }
125
        //public string SharePointItemID { get; set; }
126
        //public string BrowserPath { get; set; }
127
        public string DocNo { get; set; }
128
        public string EnsembleLink { get; set; }
129
        public bool IsSyncPossible { get; set; }
130
    }
131

    
132
    public class AttachedItem
133
    {
134
        public string AttachUri { get; set; }
135
        public string Filename { get; set; }
136
        public string CreateUserID { get; set; }
137
        public string CreateUserName { get; set; }
138
        public DateTime CreateDate { get; set; }
139
    }
140

    
141

    
142
    public class MarkupItem
143
    {
144
        public string ID { get; set; }
145
        public int PageNumber { get; set; }
146
        public string Data { get; set; }
147
        public int Data_Type { get; set; }
148
        public string ParsingMemo { get; set; }
149
        public string Symbol_ID { get; set; }
150
        [Description("컨트롤의 ZIndex")]
151
        public int ZIndex{ get; set; }
152
    }
153
    public enum SERVICE_NAME
154
    {
155
        CONVERTER = 0,
156
        VIEW = 1,
157
        FINAL = 2,
158
        API = 3,
159
    }
160

    
161
    public enum LEVEL
162
    {
163
        LOW = 0,
164
        MEDIUM = 1,
165
        HIGH = 2,
166
        CRITICAL = 3,
167
    }
168

    
169
    public enum ERROR_TYPE
170
    {
171
        SYSTEM = 0,
172
        DATABASE = 1,
173
        NORMAL = 2,
174
        PDF = 3,
175
        UPLOAD = 4,
176
        CONVERT = 5,
177
    }
178

    
179
    public enum FAVORITE_FLAG
180
    {
181
        [System.ComponentModel.Description("#FF275EFC")] //ARGB 순
182
        ALL,
183
        [System.ComponentModel.Description("#FF275EFF")] //ARGB 순
184
        TeamShare,
185
        [System.ComponentModel.Description("#FF72B21B")]
186
        Personal,
187
        //[Description("#FFCC330D")]
188
        //VeryHigh,
189
    }
190
}
클립보드 이미지 추가 (최대 크기: 500 MB)