23.03.2020, 10:24
Just to make it perfect: How I can make a widget pop when when some grp address is triggered?
like you made for a plan with the code below:
$(function(){
if (typeof objectStore !== 'undefined') {
var id = Scada.encodeGroupAddress('1/1/2');
objectStore.addListener(id, function(object, type) {
if (type == 'value') {
showPlan(69);
}
});
}
});
Tnx
like you made for a plan with the code below:
$(function(){
if (typeof objectStore !== 'undefined') {
var id = Scada.encodeGroupAddress('1/1/2');
objectStore.addListener(id, function(object, type) {
if (type == 'value') {
showPlan(69);
}
});
}
});
Tnx