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
Commit
8f76d419
authored
3 years ago
by
Patrick
Browse files
Options
Download
Email Patches
Plain Diff
update graph_noise
parent
18991d4e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
vcm/config.json
+2
-0
vcm/config.json
vcm/js/noise.js
+2
-0
vcm/js/noise.js
with
4 additions
and
0 deletions
+4
-0
vcm/config.json
+
2
-
0
View file @
8f76d419
...
@@ -738,6 +738,7 @@
...
@@ -738,6 +738,7 @@
"<p>noise_LAeq: </p><p id='noise_laeq'> </p><br>"
,
"<p>noise_LAeq: </p><p id='noise_laeq'> </p><br>"
,
"<p>noise_LA_min: </p><p id='noise_lamin'> </p><br>"
,
"<p>noise_LA_min: </p><p id='noise_lamin'> </p><br>"
,
"<p>noise_LA_max: </p><p id='noise_lamax'> </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>"
,
"<span></span>"
,
"<div class='balloon-close-col'>"
,
"<div class='balloon-close-col'>"
,
"<button class='close-balloon'><i class='fa fa-times fa-lg'></i></button>"
,
"<button class='close-balloon'><i class='fa fa-times fa-lg'></i></button>"
,
...
@@ -771,6 +772,7 @@
...
@@ -771,6 +772,7 @@
"<p>noise_LAeq: </p><p id='noise_laeq'> </p><br>"
,
"<p>noise_LAeq: </p><p id='noise_laeq'> </p><br>"
,
"<p>noise_LA_min: </p><p id='noise_lamin'> </p><br>"
,
"<p>noise_LA_min: </p><p id='noise_lamin'> </p><br>"
,
"<p>noise_LA_max: </p><p id='noise_lamax'> </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>"
,
"<span></span>"
,
"<div class='balloon-close-col'>"
,
"<div class='balloon-close-col'>"
,
"<button class='close-balloon'><i class='fa fa-times fa-lg'></i></button>"
,
"<button class='close-balloon'><i class='fa fa-times fa-lg'></i></button>"
,
...
...
This diff is collapsed.
Click to expand it.
vcm/js/noise.js
+
2
-
0
View file @
8f76d419
...
@@ -16,6 +16,8 @@ var Sensor = {
...
@@ -16,6 +16,8 @@ var Sensor = {
}
}
function
getNoiseData
(
sensorid
)
{
function
getNoiseData
(
sensorid
)
{
// console.log("arrive")
// console.log("arrive")
document
.
getElementById
(
'
noise_graph
'
).
style
.
display
=
'
block
'
;
Sensor
.
id
=
sensorid
Sensor
.
id
=
sensorid
// console.log(Sensor.id)
// console.log(Sensor.id)
try
{
try
{
...
...
This diff is collapsed.
Click to expand it.
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