개정판 664ea2e1
Markus에서 markusupdate를 변경하도록 수정
Change-Id: I4c2fe33f46732a9dc6b1fe683771c5acbcfd5d36
KCOM/Controls/CheckList.xaml.cs | ||
---|---|---|
116 | 116 |
string project_no = App.ViewInfo.ProjectNO; |
117 | 117 |
string user_id = App.ViewInfo.UserID; |
118 | 118 |
|
119 |
Logger.sendReqLog("GetUserCheckList: ", project_no + "," + user_id + "," + doc_no, 1); |
|
119 |
//Logger.sendReqLog("GetUserCheckList: ", project_no + "," + user_id + "," + doc_no, 1);
|
|
120 | 120 |
|
121 | 121 |
items = Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.GetUserCheckList(project_no, user_id, doc_no); |
122 | 122 |
if (items.Count() > 0) |
123 | 123 |
{ |
124 |
Logger.sendResLog("GetUserCheckList", "TRUE", 1); |
|
124 |
//Logger.sendResLog("GetUserCheckList", "TRUE", 1);
|
|
125 | 125 |
} |
126 | 126 |
else |
127 | 127 |
{ |
128 |
Logger.sendResLog("GetUserCheckList", "FALSE", 1); |
|
128 |
//Logger.sendResLog("GetUserCheckList", "FALSE", 1);
|
|
129 | 129 |
} |
130 | 130 |
|
131 | 131 |
foreach (var item in items) |
... | ... | |
141 | 141 |
customer.REVISION = item.REVISION; |
142 | 142 |
|
143 | 143 |
#region history |
144 |
Logger.sendReqLog("GetCheckListHistory: ", project_no + "," + item.ID, 1); |
|
144 |
//Logger.sendReqLog("GetCheckListHistory: ", project_no + "," + item.ID, 1);
|
|
145 | 145 |
var history = Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.GetCheckListHistory(project_no, item.ID); |
146 | 146 |
|
147 | 147 |
if (history.Count() > 0) |
148 | 148 |
{ |
149 |
Logger.sendResLog("GetCheckListHistory", "TRUE", 1); |
|
149 |
//Logger.sendResLog("GetCheckListHistory", "TRUE", 1);
|
|
150 | 150 |
} |
151 | 151 |
else |
152 | 152 |
{ |
153 |
Logger.sendResLog("GetCheckListHistory", "FALSE", 1); |
|
153 |
//Logger.sendResLog("GetCheckListHistory", "FALSE", 1);
|
|
154 | 154 |
} |
155 | 155 |
|
156 | 156 |
foreach (var rev in history) |
... | ... | |
224 | 224 |
} |
225 | 225 |
catch (Exception ex) |
226 | 226 |
{ |
227 |
Logger.sendResLog("Checklist DataBind", ex.Message, 0); |
|
227 |
//Logger.sendResLog("Checklist DataBind", ex.Message, 0);
|
|
228 | 228 |
} |
229 | 229 |
|
230 | 230 |
|
... | ... | |
254 | 254 |
} |
255 | 255 |
catch(Exception ex) |
256 | 256 |
{ |
257 |
Logger.sendResLog("SyncInit", ex.Message, 0); |
|
257 |
//Logger.sendResLog("SyncInit", ex.Message, 0);
|
|
258 | 258 |
} |
259 | 259 |
|
260 | 260 |
} |
... | ... | |
282 | 282 |
} |
283 | 283 |
catch (Exception ex) |
284 | 284 |
{ |
285 |
Logger.sendResLog("DialogMessage_Alert", ex.Message, 0); |
|
285 |
//Logger.sendResLog("DialogMessage_Alert", ex.Message, 0);
|
|
286 | 286 |
} |
287 | 287 |
|
288 | 288 |
} |
... | ... | |
377 | 377 |
} |
378 | 378 |
catch (Exception ex) |
379 | 379 |
{ |
380 |
Logger.sendResLog("History_Set", ex.Message, 0); |
|
380 |
//Logger.sendResLog("History_Set", ex.Message, 0);
|
|
381 | 381 |
} |
382 | 382 |
|
383 | 383 |
} |
... | ... | |
435 | 435 |
int w = 2; |
436 | 436 |
string project_no = App.ViewInfo.ProjectNO; |
437 | 437 |
worksheet.Cells[2, w + 8] = project_no; |
438 |
Logger.sendReqLog("GetProjectName: ", project_no, 1); |
|
438 |
//Logger.sendReqLog("GetProjectName: ", project_no, 1);
|
|
439 | 439 |
|
440 | 440 |
string project_name = Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.GetProjectName(project_no); |
441 | 441 |
if (project_name != null || project_name != "") |
442 | 442 |
{ |
443 |
Logger.sendResLog("GetProjectName", "TRUE", 1); |
|
443 |
//Logger.sendResLog("GetProjectName", "TRUE", 1);
|
|
444 | 444 |
} |
445 | 445 |
else |
446 | 446 |
{ |
447 |
Logger.sendResLog("GetProjectName", "FALSE", 1); |
|
447 |
//Logger.sendResLog("GetProjectName", "FALSE", 1);
|
|
448 | 448 |
} |
449 | 449 |
worksheet.Cells[3, w + 8] = project_name; |
450 | 450 |
|
... | ... | |
580 | 580 |
} |
581 | 581 |
catch (Exception ex) |
582 | 582 |
{ |
583 |
Logger.sendResLog("CheckList ExportEvent", ex.Message, 0); |
|
583 |
//Logger.sendResLog("CheckList ExportEvent", ex.Message, 0);
|
|
584 | 584 |
} |
585 | 585 |
|
586 | 586 |
} |
... | ... | |
621 | 621 |
} |
622 | 622 |
catch (Exception ex) |
623 | 623 |
{ |
624 |
Logger.sendResLog("Resize", ex.Message, 0); |
|
624 |
//Logger.sendResLog("Resize", ex.Message, 0);
|
|
625 | 625 |
return null; |
626 | 626 |
} |
627 | 627 |
|
... | ... | |
688 | 688 |
} |
689 | 689 |
catch(Exception ex) |
690 | 690 |
{ |
691 |
Logger.sendResLog("Checklist Addevent", ex.Message, 0); |
|
691 |
//Logger.sendResLog("Checklist Addevent", ex.Message, 0);
|
|
692 | 692 |
} |
693 | 693 |
|
694 | 694 |
} |
... | ... | |
710 | 710 |
string Check_ID = (item as Customer).ID.ToString(); |
711 | 711 |
string state = ""; |
712 | 712 |
|
713 |
Logger.sendReqLog("GetCheckList: ", App.ViewInfo.ProjectNO + "," + Check_ID, 1); |
|
713 |
//Logger.sendReqLog("GetCheckList: ", App.ViewInfo.ProjectNO + "," + Check_ID, 1);
|
|
714 | 714 |
Check_value = Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.GetCheckList(App.ViewInfo.ProjectNO, Check_ID); |
715 | 715 |
if (Check_value != null) |
716 | 716 |
{ |
717 |
Logger.sendResLog("GetCheckList", "TRUE", 1); |
|
717 |
//Logger.sendResLog("GetCheckList", "TRUE", 1);
|
|
718 | 718 |
} |
719 | 719 |
else |
720 | 720 |
{ |
721 |
Logger.sendResLog("GetCheckList", "FALSE", 1); |
|
721 |
//Logger.sendResLog("GetCheckList", "FALSE", 1);
|
|
722 | 722 |
} |
723 | 723 |
|
724 | 724 |
if (Check_value != null) |
... | ... | |
750 | 750 |
else |
751 | 751 |
description = Check_value.STATUS_DESC_CLOSE; |
752 | 752 |
|
753 |
Logger.sendReqLog("GetCheckListHistory: ", App.ViewInfo.ProjectNO + "," + Check_ID, 1); |
|
753 |
//Logger.sendReqLog("GetCheckListHistory: ", App.ViewInfo.ProjectNO + "," + Check_ID, 1);
|
|
754 | 754 |
var history = Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.GetCheckListHistory(App.ViewInfo.ProjectNO, Check_ID); |
755 | 755 |
if (history.Count() > 0) |
756 | 756 |
{ |
757 |
Logger.sendResLog("GetCheckList", "TRUE", 1); |
|
757 |
//Logger.sendResLog("GetCheckList", "TRUE", 1);
|
|
758 | 758 |
} |
759 | 759 |
else |
760 | 760 |
{ |
761 |
Logger.sendResLog("GetCheckList", "FALSE", 1); |
|
761 |
//Logger.sendResLog("GetCheckList", "FALSE", 1);
|
|
762 | 762 |
} |
763 | 763 |
Check_History = history.Where(info => info.REVISION == ViewerDataModel.Instance.SystemMain.dzMainMenu.CurrentDoc.Revision).FirstOrDefault(); |
764 | 764 |
|
... | ... | |
798 | 798 |
UPDATE_TIME = DateTime.Now |
799 | 799 |
}; |
800 | 800 |
|
801 |
Logger.sendReqLog("AddCheckListHistory: ", App.ViewInfo.ProjectNO + "," + Check_History, 1); |
|
802 |
Logger.sendResLog("AddCheckListHistory", Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.AddCheckListHistory(App.ViewInfo.ProjectNO, Check_History).ToString(), 1); |
|
801 |
//Logger.sendReqLog("AddCheckListHistory: ", App.ViewInfo.ProjectNO + "," + Check_History, 1);
|
|
802 |
//Logger.sendResLog("AddCheckListHistory", Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.AddCheckListHistory(App.ViewInfo.ProjectNO, Check_History).ToString(), 1);
|
|
803 | 803 |
//Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.AddCheckListHistory(App.ViewInfo.ProjectNO, Check_History); |
804 | 804 |
|
805 | 805 |
Check_value.REVISION = Current_Revision; |
... | ... | |
822 | 822 |
Check_History.STATUS_DESC = Check_value.STATUS_DESC_CLOSE; |
823 | 823 |
} |
824 | 824 |
|
825 |
Logger.sendReqLog("SaveCheckListHistory: ", App.ViewInfo.ProjectNO + "," + ViewerDataModel.Instance.SystemMain.dzMainMenu.CurrentDoc.Revision + "," + Check_History, 1); |
|
826 |
Logger.sendResLog("SaveCheckListHistory", Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.SaveCheckListHistory(App.ViewInfo.ProjectNO, ViewerDataModel.Instance.SystemMain.dzMainMenu.CurrentDoc.Revision, Check_History).ToString(), 1); |
|
825 |
//Logger.sendReqLog("SaveCheckListHistory: ", App.ViewInfo.ProjectNO + "," + ViewerDataModel.Instance.SystemMain.dzMainMenu.CurrentDoc.Revision + "," + Check_History, 1);
|
|
826 |
//Logger.sendResLog("SaveCheckListHistory", Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.SaveCheckListHistory(App.ViewInfo.ProjectNO, ViewerDataModel.Instance.SystemMain.dzMainMenu.CurrentDoc.Revision, Check_History).ToString(), 1);
|
|
827 | 827 |
|
828 | 828 |
//Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.SaveCheckListHistory(App.ViewInfo.ProjectNO, ViewerDataModel.Instance.SystemMain.dzMainMenu.CurrentDoc.Revision, Check_History); |
829 | 829 |
} |
... | ... | |
832 | 832 |
} |
833 | 833 |
} |
834 | 834 |
|
835 |
Logger.sendReqLog("SaveCheckList: ", App.ViewInfo.ProjectNO + "," + Check_ID + "," + Check_value, 1); |
|
836 |
Logger.sendResLog("SaveCheckList", Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.SaveCheckList(App.ViewInfo.ProjectNO, Check_ID, Check_value).ToString(), 1); |
|
835 |
//Logger.sendReqLog("SaveCheckList: ", App.ViewInfo.ProjectNO + "," + Check_ID + "," + Check_value, 1);
|
|
836 |
//Logger.sendResLog("SaveCheckList", Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.SaveCheckList(App.ViewInfo.ProjectNO, Check_ID, Check_value).ToString(), 1);
|
|
837 | 837 |
//Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.SaveCheckList(App.ViewInfo.ProjectNO, Check_ID, Check_value); |
838 | 838 |
} |
839 | 839 |
|
... | ... | |
846 | 846 |
} |
847 | 847 |
catch (Exception ex) |
848 | 848 |
{ |
849 |
Logger.sendResLog("Checklist SaveEvent", ex.Message, 0); |
|
849 |
//Logger.sendResLog("Checklist SaveEvent", ex.Message, 0);
|
|
850 | 850 |
} |
851 | 851 |
|
852 | 852 |
} |
... | ... | |
958 | 958 |
} |
959 | 959 |
catch(Exception ex) |
960 | 960 |
{ |
961 |
Logger.sendResLog("tb_IsVisibleChanged", ex.Message, 0); |
|
961 |
//Logger.sendResLog("tb_IsVisibleChanged", ex.Message, 0);
|
|
962 | 962 |
} |
963 | 963 |
|
964 | 964 |
} |
... | ... | |
991 | 991 |
} |
992 | 992 |
catch(Exception ex) |
993 | 993 |
{ |
994 |
Logger.sendResLog("Radio_Open_Checked", ex.Message, 0); |
|
994 |
//Logger.sendResLog("Radio_Open_Checked", ex.Message, 0);
|
|
995 | 995 |
} |
996 | 996 |
|
997 | 997 |
} |
... | ... | |
1040 | 1040 |
} |
1041 | 1041 |
catch(Exception ex) |
1042 | 1042 |
{ |
1043 |
Logger.sendResLog("Radio_Close_Checked", ex.Message, 0); |
|
1043 |
//Logger.sendResLog("Radio_Close_Checked", ex.Message, 0);
|
|
1044 | 1044 |
} |
1045 | 1045 |
|
1046 | 1046 |
} |
... | ... | |
1075 | 1075 |
} |
1076 | 1076 |
catch(Exception ex) |
1077 | 1077 |
{ |
1078 |
Logger.sendResLog("CheckPop_Closed", ex.Message, 0); |
|
1078 |
//Logger.sendResLog("CheckPop_Closed", ex.Message, 0);
|
|
1079 | 1079 |
} |
1080 | 1080 |
|
1081 | 1081 |
|
... | ... | |
1090 | 1090 |
} |
1091 | 1091 |
catch(Exception ex) |
1092 | 1092 |
{ |
1093 |
Logger.sendResLog("Radio_Unchecked", ex.Message, 0); |
|
1093 |
//Logger.sendResLog("Radio_Unchecked", ex.Message, 0);
|
|
1094 | 1094 |
} |
1095 | 1095 |
|
1096 | 1096 |
} |
... | ... | |
1162 | 1162 |
} |
1163 | 1163 |
catch(Exception ex) |
1164 | 1164 |
{ |
1165 |
Logger.sendResLog("mousedownOnImage", ex.Message, 0); |
|
1165 |
//Logger.sendResLog("mousedownOnImage", ex.Message, 0);
|
|
1166 | 1166 |
} |
1167 | 1167 |
|
1168 | 1168 |
|
... | ... | |
1178 | 1178 |
DialogMessage_Alert("같은 Revision 은 비교할 수 없습니다."); |
1179 | 1179 |
return; |
1180 | 1180 |
} |
1181 |
Logger.sendReqLog("GetVPRevisionFirstOrDefault: ", App.ViewInfo.ProjectNO + "," + old_DocID, 1); |
|
1181 |
//Logger.sendReqLog("GetVPRevisionFirstOrDefault: ", App.ViewInfo.ProjectNO + "," + old_DocID, 1);
|
|
1182 | 1182 |
var _vpList = Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.GetVPRevisionFirstOrDefault(App.ViewInfo.ProjectNO, old_DocID); |
1183 | 1183 |
if (_vpList != null) |
1184 | 1184 |
{ |
1185 |
Logger.sendResLog("GetVPRevisionFirstOrDefault", "TRUE", 1); |
|
1185 |
//Logger.sendResLog("GetVPRevisionFirstOrDefault", "TRUE", 1);
|
|
1186 | 1186 |
} |
1187 | 1187 |
else |
1188 | 1188 |
{ |
1189 |
Logger.sendResLog("GetVPRevisionFirstOrDefault", "FALSE", 1); |
|
1189 |
//Logger.sendResLog("GetVPRevisionFirstOrDefault", "FALSE", 1);
|
|
1190 | 1190 |
} |
1191 | 1191 |
|
1192 | 1192 |
|
... | ... | |
1202 | 1202 |
} |
1203 | 1203 |
catch (Exception ex) |
1204 | 1204 |
{ |
1205 |
Logger.sendResLog("SyncEvent", ex.Message, 0); |
|
1205 |
//Logger.sendResLog("SyncEvent", ex.Message, 0);
|
|
1206 | 1206 |
} |
1207 | 1207 |
|
1208 | 1208 |
} |
내보내기 Unified diff