protected override void OnStart() { _modeWatcher = new modeWatcher(this.CreateBusAttachment(ref _modeBusAttachment)); _modeWatcher.Added += this.modeWatcher_Added; _modeWatcher.Start(); _airflowWatcher = new airflowWatcher(this.CreateBusAttachment(ref _airflowBusAttachment)); _airflowWatcher.Added += this.airflowWatcher_Added; _airflowWatcher.Start(); _binaryWatcher = new binaryWatcher(this.CreateBusAttachment(ref _binaryBusAttachment)); _binaryWatcher.Added += this.binaryWatcher_Added; _binaryWatcher.Start(); _temperatureWatcher = new temperatureWatcher(this.CreateBusAttachment(ref _temperatureBusAttachment)); _temperatureWatcher.Added += this.temperatureWatcher_Added; _temperatureWatcher.Start(); }
protected override void OnStart() { _temperatureWatcher = new temperatureWatcher(this.CreateBusAttachment(ref _temperatureBusAttachment)); _temperatureWatcher.Added += this.temperatureWatcher_Added; _temperatureWatcher.Start(); }