浏览代码

alter the otsdatatype namespace in reportApp to otsReportDataType.

gsp 3 年之前
父节点
当前提交
f65c8ff108
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      OTSIncAReportApp/2-CommonFunction/OTSDataMgrFunction/XmlResourceData.cs

+ 3 - 3
OTSIncAReportApp/2-CommonFunction/OTSDataMgrFunction/XmlResourceData.cs

@@ -1,7 +1,7 @@
 using System.Collections.Generic;
 using System.Collections.Generic;
 using System.Xml;
 using System.Xml;
 
 
-namespace OTSDataType
+namespace OTSReportDataType
 {
 {
     public struct StringRes
     public struct StringRes
     {
     {
@@ -140,9 +140,9 @@ namespace OTSDataType
                     {
                     {
                         rg.mapRes[key] = sr;
                         rg.mapRes[key] = sr;
                     }
                     }
-                    catch /*(System.Exception ex)*/
+                    catch (System.Exception ex)
                     {
                     {
-                       // MessageBox.Show(ex.ToString());
+                        NLog.LogManager.GetCurrentClassLogger().Error(ex.Message);
                     }
                     }
                 }
                 }
                 resGroup[colkey] = rg;
                 resGroup[colkey] = rg;