Skip to content
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

Static Access to optional Parameters possible? #54

Open
ghost opened this issue Jul 16, 2018 · 0 comments
Open

Static Access to optional Parameters possible? #54

ghost opened this issue Jul 16, 2018 · 0 comments

Comments

@ghost
Copy link

ghost commented Jul 16, 2018

Hi!

I am new to Ember+ development and tried to query a DHD52/XC Core as described in the Tutorial (with Sapphire Devices). When I use the dynamic approach, everything works perfect. When I use the static approach, I run into problems defining the properties in the static DB classes. E.g. I have up to 50 boolean Parameters called GPO1-GPO50, but if I don‘t define them in DHD configuration, they are not available in the Ember tree. Is there a way to mark properties as optional in the static DB classes? Otherwise I get an Exception traversing down the tree, when the DB class tries to find a parameter (e.g. GPO50) which is not available in the Ember tree?

Any help would be appreciated.
Regards
Kai Markus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants