프로젝트

일반

사용자정보

개정판 eeb0a39c

IDeeb0a39ca8180c29d5415f829d103499821735f1
상위 1f686727
하위 14bbabc0

김태성이(가) 약 5년 전에 추가함

Master 변경

Change-Id: I88bac84fa474fd4c174dc1fffa19eae5303ba2bc

차이점 보기:

KCOM/Events/SaveCommand.cs
72 72
        /// </summary>
73 73
        /// <param name="UserState"></param>
74 74
        /// <param name="iPageNo"></param>
75
        public void Execute(ICollection<MarkupInfoItem> UserStates)
75
        public async 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

  
79 82
                foreach (var UserState in UserStates)
80 83
                {
81 84
                    List<MARKUP_DATA> markupdata = new List<MARKUP_DATA>();
......
93 96

  
94 97

  
95 98

  
96
                    var SaveResult = Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.SaveMarkupData(UserState, Project_No, document_id, user_id, markupdata);
99
                    var SaveResult = await client.SaveMarkupDataAsync(UserState, Project_No, document_id, user_id, markupdata);
97 100

  
98 101
                    Logger.sendResLog("SaveCommand.Instance.Execute" , $"SaveMarkupData Call Project : {Project_No} DocID :{document_id} User ID {user_id} result {SaveResult}",1);
99 102

  
100
                    Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.MarkupitemViewUpdate(UserState.MarkupInfoID);
103
                    mainmenu.MarkupitemViewUpdate(UserState.MarkupInfoID);
101 104
                }
102 105
                //User Information List Rebind
103
                Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.gridViewMarkup.Rebind();
106

  
107
                mainmenu.gridViewMarkup.Rebind();
104 108
                TempFile.Remove(); //임시파일삭제                
109

  
105 110
            }
106 111
            catch (Exception)
107 112
            {
......
152 157
            }
153 158
        }
154 159

  
155
        public void PageAngleSave(string project_no, List<DOCPAGE> _mldocpage)
160
        public async void PageAngleSave(string project_no, List<DOCPAGE> _mldocpage)
156 161
        {
157 162
            try
158 163
            {
159
                Logger.sendReqLog("SavePageAngle: ", project_no + "," + _mldocpage, 1);
160
                Logger.sendResLog("SavePageAngle", Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.SavePageAngle(project_no, _mldocpage).ToString(), 1);
164
                var result = await Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseTaskClient.SavePageAngleAsync(project_no, _mldocpage);
161 165
                Common.ViewerDataModel.Instance.RotationDocs.Clear();
166

  
167
                Logger.sendReqLog("SavePageAngle: ", project_no + "," + _mldocpage, 1);
168
                Logger.sendResLog("SavePageAngle", result.ToString(), 1);
169
             
162 170
            }
163 171
            catch (Exception)
164 172
            {

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)