Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Alfakhori
M4labplatform
Commits
8f76d419
You need to sign in or sign up before continuing.
Commit
8f76d419
authored
Jan 12, 2022
by
Patrick
Browse files
update graph_noise
parent
18991d4e
Changes
2
Hide whitespace changes
Inline
Side-by-side
vcm/config.json
View file @
8f76d419
...
...
@@ -738,6 +738,7 @@
"<p>noise_LAeq: </p><p id='noise_laeq'> </p><br>"
,
"<p>noise_LA_min: </p><p id='noise_lamin'> </p><br>"
,
"<p>noise_LA_max: </p><p id='noise_lamax'> </p><br>"
,
"<iframe id='noise_graph' src='https://maps.sensor.community/grafana/d-solo/000000004/single-sensor-view?orgId=1&panelId=12&var-node=49368' style='width: 270px; height: 200px; margin-top:-190px; float:right;display:none' frameborder='0'></iframe>"
,
"<span></span>"
,
"<div class='balloon-close-col'>"
,
"<button class='close-balloon'><i class='fa fa-times fa-lg'></i></button>"
,
...
...
@@ -771,6 +772,7 @@
"<p>noise_LAeq: </p><p id='noise_laeq'> </p><br>"
,
"<p>noise_LA_min: </p><p id='noise_lamin'> </p><br>"
,
"<p>noise_LA_max: </p><p id='noise_lamax'> </p><br>"
,
"<iframe id='noise_graph' src='https://maps.sensor.community/grafana/d-solo/000000004/single-sensor-view?orgId=1&panelId=12&var-node=37833' style='width: 270px; height: 200px; margin-top:-190px; float:right;display:none' frameborder='0'></iframe>"
,
"<span></span>"
,
"<div class='balloon-close-col'>"
,
"<button class='close-balloon'><i class='fa fa-times fa-lg'></i></button>"
,
...
...
vcm/js/noise.js
View file @
8f76d419
...
...
@@ -16,6 +16,8 @@ var Sensor = {
}
function
getNoiseData
(
sensorid
)
{
// console.log("arrive")
document
.
getElementById
(
'
noise_graph
'
).
style
.
display
=
'
block
'
;
Sensor
.
id
=
sensorid
// console.log(Sensor.id)
try
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment