개정판 0f065e57
issue #745 markus client log
KCOM/Controls/Symbol.xaml.cs | ||
---|---|---|
279 | 279 |
return; |
280 | 280 |
} |
281 | 281 |
string delItem_ID = (lstSymbolPrivate.SelectedItem as Symbol_Custom).ID; |
282 |
Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.DeleteSymbolCompleted += BaseClient_DeleteSymbolCompleted; |
|
282 |
|
|
283 |
Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.DeleteSymbolCompleted += BaseClient_DeleteSymbolCompleted; |
|
284 |
Logger.sendReqLog("DeleteSymbolAsync: ", delItem_ID, 1); |
|
283 | 285 |
Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.DeleteSymbolAsync(delItem_ID); |
284 | 286 |
|
285 | 287 |
} |
286 | 288 |
|
287 | 289 |
private void BaseClient_DeleteSymbolCompleted(object sender, ServiceDeepView.DeleteSymbolCompletedEventArgs e) |
288 | 290 |
{ |
291 |
Logger.sendResLog("DeleteSymbolCompleted", "UserState : " + e.UserState + "\r Result :" + e.Result + "\r Cancelled :" + e.Cancelled + "\r Error :" + e.Error, 1); |
|
289 | 292 |
DataBind(); |
290 | 293 |
} |
291 | 294 |
#endregion |
... | ... | |
301 | 304 |
|
302 | 305 |
try |
303 | 306 |
{ |
307 |
Logger.sendReqLog("GetSymbolData: ", id + "," + RadTab.SelectedIndex, 1); |
|
304 | 308 |
Data_ = Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.GetSymbolData(id, RadTab.SelectedIndex); |
309 |
if (Data_ != null || Data_ != "") |
|
310 |
{ |
|
311 |
Logger.sendResLog("GetSymbolData", "TRUE", 1); |
|
312 |
} |
|
313 |
else |
|
314 |
{ |
|
315 |
Logger.sendResLog("GetSymbolData", "FALSE", 1); |
|
316 |
} |
|
305 | 317 |
|
306 | 318 |
if (Data_.Contains("|DZ|")) |
307 | 319 |
{ |
... | ... | |
379 | 391 |
string _name = args.PromptResult; |
380 | 392 |
|
381 | 393 |
Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.RenameSymbolCompleted += BaseClient_RenameSymbolCompleted; |
382 |
Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.RenameSymbolAsync(_id, _name); |
|
383 |
|
|
394 |
|
|
395 |
Logger.sendReqLog("RenameSymbolAsync: ", _id + "," + _name, 1); |
|
396 |
Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.RenameSymbolAsync(_id, _name); |
|
384 | 397 |
} |
385 | 398 |
} |
386 | 399 |
|
387 | 400 |
private void BaseClient_RenameSymbolCompleted(object sender, ServiceDeepView.RenameSymbolCompletedEventArgs e) |
388 | 401 |
{ |
402 |
Logger.sendResLog("RenameSymbolCompleted", "UserState : " + e.UserState + "\r Result :" + e.Result + "\r Cancelled :" + e.Cancelled + "\r Error :" + e.Error, 1); |
|
389 | 403 |
DataBind(); |
390 | 404 |
} |
391 | 405 |
#endregion |
내보내기 Unified diff