Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
OnEvent("GRAY","1","ALARM")
{
[
                   if( !CheckState("CAM","1","DETACHED") )
    {
        DoReact("CAM","1","REC_ROLLBACK");
                       Wait(5);
                       DoReact("CAM","1","REC_STOP");
    }
]
}
OnEvent("GRAY","1","ALARM")
{
[
                  Wait(2);
                  DoReact("GRAY","1","CONFIRM");
    Wait(2);
                  DoReact("GRAY","1","ARM");
]
}

...