06.12.2020, 21:48
Good night, I write this but the object is not created and when I consult the table it appears empty. Could you explain a little more?
Code:
db =insert('table', {object = 2305, name = 'Electro-válvula Corte Agua',
params = {
size = 12,
bold = 0,
italic = 0,
underline = 0,
width = 56,
height = 56,
icon_on = Electrovalvula_activada.png,
icon_off = Electrovalvula.png,
icon_touch = Electrovalvula.png,
displaymode = icon-value,
showcontrol = 0,
update = false,
widget = null,
backdrop = 0},
id = 42482,
sortorder = 1,
nobg = 1,
statusobject = 2405,
readonly= 0,
locy = 107,
locx= 35,
floor = 851,
notouch= 0
})