This commit is contained in:
2026-11-02 01:23:50 +03:00
parent f74d52d39d
commit 9d74d06ce3
29 changed files with 2347 additions and 381 deletions
@@ -273,20 +273,49 @@
<button id="sensors-refresh" class="ghost">↻ Обновить</button>
</div>
<p class="hint" id="sensors-hint">Данные коллектора (GATT 0xA000).</p>
<div class="row" style="margin-bottom:12px;gap:8px;align-items:end;flex-wrap:wrap;">
<label>
Интервал отправки, мин
<input type="number" id="sensors-interval" min="1" max="65535" value="30" style="width:7em;">
</label>
<button id="sensors-interval-save" class="primary">Сохранить интервал</button>
</div>
<table class="req-log" id="sensors-table">
<thead>
<tr>
<th>Имя</th>
<th>MAC</th>
<th>Аккумулятор</th>
<th>Аккум.</th>
<th>Показание</th>
<th>RSSI</th>
<th>Состояние</th>
<th>Давно</th>
</tr>
</thead>
<tbody id="sensors-body"></tbody>
</table>
</div>
<div class="card">
<div class="card-head">
<h2>Имена датчиков</h2>
<button id="sensors-names-add" class="ghost">+ датчик</button>
</div>
<p class="hint">Сначала выберите MAC из уже подключавшихся, либо «Ввести вручную…».</p>
<table class="req-log" id="sensors-names-table">
<thead>
<tr>
<th>MAC</th>
<th>Имя</th>
<th></th>
</tr>
</thead>
<tbody id="sensors-names-body"></tbody>
</table>
<div class="card-actions">
<button id="sensors-names-save" class="primary">Сохранить имена</button>
</div>
</div>
<div class="card">
<div class="card-head">
<h2>Лог датчиков</h2>