Skip to content

WDFN 580 present operational limits

Before making a pull request

  • Run all linters (make lint)
  • Run all tests (make test)
  • Update the changelog appropriately

Description

This is an overview of the actions

  • grabs all the threshold information for the site number from Sensor Things
  • pulls out the desired thresholds, in this case Operational limits (but can pull out any at this point)
  • adds the thresholds to the state
  • when the graph draws, it checks the state to see if any thresholds match the parameter and parameter description
  • pulls out the desired thresholds in range of the y axis (in this case operating limits are selected, but again this could work for any threshold
  • uses the threshold 'in range' to graph all the needed threshold lines when needed
  • uses the thresholds 'in range' to create the legend 'markers' only when needed

After making a pull request

  • If appropriate, put the link to the PR in the JIRA ticket
  • Assign someone to review unless the change is trivial
Edited by Briggs, Aaron Shane

Merge request reports