Handling data for sensorRead from a DBS #12
Labels
No labels
_CRITICAL_
API
app
backEnd
Blocked, waiting for further changes
bug
cleanup
close
design
duplicate
enhancement
feature request
frontEnd
help wanted
invalid
low priority
needs input
needs review
project documentation
question
research
reviewed
script
security
SQL
style
testing
topLevel
wontfix
No milestone
No project
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Andras/BoundlessFlowCampus2K#12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
sensorRead handles old (historical) data.
Add a function so that we can read in old (historical) data when we are updating (or refreshing the system).
Parent / related issue: Additional microservices for monitoring for multiple sensors #7
I have made a fuction that read the historic data, and added a view just to show it. I took it as this issue was only to create the read part so the view is not as it should be displayed only to show the values and see that it works.
Added parts in the branch:
2 new files under /frontend/src/features/temperature
and in /frontend/src/app/App.js
i have added line 9
<TemperatureTimeSeriesView/>to call the render on the lokalhost to view
Whats done
This worked without problems.
Also tested the code using null instead of an empty array.
Needs to be improved