markus / MarkusLogview / IKCOM / Interface.cs @ 77922798
이력 | 보기 | 이력해설 | 다운로드 (10.4 KB)
1 | 84578b97 | djkim | using System; |
---|---|---|---|
2 | using System.Collections.Generic; |
||
3 | using System.Linq; |
||
4 | using System.Text; |
||
5 | using System.Net; |
||
6 | using System.Web; |
||
7 | using System.ComponentModel.DataAnnotations; |
||
8 | |||
9 | namespace IKCOM |
||
10 | { |
||
11 | |||
12 | public class KCOM_SystemInfo |
||
13 | { |
||
14 | public string HostName { get; set; } |
||
15 | public string HostPort { get; set; } |
||
16 | public string Notify { get; set; } |
||
17 | } |
||
18 | |||
19 | public class BooleanExt |
||
20 | { |
||
21 | public bool Result { get; set; } |
||
22 | public string ResultMessage { get; set; } |
||
23 | } |
||
24 | |||
25 | // begin :: 각 URL 의 파라미터 !! |
||
26 | // Method_Param |
||
27 | #region 페이지 파라미터 |
||
28 | public class pInitDateFilter |
||
29 | { |
||
30 | [Required] |
||
31 | public DateTime pStart { get; set; } |
||
32 | [Required] |
||
33 | public DateTime pEnd { get; set; } |
||
34 | } |
||
35 | |||
36 | public class pDocumentInProject |
||
37 | { |
||
38 | public string pProjectNO { get; set; } |
||
39 | public string pStartDate { get; set; } |
||
40 | public string pEndDate { get; set; } |
||
41 | } |
||
42 | |||
43 | public class pLoginIndex |
||
44 | { |
||
45 | [Required] |
||
46 | public string ID { get; set; } |
||
47 | [Required] |
||
48 | public string PWD { get; set; } |
||
49 | } |
||
50 | |||
51 | public class pGetDocumentItemList |
||
52 | { |
||
53 | [Required] |
||
54 | public string ProjectNO { get; set; } |
||
55 | } |
||
56 | |||
57 | public class pDeleteDocumentList |
||
58 | { |
||
59 | public string[] DocList { get; set; } |
||
60 | public string ProjectNO { get; set; } |
||
61 | public string PageName { get; set; } |
||
62 | } |
||
63 | |||
64 | public class pDeleteServiceParams |
||
65 | { |
||
66 | public string DocumentID { get; set; } |
||
67 | public string ProjectNO { get; set; } |
||
68 | } |
||
69 | |||
70 | public class pDocumentMessage |
||
71 | { |
||
72 | public string pDocumentInfo { get; set; } |
||
73 | } |
||
74 | |||
75 | public class pRetryDocument |
||
76 | { |
||
77 | public string projectNO { get; set; } |
||
78 | public string[] documentID { get; set; } |
||
79 | |||
80 | } |
||
81 | |||
82 | |||
83 | |||
84 | public class pReMerge |
||
85 | { |
||
86 | |||
87 | } |
||
88 | |||
89 | public class pLicenseFilter |
||
90 | { |
||
91 | public DateTime startDate { get; set; } |
||
92 | public DateTime endDate { get; set; } |
||
93 | } |
||
94 | |||
95 | public class pRegistUser |
||
96 | { |
||
97 | [Required] |
||
98 | public string ID { get; set; } |
||
99 | [Required] |
||
100 | public string Name { get; set; } |
||
101 | [Required] |
||
102 | public string Password { get; set; } |
||
103 | [Required] |
||
104 | public string Email { get; set; } |
||
105 | [Required] |
||
106 | public string Project { get; set; } |
||
107 | [Required] |
||
108 | public string Department { get; set; } |
||
109 | [Required] |
||
110 | public string Position { get; set; } |
||
111 | } |
||
112 | |||
113 | public class pModifyUser |
||
114 | { |
||
115 | [Required] |
||
116 | public string ID { get; set; } |
||
117 | [Required] |
||
118 | public string Name { get; set; } |
||
119 | [Required] |
||
120 | public string Email { get; set; } |
||
121 | [Required] |
||
122 | public string Company { get; set; } |
||
123 | [Required] |
||
124 | public string Department { get; set; } |
||
125 | [Required] |
||
126 | public string Position { get; set; } |
||
127 | [Required] |
||
128 | public string Project { get; set; } |
||
129 | } |
||
130 | |||
131 | public class pUserStatus |
||
132 | { |
||
133 | public string ID { get; set; } |
||
134 | public string UserID { get; set; } |
||
135 | public string Email { get; set; } |
||
136 | public int ChangeType { get; set; } |
||
137 | } |
||
138 | |||
139 | public class pSign |
||
140 | { |
||
141 | public string ID { get; set; } |
||
142 | public string UserID { get; set; } |
||
143 | public string image { get; set; } |
||
144 | } |
||
145 | |||
146 | public class pDate |
||
147 | { |
||
148 | public DateTime startDate { get; set; } |
||
149 | public DateTime endDate { get; set; } |
||
150 | } |
||
151 | |||
152 | public class pFilterData |
||
153 | { |
||
154 | public DateTime firstMonth { get; set; } |
||
155 | public DateTime lastMonth { get; set; } |
||
156 | } |
||
157 | |||
158 | public class FilterConvertDocument |
||
159 | { |
||
160 | public int draw { get; set; } |
||
161 | public int start { get; set; } |
||
162 | public int length { get; set; } |
||
163 | public string projectNo { get; set; } |
||
164 | public DateTime startDate { get; set; } |
||
165 | public DateTime endDate { get; set; } |
||
166 | } |
||
167 | |||
168 | // end :: 각 URL 의 파라미터 !! |
||
169 | |||
170 | // begin :: 공통 파라미터 |
||
171 | public class DateNotFoundDate |
||
172 | { |
||
173 | public DateTime startDate { get; set; } |
||
174 | public DateTime endDate { get; set; } |
||
175 | } |
||
176 | |||
177 | public class ProjectDocumentTableParameters |
||
178 | { |
||
179 | public List<DataTableColumn> Columns { get; set; } |
||
180 | public int Draw { get; set; } |
||
181 | public int Length { get; set; } |
||
182 | public List<DataOrder> Order { get; set; } |
||
183 | public Search Search { get; set; } |
||
184 | public int start { get; set; } |
||
185 | public DateTime startDate { get; set; } |
||
186 | public DateTime endDate { get; set; } |
||
187 | public string projectNo { get; set; } |
||
188 | } |
||
189 | |||
190 | public class DataTableParameters |
||
191 | { |
||
192 | public List<DataTableColumn> Columns { get; set; } |
||
193 | public int Draw { get; set; } |
||
194 | public int Length { get; set; } |
||
195 | public List<DataOrder> Order { get; set; } |
||
196 | public Search Search { get; set; } |
||
197 | public int start { get; set; } |
||
198 | public DateTime startDate { get; set; } |
||
199 | public DateTime endDate { get; set; } |
||
200 | public string projectNo { get; set; } |
||
201 | } |
||
202 | |||
203 | public class Search |
||
204 | { |
||
205 | public bool Regex { get; set; } |
||
206 | public string Value { get; set; } |
||
207 | } |
||
208 | |||
209 | public class DataTableColumn |
||
210 | { |
||
211 | public int Data { get; set; } |
||
212 | public string Name { get; set; } |
||
213 | public bool Orderable { get; set; } |
||
214 | public bool Searchable { get; set; } |
||
215 | public Search Search { get; set; } |
||
216 | |||
217 | } |
||
218 | |||
219 | public class DataOrder |
||
220 | { |
||
221 | public int Column { get; set; } |
||
222 | public string Dir { get; set; } |
||
223 | |||
224 | |||
225 | } |
||
226 | |||
227 | // end :: 공통 파라미터 |
||
228 | |||
229 | #endregion |
||
230 | |||
231 | |||
232 | public class ViewInfo |
||
233 | { |
||
234 | |||
235 | public string DocumentItemID { get; set; } |
||
236 | public bool bPartner { get; set; } |
||
237 | public bool CreateFinalPDFPermission { get; set; } |
||
238 | public bool NewCommentPermission { get; set; } |
||
239 | public string ProjectNO { get; set; } |
||
240 | public string UserID { get; set; } |
||
241 | public int Mode { get; set; } |
||
242 | |||
243 | |||
244 | /// <summary> |
||
245 | /// 생성자 |
||
246 | /// </summary> |
||
247 | public ViewInfo() { |
||
248 | DocumentItemID = "11111112"; |
||
249 | bPartner = false; |
||
250 | CreateFinalPDFPermission = true; |
||
251 | NewCommentPermission = true; |
||
252 | ProjectNO = "000000"; |
||
253 | UserID = "H2009115"; |
||
254 | Mode = 0; |
||
255 | } |
||
256 | |||
257 | } |
||
258 | |||
259 | public class GET_PROJECT_TYPE |
||
260 | { |
||
261 | public string Convert { get; set; } |
||
262 | public string Merge { get; set; } |
||
263 | |||
264 | public GET_PROJECT_TYPE() { |
||
265 | Convert = "convertDocument"; |
||
266 | Merge = "mergeDocument"; |
||
267 | } |
||
268 | |||
269 | } |
||
270 | |||
271 | public enum SERVICE_NAME |
||
272 | { |
||
273 | CONVERTER = 0, |
||
274 | VIEW = 1, |
||
275 | FINAL = 2, |
||
276 | API = 3, |
||
277 | } |
||
278 | |||
279 | public enum LEVEL |
||
280 | { |
||
281 | LOW = 0, |
||
282 | MEDIUM = 1, |
||
283 | HIGH = 2, |
||
284 | CRITICAL = 3, |
||
285 | } |
||
286 | |||
287 | public enum ERROR_TYPE |
||
288 | { |
||
289 | SYSTEM = 0, |
||
290 | DATABASE = 1, |
||
291 | NORMAL = 2, |
||
292 | PDF = 3, |
||
293 | UPLOAD = 4, |
||
294 | CONVERT = 5, |
||
295 | } |
||
296 | |||
297 | public enum UPLOAD_TYPE : int |
||
298 | { |
||
299 | NEWDOCUMENT = 0, |
||
300 | REVISIONUP = 1 |
||
301 | } |
||
302 | |||
303 | public enum LICENSE_TYPE : int |
||
304 | { |
||
305 | ACTIVE = 1, |
||
306 | INACTIVE = 0, |
||
307 | } |
||
308 | |||
309 | public enum MARKUS_CONNECTION_TYPE : int |
||
310 | { |
||
311 | PROCESSING = 1, |
||
312 | TERMINATE = 0, |
||
313 | REJECT = 2, |
||
314 | OTHER_DEVICE = -1 |
||
315 | } |
||
316 | |||
317 | public class MARKUS_CONNECTION_STR |
||
318 | { |
||
319 | public string processing { get; set; } |
||
320 | public string reject { get; set; } |
||
321 | public string terminate { get; set; } |
||
322 | |||
323 | public MARKUS_CONNECTION_STR() |
||
324 | { |
||
325 | processing = "Processing"; |
||
326 | reject = "Reject"; |
||
327 | terminate = "Terminate"; |
||
328 | } |
||
329 | } |
||
330 | |||
331 | public class LICENSE_COMMENT |
||
332 | { |
||
333 | public string reject { get; set; } |
||
334 | public string forceDisconnection { get; set; } |
||
335 | public string forceConnection { get; set; } |
||
336 | public LICENSE_COMMENT() |
||
337 | { |
||
338 | reject = "No License Permission"; |
||
339 | forceDisconnection = "Force Disconnection"; |
||
340 | forceConnection = "Force Connection"; |
||
341 | } |
||
342 | |||
343 | } |
||
344 | |||
345 | public class LICENSE_DEF |
||
346 | { |
||
347 | public string LicenseCertified { get; set; } |
||
348 | public string LicenseCount { get; set; } |
||
349 | public string LimitTime { get; set; } |
||
350 | public string PropNumA { get; set; } |
||
351 | public string PropNumB { get; set; } |
||
352 | public string PropNumC { get; set; } |
||
353 | |||
354 | public LICENSE_DEF() |
||
355 | { |
||
356 | LicenseCertified = "LicenseCertified"; |
||
357 | LicenseCount = "LicenseCount"; |
||
358 | LimitTime = "LimitTime"; |
||
359 | PropNumA = "1"; |
||
360 | PropNumB = "2"; |
||
361 | PropNumC = "3"; |
||
362 | } |
||
363 | |||
364 | } |
||
365 | |||
366 | public class LICENSE_DEFINE |
||
367 | { |
||
368 | public string LICENSE_KEY { get; set; } |
||
369 | public string LICENSE_COUNT { get; set; } |
||
370 | public string LICENSE_UPDATE_TIME { get; set; } |
||
371 | public string LICENSE_LIMIT_TIME { get; set; } |
||
372 | public string KEY_A { get; set; } |
||
373 | public string KEY_B { get; set; } |
||
374 | public string KEY_C { get; set; } |
||
375 | |||
376 | public string LICENSE_DEFAULT_KEY { get; set; } |
||
377 | |||
378 | public LICENSE_DEFINE() |
||
379 | { |
||
380 | LICENSE_KEY = "LICENSE_KEY"; |
||
381 | LICENSE_COUNT = "LICENSE_COUNT"; |
||
382 | LICENSE_UPDATE_TIME = "LICENSE_UPDATE_TIME"; |
||
383 | KEY_A = "KEY_HASH_A"; |
||
384 | KEY_B = "KEY_HASH_B"; |
||
385 | KEY_C = "KEY_HASH_C"; |
||
386 | LICENSE_DEFAULT_KEY = "0"; |
||
387 | LICENSE_LIMIT_TIME = "LICENSE_LIMIT_TIME"; |
||
388 | } |
||
389 | } |
||
390 | |||
391 | public static class LICENSE_XML_DEFINE |
||
392 | { |
||
393 | public const string LICENSE_KEY = "LICENSE_KEY"; |
||
394 | public const string LICENSE_COUNT = "LICENSE_COUNT"; |
||
395 | public const string LICENSE_UPDATE_TIME = "LICENSE_UPDATE_TIME"; |
||
396 | public const string LICENSE_LIMIT_TIME = "LICENSE_LIMIT_TIME"; |
||
397 | public const string KEY_A = "KEY_HASH_A"; |
||
398 | public const string KEY_B = "KEY_HASH_B"; |
||
399 | public const string KEY_C = "KEY_HASH_C"; |
||
400 | public const string LICENSE_DEFAULT_KEY = "0"; |
||
401 | public const string IS_ENCRYPT = "IS_ENCRYPT"; |
||
402 | |||
403 | } |
||
404 | |||
405 | public static class LogviewHubBaseURI |
||
406 | { |
||
407 | |||
408 | /// <summary> |
||
409 | /// cloud.devdoftech.co.kr |
||
410 | /// </summary> |
||
411 | public const string Url = "http://cloud.devdoftech.co.kr"; |
||
412 | public const string Port = ":5100"; |
||
413 | |||
414 | /// 효성 |
||
415 | //public const string Url = "http://10.11.252.3"; |
||
416 | //public const string Port = ":9875"; |
||
417 | //public const string SignalrPath = "/signalr"; |
||
418 | |||
419 | public const string SignalrPath = "/signalr"; |
||
420 | public const string file = "/js"; |
||
421 | |||
422 | } |
||
423 | |||
424 | } |