프로젝트

일반

사용자정보

개정판 0f065e57

ID0f065e57952ad324d3b2daa450b3883f2f40cd77
상위 114015fd
하위 ca16abb2

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

issue #745 markus client log

차이점 보기:

KCOM/Messenger/ConversationView.xaml.cs
138 138
                        ANGLE = (int)instanceMain.dzMainMenu.rotate.Angle
139 139
                    };
140 140

  
141
                    Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.AddMessage(App.ViewInfo.ProjectNO, message);
142

  
143
                    List<KCOMDataModel.DataModel.TALK> messagelist = Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.GetMessage(App.ViewInfo.ProjectNO, App.ViewInfo.DocumentItemID);
141
                    Logger.sendReqLog("AddMessage: ", App.ViewInfo.ProjectNO + "," + message, 1);
142
                    Logger.sendResLog("AddMessage", Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.AddMessage(App.ViewInfo.ProjectNO, message).ToString(), 1);                   
143
                    //Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.AddMessage(App.ViewInfo.ProjectNO, message);
144 144

  
145
                    Logger.sendReqLog("GetMessage: ", App.ViewInfo.ProjectNO + "," + App.ViewInfo.DocumentItemID, 1);                  
146
                    List<KCOMDataModel.DataModel.TALK> messagelist = Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.GetMessage(App.ViewInfo.ProjectNO, App.ViewInfo.DocumentItemID);                    
147
                    if(messagelist.Count() > 0)
148
                    {
149
                        Logger.sendResLog("GetMessage", "TRUE", 1);
150
                    }
151
                    else
152
                    {
153
                        Logger.sendResLog("GetMessage", "FALSE", 1);
154
                    }
145 155
                    messagelist.ForEach(a =>
146 156
                    {
147 157
                        Common.ViewerDataModel.Instance.k_talkMessageSet.Add(a);
......
184 194
                ClickAnchorCommand = new Telerik.Windows.Controls.DelegateCommand(SaveAuthorization);
185 195
                if (string.IsNullOrEmpty(App.UserName))
186 196
                {
197
                    Logger.sendReqLog("GetMember: ", App.ViewInfo.ProjectNO + "," + App.ViewInfo.UserID, 1);                  
187 198
                    App.UserName = Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.GetMember(App.ViewInfo.ProjectNO, App.ViewInfo.UserID).NAME;
199
                    if(App.UserName != null || App.UserName != "")
200
                    {
201
                        Logger.sendResLog("AddMessage", "TRUE", 1);
202
                    }
203
                    else
204
                    {
205
                        Logger.sendResLog("AddMessage", "FALSE", 1);
206
                    }                    
188 207
                }
189 208
                if (Common.ViewerDataModel.Instance.k_talkMessageSet.Count() == 0)
190 209
                {
210
                    Logger.sendReqLog("GetMessage: ", App.ViewInfo.ProjectNO + "," + App.ViewInfo.DocumentItemID, 1);
191 211
                    List<KCOMDataModel.DataModel.TALK> messagelist = Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.GetMessage(App.ViewInfo.ProjectNO, App.ViewInfo.DocumentItemID);
192

  
212
                    if (messagelist.Count() > 0)
213
                    {
214
                        Logger.sendResLog("GetMessage", "TRUE", 1);
215
                    }
216
                    else
217
                    {
218
                        Logger.sendResLog("GetMessage", "FALSE", 1);
219
                    }
193 220
                    messagelist.ForEach(a =>
194 221
                    {
195 222
                        Common.ViewerDataModel.Instance.k_talkMessageSet.Add(a);
......
235 262
                DOCUMENT_ID = App.ViewInfo.DocumentItemID
236 263
            };
237 264

  
238
            Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.AddMessage(App.ViewInfo.ProjectNO, message);
265
            Logger.sendReqLog("AddMessage", App.ViewInfo.ProjectNO + "," + message, 1);
266
            Logger.sendResLog("AddMessage", Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.AddMessage(App.ViewInfo.ProjectNO, message).ToString(), 1);
267
            //Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.AddMessage(App.ViewInfo.ProjectNO, message);
239 268

  
240
            List<KCOMDataModel.DataModel.TALK> messagelist = Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.GetMessage(App.ViewInfo.ProjectNO, App.ViewInfo.DocumentItemID);
269
            Logger.sendReqLog("GetMessage: ", App.ViewInfo.ProjectNO + "," + App.ViewInfo.DocumentItemID, 1);
270
            List<KCOMDataModel.DataModel.TALK> messagelist = Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.GetMessage(App.ViewInfo.ProjectNO, App.ViewInfo.DocumentItemID);            
271
            if (messagelist.Count() > 0)
272
            {
273
                Logger.sendResLog("GetMessage", "TRUE", 1);
274
            }
275
            else
276
            {
277
                Logger.sendResLog("GetMessage", "FALSE", 1);
278
            }
241 279

  
242 280
            messagelist.ForEach(a =>
243 281
            {

내보내기 Unified diff

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