public AlarmInfoJob(IDeviceDataDao deviceDataDao,
                     IAlarmInfoDao alarmInfoDao,
                     IThresholdDao thresholdDao,
                     ISeverityDao severityDao,
                     IDeviceDao deviceDao,
                     IDeviceBus deviceBus,
                     IStateTypeDao stateTypeDao,
                     IFieldBus fieldBus,
                     IFieldDao fieldDao,
                     ILogger <AlarmInfoJob> logger)
 {
     this._deviceDataDao = deviceDataDao;
     this._alarmInfoDao  = alarmInfoDao;
     this._thresholdDao  = thresholdDao;
     this._severityDao   = severityDao;
     this._deviceDao     = deviceDao;
     this._deviceBus     = deviceBus;
     this._stateTypeDao  = stateTypeDao;
     this._fieldBus      = fieldBus;
     this._fieldDao      = fieldDao;
     this._logger        = logger;
 }
示例#2
0
 /*
  * 构造函数
  * 需要注入DeviceDataDao, AlarmInfoDao, DeviceDao, WorkshopDao, StateTypeDao
  */
 public DeviceDataBus(IDeviceDataDao deviceDataDao,
                      IAlarmInfoDao alarmInfoDao,
                      ILogger <DeviceDataBus> logger,
                      IDeviceDao deviceDao,
                      IDeviceBus deviceBus,
                      IWorkshopDao workshopDao,
                      IStateTypeDao stateTypeDao,
                      IDeviceDailyOnlineTimeDao deviceDailyOnlineTimeDao,
                      IThresholdDao thresholdDao,
                      IFieldDao fieldDao
                      )
 {
     this._deviceDataDao            = deviceDataDao;
     this._alarmInfoDao             = alarmInfoDao;
     this._logger                   = logger;
     this._deviceDao                = deviceDao;
     this._deviceBus                = deviceBus;
     this._workshopDao              = workshopDao;
     this._stateTypeDao             = stateTypeDao;
     this._deviceDailyOnlineTimeDao = deviceDailyOnlineTimeDao;
     this._thresholdDao             = thresholdDao;
     this._fieldDao                 = fieldDao;
 }
示例#3
0
 public StateTypeBus(IStateTypeDao stateTypeDao, ILogger <StateTypeBus> logger)
 {
     this._stateTypeDao = stateTypeDao;
     this._logger       = logger;
 }