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

Add Device-level Subscribed flag #26

Open
mikenugent1 opened this issue Jul 26, 2017 · 1 comment
Open

Add Device-level Subscribed flag #26

mikenugent1 opened this issue Jul 26, 2017 · 1 comment

Comments

@mikenugent1
Copy link

We bring in metadata from many PMUs, but only subscribe to measurements from a subset of those devices. It would be great to have a "Subscribed" flag on the Device itself that would be true if any child measurements are subscribed to. This could also just be a user-enterable flag in the Device metadata.

This flag should also be passed across internal-type Gateway connections so that downstream systems (like openHistorian or lower-environment chained SIEGate connections) would know what devices are subscribed to.

@mikenugent1 mikenugent1 changed the title Add device-level Subscribed flag Add Device-level Subscribed flag Jul 26, 2017
@ritchiecarroll
Copy link
Member

This is possible - although it will need a little thought in that subscriptions can be made by (1) setting the subscribed flag, or (2) using filter expressions. For the subscribed flag scenarios the DeviceDetail view could easily pick up the flag from the associated measurements - however, for the filter expressions - this a code level operation, not a database one. As a result, a code level operation would ultimately be responsible for assigning the flag.

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

No branches or pull requests

2 participants