Completes #1.
- Adds Pressure Transmitter on Analog 1 - Updates device driver for reading Analog 1 - Updates device driver to store scaling parameters in persist.json - Increments version to 11 - Adds migration script to convert from using SQLite scaling storage - Updates HTML Templates - Updates README
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
<div class="row row-flex">
|
||||
<div class="col-xs-12" style="text-align: center;">
|
||||
<h1>Flowmeter</h1>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 box-me entry-top-level" id="setrawmin">
|
||||
<div style="margin-left:15px;">
|
||||
<h2>Raw Min</h2>
|
||||
@@ -172,6 +176,149 @@
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row row-flex">
|
||||
<div class="col-xs-12" style="text-align: center;">
|
||||
<h1>Pressure Transmitter</h1>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 box-me entry-top-level" id="setpressurerawmin">
|
||||
<div style="margin-left:15px;">
|
||||
<h2>Raw Min</h2>
|
||||
<form class="form-inline">
|
||||
<div class="form-group" style="margin-bottom:15px;">
|
||||
<label
|
||||
class="sr-only"
|
||||
for="<%= channels["flowmonitor.setpressurerawmin"].channelId %>">Raw Min Value</label>
|
||||
<div class="input-group">
|
||||
<input
|
||||
class="form-control channel_value"
|
||||
type="number"
|
||||
step="any"
|
||||
value="<%=channels['flowmonitor.setpressurerawmin'].value %>">
|
||||
<div class="input-group-addon">V</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr />
|
||||
<a
|
||||
href="#"
|
||||
data-confirm-message="Are you sure you want to do this?"
|
||||
data-refreshpause="1"
|
||||
data-command=""
|
||||
data-staticsend=1.0
|
||||
data-channelId="<%= channels["flowmonitor.setpressurerawmin"].channelId %>"
|
||||
data-techname="<%=channels["flowmonitor.setpressurerawmin"].techName %>"
|
||||
data-name="<%= channels["flowmonitor.setpressurerawmin"].name%>"
|
||||
data-nodechannelcurrentId="<%= channels["flowmonitor.setpressurerawmin"].nodechannelcurrentId %>"
|
||||
id="<%= channels["flowmonitor.setpressurerawmin"].channelId %>"
|
||||
class="btn btn-large btn-theme animated setstatic material-icons">send</a>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 box-me entry-top-level" id="setpressurerawmax">
|
||||
<div style="margin-left:15px;">
|
||||
<h2>Raw Max</h2>
|
||||
<form class="form-inline">
|
||||
<div class="form-group" style="margin-bottom:15px;">
|
||||
<label
|
||||
class="sr-only"
|
||||
for="<%= channels["flowmonitor.setpressurerawmax"].channelId %>">Raw Max Value</label>
|
||||
<div class="input-group">
|
||||
<input
|
||||
class="form-control channel_value"
|
||||
type="number"
|
||||
step="any"
|
||||
value="<%=channels['flowmonitor.setpressurerawmax'].value %>">
|
||||
<div class="input-group-addon">V</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr />
|
||||
<a
|
||||
href="#"
|
||||
data-confirm-message="Are you sure you want to do this?"
|
||||
data-refreshpause="1"
|
||||
data-command=""
|
||||
data-staticsend=1.0
|
||||
data-channelId="<%= channels["flowmonitor.setpressurerawmax"].channelId %>"
|
||||
data-techname="<%=channels["flowmonitor.setpressurerawmax"].techName %>"
|
||||
data-name="<%= channels["flowmonitor.setpressurerawmax"].name%>"
|
||||
data-nodechannelcurrentId="<%= channels["flowmonitor.setpressurerawmax"].nodechannelcurrentId %>"
|
||||
id="<%= channels["flowmonitor.setpressurerawmax"].channelId %>"
|
||||
class="btn btn-large btn-theme animated setstatic material-icons">send</a>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 box-me entry-top-level" id="setpressurepsimin">
|
||||
<div style="margin-left:15px;">
|
||||
<h2>PSI Min</h2>
|
||||
<form class="form-inline">
|
||||
<div class="form-group" style="margin-bottom:15px;">
|
||||
<label
|
||||
class="sr-only"
|
||||
for="<%= channels["flowmonitor.setpressurepsimin"].channelId %>">PSI Min Value</label>
|
||||
<div class="input-group">
|
||||
<input
|
||||
class="form-control channel_value"
|
||||
type="number"
|
||||
step="any"
|
||||
value="<%=channels['flowmonitor.setpressurepsimin'].value %>">
|
||||
<div class="input-group-addon">PSI</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr />
|
||||
<a
|
||||
href="#"
|
||||
data-confirm-message="Are you sure you want to do this?"
|
||||
data-refreshpause="1"
|
||||
data-command=""
|
||||
data-staticsend=1.0
|
||||
data-channelId="<%= channels["flowmonitor.setpressurepsimin"].channelId %>"
|
||||
data-techname="<%=channels["flowmonitor.setpressurepsimin"].techName %>"
|
||||
data-name="<%= channels["flowmonitor.setpressurepsimin"].name%>"
|
||||
data-nodechannelcurrentId="<%= channels["flowmonitor.setpressurepsimin"].nodechannelcurrentId %>"
|
||||
id="<%= channels["flowmonitor.setpressurepsimin"].channelId %>"
|
||||
class="btn btn-large btn-theme animated setstatic material-icons">send</a>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 box-me entry-top-level" id="setpressurepsimax">
|
||||
<div style="margin-left:15px;">
|
||||
<h2>PSI Max</h2>
|
||||
<form class="form-inline">
|
||||
<div class="form-group" style="margin-bottom:15px;">
|
||||
<label
|
||||
class="sr-only"
|
||||
for="<%= channels["flowmonitor.setpressurepsimax"].channelId %>">PSI Max Value</label>
|
||||
<div class="input-group">
|
||||
<input
|
||||
class="form-control channel_value"
|
||||
type="number"
|
||||
step="any"
|
||||
value="<%=channels['flowmonitor.setpressurepsimax'].value %>">
|
||||
<div class="input-group-addon">PSI</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr />
|
||||
<a
|
||||
href="#"
|
||||
data-confirm-message="Are you sure you want to do this?"
|
||||
data-refreshpause="1"
|
||||
data-command=""
|
||||
data-staticsend=1.0
|
||||
data-channelId="<%= channels["flowmonitor.setpressurepsimax"].channelId %>"
|
||||
data-techname="<%=channels["flowmonitor.setpressurepsimax"].techName %>"
|
||||
data-name="<%= channels["flowmonitor.setpressurepsimax"].name%>"
|
||||
data-nodechannelcurrentId="<%= channels["flowmonitor.setpressurepsimax"].nodechannelcurrentId %>"
|
||||
id="<%= channels["flowmonitor.setpressurepsimax"].channelId %>"
|
||||
class="btn btn-large btn-theme animated setstatic material-icons">send</a>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
$('.channel_value').each(function(topLevel){
|
||||
$(this).change(function(){
|
||||
|
||||
Reference in New Issue
Block a user