개정판 7f8a2ff4
Revert "markus 성능개선"
This reverts commit 0cda2a885008c0503d20d124631932685c72d462.
Reason for revert: <INSERT REASONING HERE>
Change-Id: I837f890fec6a85da9553dd6c0dad5a887b9956ed
KCOM/Events/SaveCommand.cs | ||
---|---|---|
72 | 72 |
/// </summary> |
73 | 73 |
/// <param name="UserState"></param> |
74 | 74 |
/// <param name="iPageNo"></param> |
75 |
public async void Execute(ICollection<MarkupInfoItem> UserStates)
|
|
75 |
public void Execute(ICollection<MarkupInfoItem> UserStates) |
|
76 | 76 |
{ |
77 | 77 |
try |
78 | 78 |
{ |
79 |
var mainmenu = Common.ViewerDataModel.Instance.SystemMain.dzMainMenu; |
|
80 |
var client = mainmenu.BaseTaskClient; |
|
81 |
|
|
82 | 79 |
foreach (var UserState in UserStates) |
83 | 80 |
{ |
84 | 81 |
List<MARKUP_DATA> markupdata = new List<MARKUP_DATA>(); |
... | ... | |
96 | 93 |
|
97 | 94 |
|
98 | 95 |
|
99 |
var SaveResult = await client.SaveMarkupDataAsync(UserState, Project_No, document_id, user_id, markupdata);
|
|
96 |
var SaveResult = Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.SaveMarkupData(UserState, Project_No, document_id, user_id, markupdata);
|
|
100 | 97 |
|
101 | 98 |
Logger.sendResLog("SaveCommand.Instance.Execute" , $"SaveMarkupData Call Project : {Project_No} DocID :{document_id} User ID {user_id} result {SaveResult}",1); |
102 | 99 |
|
103 |
mainmenu.MarkupitemViewUpdate(UserState.MarkupInfoID);
|
|
100 |
Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.MarkupitemViewUpdate(UserState.MarkupInfoID);
|
|
104 | 101 |
} |
105 | 102 |
//User Information List Rebind |
106 |
mainmenu.gridViewMarkup.Rebind();
|
|
103 |
Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.gridViewMarkup.Rebind();
|
|
107 | 104 |
TempFile.Remove(); //임시파일삭제 |
108 | 105 |
} |
109 | 106 |
catch (Exception) |
... | ... | |
155 | 152 |
} |
156 | 153 |
} |
157 | 154 |
|
158 |
public async void PageAngleSave(string project_no, List<DOCPAGE> _mldocpage)
|
|
155 |
public void PageAngleSave(string project_no, List<DOCPAGE> _mldocpage) |
|
159 | 156 |
{ |
160 | 157 |
try |
161 | 158 |
{ |
162 |
var result = await Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseTaskClient.SavePageAngleAsync(project_no, _mldocpage); |
|
163 |
Common.ViewerDataModel.Instance.RotationDocs.Clear(); |
|
164 |
|
|
165 | 159 |
Logger.sendReqLog("SavePageAngle: ", project_no + "," + _mldocpage, 1); |
166 |
Logger.sendResLog("SavePageAngle", result.ToString(), 1);
|
|
167 |
|
|
160 |
Logger.sendResLog("SavePageAngle", Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.SavePageAngle(project_no, _mldocpage).ToString(), 1);
|
|
161 |
Common.ViewerDataModel.Instance.RotationDocs.Clear(); |
|
168 | 162 |
} |
169 | 163 |
catch (Exception) |
170 | 164 |
{ |
내보내기 Unified diff