Example #1
0
 public AccumulationMonthService()
 {
     accumulationRepository = ServiceFactory.Create <IAccumulationMonthRepository>();
 }
Example #2
0
 private AccumulationMonthDataToDbTask(int interval)
     : base("累积量月表数据入库任务", interval)
 {
     FilePath = ConfigurationManager.FileConfiguration.GetString("FileDataToDbPath", @"C:\LocalDb") + "\\AccumulationMonth\\";
     accumulationRepository = ServiceFactory.Create <IAccumulationMonthRepository>();
 }
 public AccumulationMonthDataToDb()
 {
     FilePath = ConfigurationManager.FileConfiguration.GetString("FileDataToDbPath", @"C:/LocalDb") + "\\AccumulationMonth\\";
     accumulationRepository = ServiceFactory.Create <IAccumulationMonthRepository>();
     accumulationService    = ServiceFactory.Create <IAccumulationMonthService>();
 }