no replies?
attached is the "ATC_SEALED_BUTTON" macro ( aka M20044.txt) called in the IF cycle described in previous post.
It works with no issues, I'm attaching it to better understand the whole process
this is the relevant part of it:
- Code: Select all
if(Convert.ToBoolean(exec.Readkey("UserCheckboxes", Convert.ToString(ENABLE_ATC_CHECKBOX), "False"))){
if(!AS3.GetLED(ATC_LIFE_LED)){
exec.Informplugin("Messages.dll", (object)"#Ok: Raffreddamento ATC (M20044)|ATC Offline.");
}
else if(!SendDataBin(ATC,1, !my_status, ATC_WRITE_SEALED_BIT)){
exec.Informplugin("Messages.dll", (object)"#Ok: Raffreddamento ATC (M20044)|Invio comando sealed fallito.");
}
else{
AS3.Switchbutton(!my_status, ATC_SEALED_BUTTON);
}
}
else{
exec.Informplugin("Messages.dll", (object)"Ok: Raffreddamento ATC (M20044)|ATC non abilitato.");
}
I don't see reasons why this code should block the
- Code: Select all
exec.Callbutton(128);
statement
thanks
Giorgio