public DeviceController(IDeviceBus deviceBus, IDeviceDataBus deviceDataBus, IAlarmInfoBus alarmInfoBus, IThresholdBus thresholdBus) { this._deviceBus = deviceBus; this._deviceDataBus = deviceDataBus; this._alarmInfoBus = alarmInfoBus; this._thresholdBus = thresholdBus; }
/* * 构造函数 * 需要注入DeviceDataDao, AlarmInfoDao, Logger */ public AlarmInfoBus(IDeviceDataDao deviceDataDao, IAlarmInfoDao alarmInfoDao, ILogger <AlarmInfoBus> logger, IDeviceBus deviceBus) { this._deviceDataDao = deviceDataDao; this._alarmInfoDao = alarmInfoDao; this._deviceBus = deviceBus; this._logger = logger; }
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; }
/* * 构造函数 * 需要注入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; }
public DeviceController(IDeviceBus deviceBus) { this._deviceBus = deviceBus; }