프로젝트

일반

사용자정보

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

markus / IKCOM / Interface.cs @ 43e1d368

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

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

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

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

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

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

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

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

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

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

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

    
88

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

    
109
    //public class _MemberDeptColors
110
    //{
111
    //    public List<MEMBER_DEPT_COLOR> _memberDeptColors { get; set; }
112
    //}
113

    
114
    //public class _MemberDeptColorsInfo
115
    //{
116
    //    public List<MEMBER_DEPT_COLORINFO> _memberDeptColorsInfo { get; set; }
117
    //}
118

    
119
    public class MarkupItemEx : MarkupItem
120
    {
121
        public string MarkupInfoID { get; set; }
122
        public bool IsUpdate { get; set; }
123
    }
124

    
125

    
126
    public class VPRevision
127
    {
128
        public string RevNo { get; set; }
129
        public string GroupNo { get; set; }
130
        public string RESULT { get; set; }
131
        public string FROM_VENDOR { get; set; }
132
        public string TO_VENDOR { get; set; }
133
        public string DOCUMENT_ID { get; set; }
134
        //public string SharePointItemID { get; set; }
135
        //public string BrowserPath { get; set; }
136
        public string DocNo { get; set; }
137
        public string EnsembleLink { get; set; }
138
        public bool IsSyncPossible { get; set; }
139
    }
140

    
141
    public class AttachedItem
142
    {
143
        public string AttachUri { get; set; }
144
        public string Filename { get; set; }
145
        public string CreateUserID { get; set; }
146
        public string CreateUserName { get; set; }
147
        public DateTime CreateDate { get; set; }
148
    }
149

    
150

    
151
    public class MarkupItem
152
    {
153
        public string ID { get; set; }
154
        public int PageNumber { get; set; }
155
        public string Data { get; set; }
156
        public int Data_Type { get; set; }
157
        public string ParsingMemo { get; set; }
158
        public string Symbol_ID { get; set; }
159
        //public long Group_ID { get; set; }
160
    }
161
    public enum SERVICE_NAME
162
    {
163
        CONVERTER = 0,
164
        VIEW = 1,
165
        FINAL = 2,
166
        API = 3,
167
    }
168

    
169
    public enum LEVEL
170
    {
171
        LOW = 0,
172
        MEDIUM = 1,
173
        HIGH = 2,
174
        CRITICAL = 3,
175
    }
176

    
177
    public enum ERROR_TYPE
178
    {
179
        SYSTEM = 0,
180
        DATABASE = 1,
181
        NORMAL = 2,
182
        PDF = 3,
183
        UPLOAD = 4,
184
        CONVERT = 5,
185
    }
186

    
187
    public enum FAVORITE_FLAG
188
    {
189
        [System.ComponentModel.Description("#FF275EFC")] //ARGB 순
190
        ALL,
191
        [System.ComponentModel.Description("#FF275EFF")] //ARGB 순
192
        TeamShare,
193
        [System.ComponentModel.Description("#FF72B21B")]
194
        Personal,
195
        //[Description("#FFCC330D")]
196
        //VeryHigh,
197
    }
198
}
클립보드 이미지 추가 (최대 크기: 500 MB)