Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
energy
bmon
Commits
75dd9b42
Commit
75dd9b42
authored
Feb 03, 2015
by
Alan Mitchell
Browse files
Cleaned up Documentation related to Parameters.
parent
9ea4ebf3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
bmsapp/calcs/calcreadings.py
bmsapp/calcs/calcreadings.py
+3
-3
No files found.
bmsapp/calcs/calcreadings.py
View file @
75dd9b42
...
...
@@ -140,12 +140,12 @@ class CalculateReadings:
keyword parameter with the string 'id_'. Using the 'fluidHeatFlow' function as an
example, if you want the function to operate on the flow readings recorded by sensor
12345, you would pass the parameter:
id_flow
=
"12345"
id_flow
:
"12345"
(all sensor IDs are strings and are therefore quoted, although code has been
included to assume a string even if the quotes are forgotten)
If instead there were no flow sensor readings but you know the flow to have the value
of 60.5, you would pass:
flow
=
60.5
flow
:
60.5
in the 'calcParams' string.
If you are using multiple existing sensor readings as inputs to the calculation function,
...
...
@@ -153,7 +153,7 @@ class CalculateReadings:
designate the sensor to be used for synchronization, append '_sync' to that parameter
name. For example, to synchronize on the flow sensor in the 'fluidHeatFlow' function,
pass:
id_flow_sync
=
"12345"
id_flow_sync
:
"12345"
For the other sensor inputs, sensor values are interpolated to the timestamps of the
synchronized sensor.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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