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