feat(units) + style: command unit-handling, frost dbase option, palette #D4A02E
measurement.html:
• sidebar swatch → #D4A02E (amber, sensor family) — EVOLV palette redesign
2026-05-21 (see superproject .claude/rules/node-red-flow-layout.md §10.0).
• Add "frost" option to dbaseOutputFormat dropdown (CoreSync FROST handoff).
src/commands/handlers.js + test/basic/commands-units.basic.test.js:
• Unit handling for data.measurement command. Analog + digital modes both
accept scalar / object / per-channel-map payloads; supplied units are
converted into the channel's configured (dropdown) unit.
CONTRACT.md: document the unit semantics.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
<script>
|
||||
RED.nodes.registerType("measurement", {
|
||||
category: "EVOLV",
|
||||
color: "#a9daee", // color for the node based on the S88 schema
|
||||
color: "#D4A02E",
|
||||
defaults: {
|
||||
|
||||
// Define default properties
|
||||
@@ -360,6 +360,7 @@
|
||||
<label for="node-input-dbaseOutputFormat"><i class="fa fa-database"></i> Database Output</label>
|
||||
<select id="node-input-dbaseOutputFormat" style="width:60%;">
|
||||
<option value="influxdb">influxdb</option>
|
||||
<option value="frost">frost</option>
|
||||
<option value="json">json</option>
|
||||
<option value="csv">csv</option>
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user