-
-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom configuration - review the documentation #401
Comments
- added Configuration/ConfigurationArchitecture.png
- working on documentation - work in progress
- working on documentation - work in progress - Configuration/README.md is finished and added to the SUMMARY.md
I actually have one concern with providing custom configuration in a dynamic fashion. Assuming we have multiple devices with various configs the end library user should have an ability to distinguish which configuration was used for this particular binding/repository. IConsumerBinding GetConsumerBinding(
string repositoryGroup,
string processValueName,
UATypeInfo fieldTypeInfo); It only provides two This method could either provide reference to applicable configuration instance (but that means dependency on |
@Drutol, Many thanks for valuable comments. By design, the configuration is static now. Dynamic configuration is just a feature request on my road map. In the static approach, both mentioned above parameters come directly from the configuration file so they are under the application author (i.e. library user) control. At the very beginning, the My plan is to work on the documentation and provide How to... examples in the UT. After that, we will decide about the next steps. My concern is if dynamic configuration addressing the scenario when data in the NetworkMessage cannot be associated with the predefined semantics in the configuration file is really useful. Lets think on a scenario where this feature is required. I am not sure what you mean |
Yes, I just thought it'd be a good place to add my comment since the issue contains
What I meant here is that if we have "discovered" 3 kinds devices we are ending up with 3 configurations where each contains encoding infrmation + for example image data with value mappings on it. I'm getting ahead of myself here with assuming configuration not being static.
Well, if we don't assume otherwise we are bound to the device set present at the application deployment. If we know them all beforehand it defeats the purpose of data discovery.
Yes of course. I've been just playing around with getting my code to handle possible |
- reviewed Configuration/README.md - harmonized with other documents
- working on CustomConfigurationData.cs - custom configuration example.
- CustomConfigurationData.cs - added UT - the example is ready to be used in the documentation - UT 👍
Thanks for comments.
I must say it is not true. We don't know where the data comes from, so it is impossible to get the configuration - it is PubSub. The configuration must be derived by the RxNetworkin application from the Type of data using message content only. It could happen that three devices will have the same type.
|
It is related to Drutol/CrossHMI#7
Prepare document how to:
The text was updated successfully, but these errors were encountered: