The information of dredger detection alarm is uploaded in the JSON format, see details below.
{
"ipAddress":"",
/*required, alarm device IPV4 address, string type, the maximum length is 32*/
"ipv6Address":"",
/*optional, alarm device IPV6 address, string type, the maximum length is 128*/
"portNo":"",
/*optional, alarm device port No., integer32 type*/
"protocol":"",
/*optional, protocol type: HTTP or HTTPS, string type, the maximum length is 32*/
"macAddress":"",
/*optional, MAC address, string type, the maximum length is 32*/
"channelID":,
/*optional, channel ID number, which triggers the alarm, integer32 type*/
"releatedChannelList": [1,2,3],
/*optional, array of integers, list of alarm related channels, which are of the same camera with channelID; this parameter is used for live view or playback on the platform*/
"dateTime":"",
/*required, alarm triggered time, ISO8601 time format, string type, the maximum length is 32*/
"activePostCount":,
/*required, the number of one alarm uploaded times, integer32 type*/
"eventType":"",
/*required, event type: dredgerDetection-dredger detection, string type, the maximum length is 128*/
"eventState":"",
/*required, event triggering status: active-triggered, inactive-not triggered (heartbeat data), string type, the maximum length is 32*/
"eventDescription":"",
/*required, event description: dredger detection alarm)*/
"DetectionRegionList":[{
/*ship detection region list*/
"DetectionRegionEntry":{
"RegionCoordinatesList":[{
/*ship detection region*/
"RegionCoordinates":{
"positionX":,
/*required, float type, X-coodinate*/
"positionY":
/*required, float type, Y-coordinate*/
}
}],
"ShipsDetection":{
"shipsInfoList":[{
"shipsInfo":{
"id":,
/*required, integer type, ship ID*/
"shipsLength":,
/*required, float type, ship length*/
"shipsHeight":,
/*required, float type, ship height*/
"shipsWidth":
/*required, float type, ship width*/
}
}]
}
}
}],
"sid":,
/*optional, integer type, scene ID*/
"sceneName":""
/*optional, string type, scene name*/
}