Exemplo n.º 1
0
      private static AMSummaryModel CreateRecord(IDataRecord record)
      {
          var sc = new ScorecardInfo()
          {
              scorecardId   = record.Get <int>("sc_id"),
              scorecardName = record.Get <string>("SCORECARD")
          };

          return(new AMSummaryModel
            {
                scorecard = sc,
                appname = record.Get <string>("APPNAME"),
                mtdCallsCompleted = record.GetValueOrDefault <int?>("MTD CALLS COMPLETED"),
                minutesCompleted = record.GetValueOrDefault <int?>("MTD MINUTES PROCESSED"),
                pendingCalls = record.GetValueOrDefault <int?>("NUMBER PENDING REVIEW"),
                missingAudioCalls = record.GetValueOrDefault <int?>("NUMBER MISSING AUDIO"),
                lastLoaded = record.Get <string>("LAST LOADED DATE"),
                lastReviewed = record.Get <string>("LAST REVIEWED DATE"),
                oldestPending = record.Get <string>("OLDEST PENDING DATE"),
            });
      }
Exemplo n.º 2
0
 public CallSystemData()
 {
     missedItems   = new List <CallMissedItem>();
     scorecardInfo = new ScorecardInfo();
     missedItems   = new List <CallMissedItem>();
 }
Exemplo n.º 3
0
 public AMSummaryModel()
 {
     scorecard = new ScorecardInfo();
 }