I recently start to work on an application that drive different measurement device.
Before the user start a measure, she sets the parameters of it.
Actually, considering all measurements type there are 50+ parameters.
The difficulty here is that every settings depends on others for:
- Being available
- List of available values
- so on..
Moreover, some measurement settings depend on previous measure results and settings.
To make it short : we have a lot of stuff that are interconnected.
The actual pattern is to validate everything as soon as a values is changed. It cost a lot (in time) and we are going to add a lot of more parameters : it will break.
We try to implement a pattern where we use ObservableValues and where all parameters register on all values it depend on.
It became hard when the parameters depend on an other reference measure. If the reference change, we have to stop listening on the previous reference and start to listen on the new reference.
An other issue is that when we work on our pattern and we had more capabilities (like serialization), or when we had some helper class (like factory), we build big files with 50+ parameters or functions.
Is there any other good pattern or library to do it ?