Versions Compared

Key

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

...

Code Block
OnEvent("ATM_ITV","1","INSERT_CARD")
{
[
     if( !CheckState("CAM","1","DETACHED") )
    {
        DoReact("CAM","1","REC");
         DoReact("CAM","1","ADD_SUBTITLES","command<"+param2+"   ID : "+param1+"\r>,page<BEGIN>,title_id<1>");
         DoReact("CAM","1","ADD_SUBTITLES","command<CARD No: "+param0+"\r>,title_id<1>");
         DoReact("CAM","1","ADD_SUBTITLES","command<EVENT: Card inserted\r>,title_id<1>");
         Wait(5);
         DoReact("CAM","1","ADD_SUBTITLES","command< \r>,page<END>,title_id<1>");
         DoReact("CAM","1","CLEAR_SUBTITLES","title_id<1>");
         DoReact("CAM","1","REC_STOP");
    }
]
}

 

As a result of the script, the following  info will be displayed on a video image for 5 seconds.

...