개정판 0f065e57
issue #745 markus client log
KCOM/Controls/addToFavoriteWindow_Internal.xaml.cs | ||
---|---|---|
67 | 67 |
tbDescription.Text = instanceDoc.DESCRIPTION; |
68 | 68 |
cbState.SelectedIndex = instanceDoc.FLAG - 1; |
69 | 69 |
btnOK.Content = "MODIFY"; |
70 |
|
|
71 |
Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.EditFavoriteVPCompleted += BaseClient_EditFavoriteVPCompleted; |
|
70 |
|
|
71 |
Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.EditFavoriteVPCompleted += BaseClient_EditFavoriteVPCompleted;
|
|
72 | 72 |
} |
73 | 73 |
else |
74 | 74 |
{ |
... | ... | |
80 | 80 |
|
81 | 81 |
private void BaseClient_EditFavoriteVPCompleted(object sender, ServiceDeepView.EditFavoriteVPCompletedEventArgs e) |
82 | 82 |
{ |
83 |
Logger.sendResLog("EditFavoriteVPCompleted", "UserState : " + e.UserState + "\r Result :" + e.Result + "\r Cancelled :" + e.Cancelled + "\r Error :" + e.Error, 1); |
|
83 | 84 |
this.Close(); |
84 | 85 |
} |
85 | 86 |
|
86 | 87 |
void _Client_SetFavoriteVPCompleted(object sender, ServiceDeepView.SetFavoriteVPCompletedEventArgs e) |
87 | 88 |
{ |
89 |
Logger.sendResLog("SetFavoriteVPCompleted", "UserState : " + e.UserState + "\r Result :" + e.Result + "\r Cancelled :" + e.Cancelled + "\r Error :" + e.Error, 1); |
|
88 | 90 |
if (e.Error != null || !e.Result) |
89 | 91 |
{ |
90 | 92 |
//미입력 |
91 | 93 |
} |
92 | 94 |
else |
93 | 95 |
{ |
96 |
Logger.sendReqLog("GetFavoriteVPAsync" ,App.ViewInfo.ProjectNO + "," + App.ViewInfo.UserID + "," + App.ViewInfo.DocumentItemID, 1); |
|
94 | 97 |
Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.GetFavoriteVPAsync(App.ViewInfo.ProjectNO, App.ViewInfo.UserID, App.ViewInfo.DocumentItemID); |
95 | 98 |
|
96 | 99 |
} |
... | ... | |
109 | 112 |
{ |
110 | 113 |
FAVORITE_FLAG flag = (FAVORITE_FLAG)Enum.Parse(typeof(FAVORITE_FLAG), cbState.Text, true); |
111 | 114 |
|
115 |
Logger.sendReqLog("EditFavoriteVPAsync", App.ViewInfo.ProjectNO + "," + App.ViewInfo.UserID + "," +instanceDoc.ID + "," +Convert.ToInt32(flag) + "," +tbDescription.Text, 1); |
|
112 | 116 |
Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.EditFavoriteVPAsync(App.ViewInfo.ProjectNO, App.ViewInfo.UserID, instanceDoc.ID, Convert.ToInt32(flag), tbDescription.Text); |
113 | 117 |
} |
114 | 118 |
} |
내보내기 Unified diff