mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-19 17:27:12 +02:00
web: alarm list: show inverter name
rename alarm table header "String" to "Event" Signed-off-by: Peter H. Demus <peter@demus.de>
This commit is contained in:
parent
3a29d6c258
commit
9e09dc5530
2 changed files with 3 additions and 2 deletions
|
@ -424,6 +424,7 @@ class RestApi {
|
|||
record_t<> *rec = iv->getRecordStruct(RealTimeRunData_Debug);
|
||||
|
||||
obj[F("iv_id")] = id;
|
||||
obj[F("iv_name")] = String(iv->config->name);
|
||||
obj[F("cnt")] = iv->alarmCnt;
|
||||
obj[F("last_id")] = iv->getChannelFieldValue(CH0, FLD_EVT, rec);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue