Добавил еще одно устройство в проект: HART модем, получающий накопленный расход от расходометра.

This commit is contained in:
2024-02-21 15:44:55 +03:00
parent 4da1ce477e
commit 0195373cc4
7 changed files with 87 additions and 11 deletions

View File

@@ -355,6 +355,14 @@ const updateFunctions = {
}
},
'pump-accumulated-flow': {
'get_val': (dataset) => { return dataset['hart']['accumulated_flow'] },
'handler': (element, value) => {
element.innerHTML = value
return null
}
},
// 'id': {
// 'get_val': (dataset) => { return dataset['...']['...'] },
// 'handler': (element, value) => {