Parameter union of video intercom device No.
union{ BYTE byLen[128]; NET_DVR_INDOOR_UNIT_DEVICEID struIndoorUnit; NET_DVR_OUTDOOR_UNIT_DEVICEID struOutdoorUnit; NET_DVR_MANAGE_UNIT_DEVICEID struManageUnit; NET_DVR_OUTDOOR_FENCE_DEVICEID struFenceUnit; NET_DVR_OUTDOOR_UNIT_DEVICEID struVillaOutdoorUnit; NET_DVR_OUTDOOR_UNIT_DEVICEID struAgainConfirmUnit; }NET_DVR_VIDEO_INTERCOM_UNIT_DEVICEID_UNION, *LPNET_DVR_VIDEO_INTERCOM_UNIT_DEVICEID_UNION;
Union size, which is 128 bytes.
Indoor station No., refer to the structure NET_DVR_INDOOR_UNIT_DEVICEID for details.
Door station (or intelligent access control device) No., refer to the structure NET_DVR_OUTDOOR_UNIT_DEVICEID for details.
Main station No., refer to the structure NET_DVR_MANAGE_UNIT_DEVICEID for details.
Outer door station No., refer to the structure NET_DVR_OUTDOOR_FENCE_DEVICEID for details.
Villa door station No., refer to the structure NET_DVR_OUTDOOR_UNIT_DEVICEID for details.
Doorphone No., refer to the structure NET_DVR_OUTDOOR_UNIT_DEVICEID for details.
The rules to generate device No. are as the follows:
The long No. of main station is "*00000001XX": "*"-project No., "001"-main station, "XX"-main station No. (01, 02, …, increased by 1).
The long No. of door station, villa door station, or doorphone is "*XXXXX000$$": "*"-project No.; "XXX"-building No.; "XX"-unit No.; "000"-door station; "$$"-door station No. ("00"-main door station, other values-sub door station).
The long No. of indoor station is "*XXXXX$$$$$": "*"-project No.; "XXX"-building No.; "XX"-unit No.; "$$$"-floor No.; "$$"-room No.
The long No. of outer door station is "*00000002XX": "*"-project No., "002"-outer door station, "XX"-outer door station No. (01, 02, …, increased by 1).
In the actual application, one main station may belong to multiple communities, so the project No. of the device can be any of the existing project No., as long as the generated device No. is unique.