public override void DataBind()
 {
     using (KPI_SATagValueDal SATagValue = new KPI_SATagValueDal()) {
         SATagValueRepeater.DataSource = SATagValue.GetKPI_SATagSnapshotValues(Shift, ShiftStartTime, ShiftEndTime);
     }
     base.DataBind();
 }
Beispiel #2
0
 internal SACalculate()
 {
     m_Log = LogHelper.Logger;
     m_Parser = new Parser();
     m_DataAccess = new KPI_SATagValueDal();
     m_Cache = new Dictionary<string, bool>();
     Initialize();
 }
Beispiel #3
0
 private static void RestoredSATag(KPI_RemoveEntity mEntity)
 {
     using (KPI_SATagValueDal DataAccess = new KPI_SATagValueDal()) {
         DateTime StartDate = Convert.ToDateTime(mEntity.RMStartTime);
         DateTime EndDate   = Convert.ToDateTime(mEntity.RMEndTime);
         DataAccess.RestoredSATagValue(mEntity.RMKPIID, StartDate, EndDate);
     }
 }
 public override void DataBind()
 {
     using (KPI_SATagValueDal DataAccess = new KPI_SATagValueDal()) {
         DateTime StartDate = Convert.ToDateTime(txtStartDate.Text);
         DateTime EndDate = Convert.ToDateTime(txtEndDate.Text);
         SATagValueRepeater.DataSource = DataAccess.GetKPI_SATagValues(StartDate, EndDate, drpUnits.SelectedValue);
     }
     base.DataBind();
     ColSpan();
 }