Is it possible to get Root device ref for Feature (child) device?
Announcement
Collapse
No announcement yet.
Is it possible to get Root device ref for Feature (child) device?
Collapse
X
-
Originally posted by dcorsus View PostI believe it is in the AssociatedDevices
Code:if (hsDevice is HsFeature) { // Find Root ref HashSet<int> asds = hsDevice.AssociatedDevices; Debug.Assert(asds?.Count == 1); if (asds?.Count == 1) rootRef = asds.First(); }
Comment
-
Originally posted by dcorsus View Post
Not sure what you mean ....
I have a trouble ticket open ... forever .... in that you cannot remove associations, only add. Problem for me when I try to migrate my PIs configuration from HS3 format to HS4 format
Comment
Comment