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:
@@ -106,6 +106,45 @@
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 text-center box-me" id="pressure-transmitter-toggle">
|
||||
<% if (channels['flowmonitor.psi_pressure_enabled'].value == "True"){ %>
|
||||
<h2>Pressure Transmitter Enabled</h2>
|
||||
<% } else { %>
|
||||
<h2>Pressure Transmitter Disabled</h2>
|
||||
<% } %>
|
||||
<div data-valueupdate="psi_pressure_enabled" data-refreshonupdate=true>
|
||||
<form>
|
||||
<% if (channels['flowmonitor.psi_pressure_enabled'].value == "True"){ %>
|
||||
<a
|
||||
href="#"
|
||||
data-confirm-message="Are you sure you want to do this?"
|
||||
data-refreshpause="1"
|
||||
data-command=""
|
||||
data-staticsend="False"
|
||||
data-channelId="<%= channels["flowmonitor.psi_pressure_enabled"].channelId %>"
|
||||
data-techname="<%=channels["flowmonitor.psi_pressure_enabled"].techName %>"
|
||||
data-name="<%= channels["flowmonitor.psi_pressure_enabled"].name%>"
|
||||
data-nodechannelcurrentId="<%= channels["flowmonitor.psi_pressure_enabled"].nodechannelcurrentId %>"
|
||||
id="<%= channels["flowmonitor.psi_pressure_enabled"].channelId %>"
|
||||
class="btn btn-large btn-theme animated setstatic">Disable Pressure Transmitter</a>
|
||||
<% } else { %>
|
||||
<a
|
||||
href="#"
|
||||
data-confirm-message="Are you sure you want to do this?"
|
||||
data-refreshpause="1"
|
||||
data-command=""
|
||||
data-staticsend="True"
|
||||
data-channelId="<%= channels["flowmonitor.psi_pressure_enabled"].channelId %>"
|
||||
data-techname="<%=channels["flowmonitor.psi_pressure_enabled"].techName %>"
|
||||
data-name="<%= channels["flowmonitor.psi_pressure_enabled"].name%>"
|
||||
data-nodechannelcurrentId="<%= channels["flowmonitor.psi_pressure_enabled"].nodechannelcurrentId %>"
|
||||
id="<%= channels["flowmonitor.psi_pressure_enabled"].channelId %>"
|
||||
class="btn btn-large btn-theme animated setstatic">Enable Pressure Transmitter</a>
|
||||
<% } %>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user