JSON message about configuration capability of people queuing-up
{ "PersonQueueDetectionInfoCap": { /*required, queue management capability*/ "countingEnabled": "true,false", /*required, boolean, whether to enable people queuing-up*/ "queueTimeEnabled": "true,false", /*required, boolean, whether to enable waiting time detection*/ "RuleInfoCap": { /*required, queue management rule information, the number of rules is ranging from 1 to 3*/ "maxSize": 3, /*required, integer, capability of maximum number of supported queue management rules*/ "ruleID": { /*required, integer, rule ID*/ "@min": 1, "@max": 3 }, "ruleName": { /*required, string, rule name, the string size is ranging from 0 to 32*/ "@min": 0, "@max": 32 }, "OSDOverlayEnabled": "true,false", /*required, boolean, enable OSD*/ "alarmIntervalTime": { /*required, integer, alarm time interval, range: between 0 and 3600s, default: 300s*/ "@min": 0, "@max": 3600, "#text": 300 }, "PersonQueueCounting":{ /*required, people queuing-up parameters*/ "alarmCount": { /*required, integer, number threshold of persons for triggering alarm, range: between 0 and 60 persons, default: 10*/ "@min": 0, "@max": 60, "#text": 10 } "countTriggerType": { /*optional, string type, triggering type of people queuing-up alarm: "greater", "less", "equal", "unequal"-the alarm is triggered when the number of queuing-up persons is larger than, smaller than, equal to, or not equal to the value of alarmCount; "range"-the alarm is triggered when the number of queuing-up person is in the range between maxAlarmCount and alarmCount*/ "@opt": "greater,less,equal,unequal,range", "@def": "greater" }, "maxAlarmCount": { /*dep, integer type, maximum number of queuing-up persons to trigger alarm, it is valid when countTriggerType is "range"*/ "@min": 0, "@max": 60, "#text": 5 }, "durationTime": { /*optional, integer type, queuing-up status (number of queuing-up persons) keeping duration, which is between 0 and 3600, the default duration is 300, unit: second; the people queuing-up alarm is triggered if the number of queuing-up persons keeps for the configured duration*/ "@min": 0, "@max": 3600, "#text": 300 } }, "PersonQueueTime":{ /*required, waiting time detection parameters*/ "alarmTime": { /*required, integer, waiting time threshold for triggering alarm, range: between 0 and 3600s, default: 600s*/ "@min": 0, "@max": 3600, "#text": 600 } "timeTriggerType": { /*optional, string type, triggering type of waiting time detection alarm: "greater", "less", "equal", "unequal"-the alarm is triggered when waiting time is larger than, smaller than, equal to, or not equal to the value of alarmTime*/ "@opt": "greater,less,equal,unequal", "@def": "greater" }, }, "regionColor": { /*required, string, color of region that configured with rule, "blue, red, yellow"*/ "@opt": "blue,red,yellow", "#text": "yellow" }, "RegionCap": { /*required, coordinates of region (polygon, 3 to 10 sides) that configured with rule*/ "minSize": 3, /*required, integer, capability of minimum region sides*/ "maxSize": 10, /*required, integer, capability of maximum region sides*/ "x": { /*required, float, x-coordinate, range: between 0.000 and 1*/ "@min": 0.000, "@max": 1.000, "#text": 0.120 }, "y": { /*required, float, y-coordinate, range: between 0.000 and 1*/ "@min": 0.000, "@max": 1.000, "#text": 0.120 } } "alarmPicEnabled":{ /*optional, boolean, whether to upload pictures (i.e., background picture and human body thumbnail) when alarm is triggered, if this node is not supported by device, the alarm pictures will be uploaded by default*/ "@opt": "true,false", /*"true"-upload alarm picture (default), "false"-not upload alarm pictures*/ "@def": "true" }, "realTimeEnabled":{ /*optional, boolean, whether to upload real-time data of queue management, the corresponding event type is "personQueueRealTime"*/ "@opt": "true,false", /*"true"-upload real-time data (default), "false"-not upload*/ "@def": "true" } } }, "PersonQueueCountingCap": { /*optional, capability of getting people queuing-up result and report*/ "fileType": { /*optional, string, file type, "excel, txt"*/ "@opt": "excel,txt", "#text": "excel" }, "reportType": { /*required, string, report type, "daily, weekly, monthly, custom"*/ "@opt": "daily,weekly,monthly,custom", "#text": "daily" }, "isSupportStartTime": "true,false", /*required, bool, whether supports setting start time of searching reports*/ "RuleListCap": { /*required, rule information, up to 3 rules can be supported*/ "maxSize": 3, /*required, integer, capability of capability of maximum number of supported queue management rules*/ "ruleID": { /*required, integer, rule ID*/ "@min": 1, "@max": 3 } }, "WaitTimeListCap": { /*required, waiting time information, up to 3 time durations are supported*/ "maxSize": 3, /*required, integer, supported maximum number of time durations*/ "minWaitTime": { /*required, integer, minimum waiting time, it ranges from 0s to 3600s*/ "@min": 0, "@max": 3600 }, "maxWaitTime": { /*required, integer, maximum waiting time, it ranges from 0s to 3600s*/ "@min": 0, "@max": 3600 } }, "isSupportEndTime": "true,false", /*dep, boolean, whether support the end time of report search, and it is valid only when reportType is custom*/ "customReportAccuracy": { /*dep, custom report accuracy, currently, it corrects to day. And it is valid only when reportType is custom*/ "@opt": "day", "@def": "day" } "isSupportAverageTime": "true,false" /*optional, boolean type, whether supports calculating average waiting time duration in people queuing-up statistics*/ }, "PersonQueueTimeCap": { /*optional, capability of getting waiting time detection result and report*/ "fileType": { /*optional, string, file type, "excel, txt"*/ "@opt": "excel,txt", "#text": "excel" }, "reportType": { /*required, string, report types, "daily, weekly, monthly, custom"*/ "@opt": "daily,weekly,monthly, custom", "#text": "daily" }, "isSupportStartTime": "true,false", /*required, bool, whether supports setting start time of searching reports*/ "RuleListCap": { /*required, rule information, up to 3 rules can be supported*/ "maxSize": 3, /*required, integer, capability of capability of maximum number of supported queue management rules*/ "ruleID": { /*required, integer, rule ID*/ "@min": 1, "@max": 3 } }, "CountListCap": { /*required, queuing-up people amount information, up to 3 queues are supported*/ "maxSize": 3, /*required, integer, supported maximum number of queues*/ "minCount": { /*required, integer, minimum number of queuing-up people, it ranges from 0 to 60*/ "@min": 0, "@max": 60 }, "maxCount": { /*required, integer, maximum number of queuing-up people, it ranges from 0 to 60*/ "@min": 0, "@max": 60 } }, "isSupportEndTime": "true,false", /*dep, boolean, whether support the end time of report search, and it is valid only when reportType is custom*/ "customReportAccuracy": { /*dep, custom report accuracy, currently, it corrects to day. And it is valid only when reportType is custom*/ "@opt": "day", "@def": "day" } } "isSupportRawDataFile": "true,false" /*required, boolean, whether supports getting queue management raw data*/ "isSupportAlgParam": "true,false" /*optional, boolean type, whether supports configuring advanced parameters for algorithm library*/ }