예제 #1
0
 private void getProjections()
 {
     try
     {
         ProjectionInfo[] ps = _dbProvider.getProjections(MonitBeginTime, MonitEndTime);
         Complete <ProjectionInfo>(ps, _curProjectionfiles);
     }
     catch (Exception ex)
     {
         if (ex.InnerException != null && !string.IsNullOrWhiteSpace(ex.InnerException.Message))
         {
             OnMessageSend(ex.InnerException.Message);
         }
         else
         {
             OnMessageSend(ex.Message);
         }
     }
 }
예제 #2
0
 private ProjectionInfo[] getProjectionInfo()
 {
     return(_dbProvider.getProjections(DateTime.Today, DateTime.Today.AddDays(1).AddSeconds(-1)));
 }