Exemple #1
0
 public AlarmFiredService(IAlarmFiredRepository AlarmFiredRepository, IParameterRepository parameterRepository, IProcessInstanceRepository processInstanceRepository, IAlarmRepository alarmRepository)
 {
     _alarmFiredRepository      = AlarmFiredRepository;
     _parameterRepository       = parameterRepository;
     _processInstanceRepository = processInstanceRepository;
     _alarmRepository           = alarmRepository;
 }
Exemple #2
0
 public AlarmFiredService(ISession session)
     : base(session)
 {
     _alarmFiredRepository      = new AlarmFiredRepository(session);
     _parameterRepository       = new ParameterRepository(session);
     _processInstanceRepository = new ProcessInstanceRepository(session);
     _alarmRepository           = new AlarmRepository(session);
 }
 public SampleDataGenerator(ISession session)
 {
     _session = session;
     _processInstanceRepository = new ProcessInstanceRepository(_session);
     _alarmFiredRepository      = new AlarmFiredRepository(_session);
 }