Hi
Could I send lots javascripe command one time from server to client ?
the javascript command count is fixed when I use runfuction.
but I will sending commad line isn't fixed when i need to sending client.
Could I send lots javascripe command one time from server to client ?
the javascript command count is fixed when I use runfuction.
B4X:
function refresh_page(io)
{
graphic.setValue('automode',io.automode);
graphic.setValue('recipe',io.recipe);
graphic.setValue('resultc',io.resultc);
graphic.setValue('resultn',io.resultn);
graphic.setValue('alarmno',io.alarmno);
graphic.setValue('alarmmsg', io.alarmmsg);
graphic.setValue('workno', io.workno);
graphic.setValue('opid', io.opid);
document.getElementById("workno").value = io.workno;
document.getElementById("opid").value = io.opid;
graphic.setValue('tto', io.tto);
graphic.setValue('tok', io.tok);
graphic.setValue('tokp', io.tokp);
graphic.setValue('tng1', io.tng1);
graphic.setValue('tng1p', io.tng1p);
graphic.setValue('tng2', io.tng2);
graphic.setValue('tng2p', io.tng2p);
graphic.setValue('nto', io.nto);
graphic.setValue('nok', io.nok);
graphic.setValue('nng1', io.nng1);
graphic.setValue('nng2', io.nng2);
graphic.setValue('ltboxEnable', io.ltboxEnable);
graphic.setValue('rtboxenable', io.rtboxenable);
graphic.setValue('lsReset',io.lsReset);
graphic.setValue('lsbar', io.lsbar);
graphic.setValue('takttime',io.takttime);
};
Last edited: