Пример #1
0
 public CaseData(SelectInfoInternal selectInfo, CaseInfo caseInfo)
 {
     // now just use the field days
     _selectInfo = selectInfo;
     _caseInfo = caseInfo;
 }
Пример #2
0
 public ChartData(SelectInfoInternal selectInfo, ChartInfo chartInfo)
 {
     _selectInfo = selectInfo;
     _chartInfo = chartInfo;
 }
Пример #3
0
        public DataService(SelectInfo selectInfo)
        {
            _selectInfo = new SelectInfoInternal();

            // just for test
            _selectInfo.Days = selectInfo.Days;
            _selectInfo.AssemblyType = selectInfo.AssemblyType;
            _selectInfo.ControlName = selectInfo.ControlName;
            _selectInfo.CaseCategory = selectInfo.CaseCategory;

            // set last day
            List<DateTime> runTimes = Utility.RunTimes(0, _selectInfo.Days, _selectInfo.AssemblyType);
            _selectInfo.LastTime = runTimes[0];
        }