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

references to partial responses #6

Closed
wants to merge 2 commits into from

Conversation

crotwell
Copy link
Collaborator

@crotwell crotwell commented Aug 6, 2015

Here is a first cut at allowing stationXML to refer to responses instead of embedding them directly in a channel.

The basic idea is that PartialResponse is a new element that contains Stages. The PartialResponse is at the same level as Network (so top level element) and Network is now optional.

A Response can now be either a sequence of Stage or a of PartialResponseRef, which has an xlink, fromStageNum and toStageNum to allow it to point to a PartialResponse either in the same file or elsewhere. PartialResponse must have an id for this to work. PartialResponse can also include an equipment resourceId to allow the xml to say that this part of the response corresponds to that piece of equipment associated with the channel.

I have also included some examples:

example-remote-response-ref.staxml - an channel whose response is external, pointing to logger and sensor below
example-logger-response.staxml - just the logger part of a response, such as a nominal response for a particular config
example-sensor-response.staxml - just the sensor part o a response, perhaps nominal
example-internal-response-ref.staxml - an example where the sensor and logger partial responses are included in the xml

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

Successfully merging this pull request may close these issues.

2 participants