خرید بک لینک

Vote count: 0

See Merging multiple custom observables in RX for background.

My scenario is that I have a number of arbitrary sensors (hardware). I have written some pluggable modules that can coect to these sensors in C#. They currently each use a thread to run an acquisition routine on a timer. The larger goal is to change polling to RX as well once I understand how!

There is a requirement to monitor these sensors in groups so I was thinking there would be an aggregated topic where a monitor could subscribe to for updates from a particular group of sensors (Temperature, Signal Strength etc) and potentially make changes to the behaviour of the system based on the readings from the sensors.

Additionally each sensor would possibly coect to a logging observer to log their current state and the monitor would coect to a logging observer to log its decisions

The same design patte would apply to any new sensor ,monitor or logger we introduce.

Thanks for reading

asked 3 mins ago

برچسب: نویسنده: استخدام کار تاريخ: سه شنبه 31 فروردين 1395 ساعت: 22:51

صفحه بندی