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); } } }
private ProjectionInfo[] getProjectionInfo() { return(_dbProvider.getProjections(DateTime.Today, DateTime.Today.AddDays(1).AddSeconds(-1))); }