프로젝트

일반

사용자정보

개정판 0f065e57

ID0f065e57952ad324d3b2daa450b3883f2f40cd77
상위 114015fd
하위 ca16abb2

이지연이(가) 약 6년 전에 추가함

issue #745 markus client log

차이점 보기:

KCOM/Views/MainMenu.xaml.cs
347 347
                    App.Custom_ViewInfoId = infoId;
348 348
                }
349 349
            }
350
            Logger.sendReqLog("DeleteMarkupAsync", App.ViewInfo.ProjectNO + "," + item.MarkupInfoID, 1);
350 351
            BaseClient.DeleteMarkupAsync(App.ViewInfo.ProjectNO, item.MarkupInfoID);
351 352
        }
352 353

  
......
4836 4837
                {                    
4837 4838
                    markupInfoItems.Add(item);
4838 4839
                }
4839
                this.BaseClient.TeamConsolidate(project_no, user_id, doc_id, markupInfoItems);
4840
                Logger.sendReqLog("TeamConsolidate", project_no + "," + user_id + "," + doc_id + "," + markupInfoItems, 1);
4841
                Logger.sendResLog("TeamConsolidate", this.BaseClient.TeamConsolidate(project_no, user_id, doc_id, markupInfoItems).ToString(), 1);
4842
                //this.BaseClient.TeamConsolidate(project_no, user_id, doc_id, markupInfoItems);
4840 4843

  
4844
                Logger.sendReqLog("GetMarkupInfoItemsAsync", App.ViewInfo.ProjectNO + "," + _DocInfo.ID, 1);  
4841 4845
                this.BaseClient.GetMarkupInfoItemsAsync(App.ViewInfo.ProjectNO, _DocInfo.ID);
4842 4846
            }
4843 4847
        }
......
4863 4867
                {
4864 4868
                    markupInfoItems.Add(item);
4865 4869
                }
4866
                this.BaseClient.Consolidate(project_no, user_id, doc_id, markupInfoItems);
4867
                
4870
                Logger.sendReqLog("Consolidate", project_no + "," + user_id + "," + doc_id + "," + markupInfoItems, 1);
4871
                Logger.sendResLog("Consolidate", this.BaseClient.Consolidate(project_no, user_id, doc_id, markupInfoItems).ToString(), 1);
4872
                //this.BaseClient.Consolidate(project_no, user_id, doc_id, markupInfoItems);
4873

  
4874
                Logger.sendReqLog("GetMarkupInfoItemsAsync", App.ViewInfo.ProjectNO + "," + _DocInfo.ID, 1);
4868 4875
                this.BaseClient.GetMarkupInfoItemsAsync(App.ViewInfo.ProjectNO, _DocInfo.ID);
4869 4876
                
4870 4877
            }
......
4916 4923
            var item = gridViewMarkup.Items.Cast<MarkupInfoItem>().Where(d => d.Consolidate == 1 && d.AvoidConsolidate == 0).FirstOrDefault();
4917 4924
            if (item != null)
4918 4925
            {
4926
                Logger.sendReqLog("SetFinalPDFAsync", _ViewInfo.ProjectNO + "," + _DocInfo.ID + "," + item.MarkupInfoID + "," + _ViewInfo.UserID, 1);              
4927

  
4919 4928
                BaseClient.SetFinalPDFAsync(_ViewInfo.ProjectNO, _DocInfo.ID, item.MarkupInfoID, _ViewInfo.UserID);
4920 4929
            }
4921 4930
            else
......
4953 4962
                    ViewerDataModel.Instance.PageNumber = 1;
4954 4963
                }
4955 4964

  
4965
                Logger.sendReqLog("GetCompareRectAsync", _ViewInfo.ProjectNO + "," + _ViewInfo.DocumentItemID + "," + CurrentRev.DOCUMENT_ID + 
4966
                    "," + pageNavigator.CurrentPage.PageNumber.ToString() + "," + ViewerDataModel.Instance.PageNumber.ToString() + "," +
4967
                    userData.COMPANY != "EXT" ? "true" : "false" , 1);
4968

  
4956 4969
                BaseClient.GetCompareRectAsync(_ViewInfo.ProjectNO, _ViewInfo.DocumentItemID, CurrentRev.DOCUMENT_ID, pageNavigator.CurrentPage.PageNumber.ToString(), ViewerDataModel.Instance.PageNumber.ToString(), userData.COMPANY != "EXT" ? "true" : "false");
4957 4970
            }
4958 4971
            else
......
5275 5288
                        tlSyncPageNum.Text = String.Format("Current Page : {0}", pageNavigator.CurrentPage.PageNumber);
5276 5289
                        gridViewHistory_Busy.IsBusy = false;
5277 5290
                    }
5278
                };
