21.10.2019, 06:46
Change COV for a single tag:
Code:
covincr = 4.5
tag = 'aaa'
db:query('UPDATE objects SET covincr=? WHERE id IN (SELECT object FROM objecttags WHERE tag=?)', covincr, tag)
os.execute('/etc/init.d/bacnet restart')