0 ) { $result = mysql_query( "select * from Monitors where Id = '$mid'" ); if ( !$result ) die( mysql_error() ); $monitor = mysql_fetch_assoc( $result ); } else { $monitor = array(); $monitor[Name] = "New"; $monitor['Function'] = "None"; $monitor[Type] = "Local"; $monitor[Port] = "80"; $monitor[Orientation] = "0"; $monitor[LabelFormat] = '%%s - %y/%m/%d %H:%M:%S'; $monitor[LabelX] = 0; $monitor[LabelY] = 0; $monitor[ImageBufferCount] = 100; $monitor[WarmupCount] = 25; $monitor[PreEventCount] = 10; $monitor[PostEventCount] = 10; $monitor[MaxFPS] = 0; $monitor[FPSReportInterval] = 1000; $monitor[RefBlendPerc] = 10; } $local_palettes = array( "Grey"=>1, "RGB24"=>4, "RGB565"=>3, "YUV420P"=>15 ); $remote_palettes = array( "8 bit greyscale"=>1, "24 bit colour"=>4 ); $orientations = array( "Normal"=>0, "Rotate Right"=>90, "Inverted"=>180, "Rotate Left"=>270 ); ?> ZM - Monitor <?= $monitor[Name] ?> "Local", "Remote"=>"Remote" ); ?>
Monitor
ParameterValue
Name
Function
Source Type
Device Number (/dev/video?)
Device Channel
Device Format (0=PAL,1=NTSC etc)
Capture Palette
Remote Host Name
Remote Host Port
Remote Host Path
Remote Image Colours
Capture Width (pixels)
Capture Height (pixels)
Orientation
Timestamp Label Format
Timestamp Label X
Timestamp Label Y
Image Buffer Size (frames)
Warmup Frames
Pre Event Image Buffer
Post Event Image Buffer
Maximum FPS
FPS Report Interval
Reference Image Blend %ge
X10 Activation String
X10 Input Alarm String
X10 Output Alarm String
 
  disabled>