12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- package eventServer
- type EventNotificationAlert struct {
- IpAddress string `xml:"ipAddress"`
- PortNo string `xml:"portNo"`
- Protocol string `xml:"protocol"`
- MacAddress string `xml:"macAddress"`
- ChannelID string `xml:"channelID"`
- DateTime string `xml:"dateTime"`
- ActivePostCount string `xml:"activePostCount"`
- EventType string `xml:"eventType"`
- EventState string `xml:"eventState"`
- EventDescription string `xml:"eventDescription"`
- DetectionRegionList struct {
- DetectionRegionEntry []struct {
- RegionID string `xml:"regionID"`
- SensitivityLevel string `xml:"sensitivityLevel"`
- RegionCoordinatesList struct {
- RegionCoordinates []struct {
- PositionX string `xml:"positionX"`
- PositionY string `xml:"positionY"`
- } `xml:"RegionCoordinates"`
- } `xml:"RegionCoordinatesList"`
- DetectionTarget string `xml:"detectionTarget"`
- TargetRect struct {
- X string `xml:"X"`
- Y string `xml:"Y"`
- Width string `xml:"width"`
- Height string `xml:"height"`
- } `xml:"TargetRect"`
- } `xml:"DetectionRegionEntry"`
- } `xml:"DetectionRegionList"`
- ChannelName string `xml:"channelName"`
- DetectionPictureTransType string `xml:"detectionPictureTransType"`
- DetectionPicturesNumber string `xml:"detectionPicturesNumber"`
- IsDataRetransmission string `xml:"isDataRetransmission"`
- DurationList struct {
- Duration []struct {
- RelationEvent string `xml:"relationEvent"`
- } `xml:"Duration"`
- } `xml:"DurationList"`
- }
- var sMap = map[string]string{
- "shelteralarm": "遮盖报警",
- "regionEntrance": "进入区域",
- "fielddetection": "区域入侵",
- "linedetection": "越界侦测",
- }
|