Page History
...
In addition, a script can be created that allows drawing a vertical line on the video image in the Surveillance Window, showing the level of the fill:
For details on the scripts refer to the Intellect software. Programming Guide (JScript).
Script The script text is given below. After copying, replace the cam (camera identifier) and x1, x2, y1, y2 parameters with the actual values.
Code Block |
---|
if(Event.SourceType == "FLUID_DETECTOR" && Event.SourceId == "1" && Event.Action == "FLUID_ACTION") { var L = Event.GetParam("param0"); L=100-L*100; //the L parameter sets the line height DoReactStr("MONITOR","","SET_MARKRECT","cam<"+cam+">,color<255>,id<"+cam+">,x1<"+x1+">,x2<"+x2+">,y1<"+L+">,y2<"+y2+">"); // coordinates x1, x2, y1, y2 set line position in the Surveillance window } |
...
Overview
Content Tools