跳转至

DD_PTZ_CONFIG

结构体定义

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
typedef struct _dd_ptz_config_
{
    unsigned int iSize;      
    unsigned char enable;    
    unsigned char address;   
    unsigned char recv1;     
    unsigned char recv2;     
    unsigned int protocol;   
    DD_SERIAL_CONFIG serial; 
} DD_PTZ_CONFIG;
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct DD_PTZ_CONFIG
{
    public UInt32 iSize;
    public byte enable;
    public byte address;
    public byte recv1;
    public byte recv2;
    public UInt32 protocol;
    public DD_SERIAL_CONFIG serial;
}

功能描述

云台配置结构体。

成员说明

成员 类型 备注
iSize unsigned int 本结构体长度。
enable unsigned char 是否启用云台功能。
address unsigned char 地址。
recv1 unsigned char 保留字节。
recv2 unsigned char 保留字节。
protocol unsigned int 协议。
serial DD_SERIAL_CONFIG 串口。
错误码