Exemplo n.º 1
0
 public ProjectRunner(
     string projectName,
     IModelContext context,
     ITimeService timeService,
     IReporter reporter,
     string dataDbConnectionString,
     IDataDbCreatorFactory dataDbCreatorFactory,
     IUsersRunnerFactory usersRunnerFactory,
     IServiceRunnerFactory serviceRunnerFactory,
     ICyclicRunnerFactory cyclicRunnerFactory,
     IIoDeviceRunTargetFactory ioDeviceRunTargetFactory,
     IAlarmsRunTargetFactory alarmsRunTargetFactory,
     ITrendsRunTargetFactory trendsRunTargetFactory,
     ILogRunTargetFactory logMaintainerFactory)
 {
     _projectName              = projectName;
     _context                  = context;
     _timeService              = timeService;
     _reporter                 = reporter;
     _dataDbConnectionString   = dataDbConnectionString;
     _dataDbCreator            = dataDbCreatorFactory.Create(_dataDbConnectionString, _reporter);
     _usersRunnerFactory       = usersRunnerFactory;
     _serviceRunnerFactory     = serviceRunnerFactory;
     _cyclicRunnerFactory      = cyclicRunnerFactory;
     _ioDeviceRunTargetFactory = ioDeviceRunTargetFactory;
     _alarmsRunTargetFactory   = alarmsRunTargetFactory;
     _trendsRunTargetFactory   = trendsRunTargetFactory;
     _logMaintainerFactory     = logMaintainerFactory;
 }
Exemplo n.º 2
0
 public ProjectRunner(
     string projectName,
     IModelContext context,
     ITimeService timeService,
     IReporter reporter,
     string dataDbConnectionString,
     IDataDbCreatorFactory dataDbCreatorFactory,
     IUsersRunnerFactory usersRunnerFactory,
     IServiceRunnerFactory serviceRunnerFactory,
     ICyclicRunnerFactory cyclicRunnerFactory,
     IIoDeviceRunTargetFactory ioDeviceRunTargetFactory,
     IAlarmsRunTargetFactory alarmsRunTargetFactory,
     ITrendsRunTargetFactory trendsRunTargetFactory,
     ILogRunTargetFactory logMaintainerFactory)
 {
     _projectName = projectName;
     _context = context;
     _timeService = timeService;
     _reporter = reporter;
     _dataDbConnectionString = dataDbConnectionString;
     _dataDbCreator = dataDbCreatorFactory.Create(_dataDbConnectionString, _reporter);
     _usersRunnerFactory = usersRunnerFactory;
     _serviceRunnerFactory = serviceRunnerFactory;
     _cyclicRunnerFactory = cyclicRunnerFactory;
     _ioDeviceRunTargetFactory = ioDeviceRunTargetFactory;
     _alarmsRunTargetFactory = alarmsRunTargetFactory;
     _trendsRunTargetFactory = trendsRunTargetFactory;
     _logMaintainerFactory = logMaintainerFactory;
 }