Skip to content
This SDK only works with devices released within the past 3 years. We regularly optimize and update the SDK to ensure compatibility and performance. We do not guarantee compatibility or provide technical support for devices older than 3 years.

# DD_RELAY_CONFIG

### Structure Definition

C++C#

    1
    2
    3
    4
    5
    6
    7
    typedef struct _dd_relay_config_
    {
        unsigned char enable;
        unsigned char recv;
        unsigned short holdTime;
        char name[DD_MAX_NAME_BUF_LEN];
    } DD_RELAY_CONFIG;

    1
    2
    3
    4
    5
    6
    7
    8
    9
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct DD_RELAY_CONFIG
    {
        public byte enable;
        public byte recv;
        public UInt16 holdTime;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 132)]
        public byte[] name;
    }

### Function Description

Delay configuration structure.

### Member Description

Member | Type | Remark
--- | --- | ---
enable | unsigned char | Alarm output device enable switch.
recv | unsigned char | Reserved bytes.
holdTime | unsigned short | Delay time.
name | char[DD_MAX_NAME_BUF_LEN] | The name of the device.

Error Code