public override void DataBind()
 {
     using (KPI_SATagValueDal SATagValue = new KPI_SATagValueDal()) {
         SATagValueRepeater.DataSource = SATagValue.GetKPI_SATagSnapshotValues(Shift, ShiftStartTime, ShiftEndTime);
     }
     base.DataBind();
 }
예제 #2
0
 internal SACalculate()
 {
     m_Log = LogHelper.Logger;
     m_Parser = new Parser();
     m_DataAccess = new KPI_SATagValueDal();
     m_Cache = new Dictionary<string, bool>();
     Initialize();
 }
예제 #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);
     }
 }
예제 #4
0
 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();
 }