5291

  
5292
                    Logger.sendResLog("GetSyncMarkupInfoItemsCompleted", "UserState : " + ea.UserState + "\r Result :" + ea.Result + "\r Cancelled :" + ea.Cancelled + "\r Error :" + ea.Error, 1);
5293
                };                
5279 5294
                BaseClient.GetSyncMarkupInfoItemsAsync(_ViewInfo.ProjectNO, CurrentRev.DOCUMENT_ID, _ViewInfo.UserID);
5295
                Logger.sendReqLog("GetSyncMarkupInfoItemsAsync", _ViewInfo.ProjectNO + "," + CurrentRev.DOCUMENT_ID + "," + _ViewInfo.UserID, 1);
5280 5296
            }
5281 5297
        }
5282 5298

  
......
5336 5352

  
5337 5353
                    tlSyncRev.Text = String.Format("Rev. {0}", CurrentRev.RevNo);
5338 5354
                    tlSyncPageNum.Text = String.Format("Current Page : {0}", pageNavigator.CurrentPage.PageNumber);
5339
                    gridViewHistory_Busy.IsBusy = false;
5355
                    gridViewHistory_Busy.IsBusy = false;                    
5340 5356
                }
5357
                Logger.sendResLog("GetSyncMarkupInfoItemsCompleted", "UserState : " + ea.UserState + "\r Result :" + ea.Result + "\r Cancelled :" + ea.Cancelled + "\r Error :" + ea.Error, 1);
5358
                
5341 5359
            };
5342
            BaseClient.GetSyncMarkupInfoItemsAsync(_ViewInfo.ProjectNO, CurrentRev.DOCUMENT_ID, _ViewInfo.UserID);
5343

  
5344

  
5360
            Logger.sendReqLog("GetSyncMarkupInfoItemsAsync", _ViewInfo.ProjectNO + "," + CurrentRev.DOCUMENT_ID + "," + _ViewInfo.UserID, 1);
5361
            BaseClient.GetSyncMarkupInfoItemsAsync(_ViewInfo.ProjectNO, CurrentRev.DOCUMENT_ID, _ViewInfo.UserID);           
5345 5362
        }
5346 5363

  
5347 5364
        private void PdfLink_ButtonDown(object sender, MouseButtonEventArgs e)
......
5560 5577
            KCOMDataModel.DataModel.CHECK_LIST Item = new KCOMDataModel.DataModel.CHECK_LIST();
5561 5578
            string projectno = App.ViewInfo.ProjectNO;
5562 5579
            string checklist_id = ViewerDataModel.Instance.CheckList_ID;
5580

  
5581
            Logger.sendReqLog("GetCheckList", projectno + "," + checklist_id, 1);
5563 5582
            Item = this.BaseClient.GetCheckList(projectno, checklist_id);
5583
            if(Item != null)
5584
            {
5585
                Logger.sendResLog("GetCheckList", "TRUE", 1);
5586
            }
5587
            else
5588
            {
5589
                Logger.sendResLog("GetCheckList", "FALSE", 1);
5590
            }
5591
            
5564 5592
            if (Item == null)
5565 5593
            {
5566 5594
                check_ = new KCOMDataModel.DataModel.CHECK_LIST
......
5579 5607
                    DOCUMENT_NO = _DocItem.DOCUMENT_NO,
5580 5608
                    STATUS_DESC_OPEN = "Vendor 반영 필요",
5581 5609
                };
5582
                this.BaseClient.AddCheckList(projectno, check_);
5610
                Logger.sendReqLog("AddCheckList", projectno + "," + check_, 1);
5611
                Logger.sendResLog("AddCheckList", this.BaseClient.AddCheckList(projectno, check_).ToString(), 1);
5612
                //this.BaseClient.AddCheckList(projectno, check_);
5583 5613
            }
5584 5614
            else
5585 5615
            {
5586 5616
                Item.IMAGE_URL = Result;
5587 5617
                Item.IMAGE_ANCHOR = x + "," + y + "," + width + "," + height;
5588
                Item.PAGENUMBER = this.pageNavigator.CurrentPage.PageNumber;
5589
                this.BaseClient.SaveCheckList(projectno, checklist_id, Item);
5618
                Item.PAGENUMBER = this.pageNavigator.CurrentPage.PageNumber;          
5619
                Logger.sendReqLog("SaveCheckList", projectno + "," + checklist_id + "," + Item, 1);
5620
                Logger.sendResLog("SaveCheckList", this.BaseClient.SaveCheckList(projectno, checklist_id, Item).ToString(), 1);
5621
                //this.BaseClient.SaveCheckList(projectno, checklist_id, Item);
5590 5622
            }
5591 5623
            
5592 5624
        }

내보내기 Unified diff

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