Добавил еще одно устройство в проект: HART модем, получающий накопленный расход от расходометра.
This commit is contained in:
@@ -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) => {
|
||||
|
Reference in New Issue
Block a user