Operation Manual

Shenzhen Dericam Technology Co .,Limited www.dericam.net
33
Return Value Success: contain Success
Failure: contain Error
Note None
Example
/ cgi-bin/hi3510/param.cgi ? cmd=setrelayattr&-time=10
param.cgi?cmd=
param.cgi?cmd=
param.cgi?cmd=
param.cgi?cmd= g
g
g
g etschedule
etschedule
etschedule
etschedule
Function To get alarm and arming schedule table
Authority admin
Syntax
/ cgi-bin/hi3510/param.cgi [ ?cmd=getschedule & -type=&-ename= ]
parameters type A rming type:
event
ename Alarm type:
md : motion dection
Return Value etm A rming time mode:
0: All week mode
1: working days rest days mode
2: All time mode
workday A rming time period of working days,using in
working days rest days mode.
weekend A rming time period of rest days,using in working
days rest days mode.
w eek Every day arming time period in All week mode
md_interval Arm time interval
Attention: There are more groups of alarm schedule table in return value.
F or example:
var etm="0";
var workday = "0~95," ;
var weekend="0~95," ;
var week= new Array() ;
week[0] = "0~95,";
week[1] = "0~95,";
week[2] = "0~95,";
week[3] = "0~95,";
week[4] = "0~95,";
week[5] = "0~95,";
week[6] = "0~95,";