소스 검색

添加log:加载颗粒信息表时warn加载用户库的路径

cxs 1 년 전
부모
커밋
755232ab1c
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      OTSIncAReportApp/3-ServiceCenter/DataOperation/DataAccess/ParticleData.cs

+ 2 - 0
OTSIncAReportApp/3-ServiceCenter/DataOperation/DataAccess/ParticleData.cs

@@ -804,10 +804,12 @@ namespace OTSIncAReportApp.DataOperation.DataAccess
             if (System.IO.File.Exists(fullPath))
             {
                 dbHelper = new SqlHelper("data source='" + fullPath + "'");
+                log.Warn("Loading the user standard library:" + fullPath + "!");
             }
             else if(System.IO.File.Exists(fullPath2))
             {
                 dbHelper = new SqlHelper("data source='" + fullPath2 + "'");
+                log.Warn("Loading the user standard library:" + fullPath2 + "!");
             }
             else
             {