- Winform app for servicing different types of devices (approx. 10 types).
- Some devices have more settings similar (or same) then the others.
- Each device could also has software and hardware versions which could change the number of settings.
- Every device has big number of settings divided into pages (tabs) and those settings could have different nature (bool, int, float, string, ...).
My question is how to solve this on design level (how to create objects and also GUI). Are there some patterns or best practises for app like this?
For example I could create the GUI separately for every device type, but some of them have the same "blocks" of settings so it should be best to create
UserControl for this. But in this "block" there also could be some variations based on the device software versions.
I want to explain more clearly, what app I would like to create and I think that I found an analogy that is good enough:
Imagine that it is an app for setting cars control unit. Car mechanic can install this app on their laptop and then select car model from list of supported models and connect to any control unit they want and they can set everything in that unit. It does not matter if it is Mercedes CLA 180, Fiat 500 or Mustang GT. They can connect to it and the app will show them only the appropriate settings for specific car (and even specific firmware version installed on connected unit).