Skip to content

Static Access to optional Parameters possible? #54

Open
@ghost

Description

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions