Skip to content

DD_RELAY_CONFIG

Structure Definition

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