コード例 #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;
 }
コード例 #2
0
ファイル: ProjectRunner.cs プロジェクト: phmi/phmi
 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;
 }
コード例 #3
0
 protected override void EstablishContext()
 {
     base.EstablishContext();
     Factory = new IoDeviceRunTargetFactory();
 }
コード例 #4
0
 protected override void EstablishContext()
 {
     base.EstablishContext();
     Factory = new IoDeviceRunTargetFactory();
 }