markus / KCOM / Events / Load.cs @ 0f065e57
이력 | 보기 | 이력해설 | 다운로드 (1.76 KB)
1 |
using System; |
---|---|
2 |
using System.Collections.Generic; |
3 |
using System.IO; |
4 |
using System.Linq; |
5 |
using System.Text; |
6 |
//using MarkupToPDF.Service; |
7 |
using IKCOM; |
8 |
using KCOMDataModel.DataModel; |
9 |
using KCOMDataModel.Common; |
10 |
using System.Windows.Controls; |
11 |
using MarkupToPDF.Controls.Parsing; |
12 |
//강인구 추가 |
13 |
namespace KCOM.Event |
14 |
{ |
15 |
public class Load |
16 |
{ |
17 |
|
18 |
public string document_id |
19 |
{ |
20 |
get; |
21 |
set; |
22 |
} |
23 |
public int Page_No |
24 |
{ |
25 |
get; |
26 |
set; |
27 |
} |
28 |
public string User_Id |
29 |
{ |
30 |
get; |
31 |
set; |
32 |
} |
33 |
public string DisplayColor |
34 |
{ |
35 |
get; |
36 |
set; |
37 |
} |
38 |
public string Markupinfoid |
39 |
{ |
40 |
get; |
41 |
set; |
42 |
} |
43 |
|
44 |
//마크업 불러오기 |
45 |
public void Markup_Load(Canvas printCanvas) |
46 |
{ |
47 |
LayerControl layerControl = new LayerControl(); |
48 |
List<string> markupdata = new List<string>(); |
49 |
|
50 |
Logger.sendReqLog("GetMarkupDataListperPage: ", App.ViewInfo.ProjectNO + "," + Markupinfoid + "," + Page_No, 1); |
51 |
markupdata = Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.GetMarkupDataListperPage(App.ViewInfo.ProjectNO, Markupinfoid, Page_No); |
52 |
|
53 |
if (markupdata.Count() > 0) |
54 |
{ |
55 |
Logger.sendResLog("GetMarkupDataListperPage", "TRUE", 1); |
56 |
} |
57 |
else |
58 |
{ |
59 |
Logger.sendResLog("GetMarkupDataListperPage", "FALSE", 1); |
60 |
} |
61 |
|
62 |
foreach (string data in markupdata) |
63 |
{ |
64 |
layerControl.ProjectNo = App.ViewInfo.ProjectNO; |
65 |
layerControl.markupParse(data, printCanvas, DisplayColor, ""); |
66 |
} |
67 |
|
68 |
} |
69 |
} |
70 |
} |