Skip to content

NET_SDK_ALARMINFO

Structure Definition

1
2
3
4
5
6
7
typedef struct _net_sdk_alarminfo
{
    DWORD dwAlarmType; 
    DWORD dwSensorIn;  
    DWORD dwChannel;   
    DWORD dwDisk;      
} NET_SDK_ALARMINFO;
1
2
3
4
5
6
7
8
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct NET_SDK_ALARMINFO
{
    public UInt32 dwAlarmType;
    public UInt32 dwSensorIn;
    public UInt32 dwChannel;
    public UInt32 dwDisk;
}

Function Description

Alarm information structure.

Member Description

Member Type Remark
dwAlarmType DWORD For alarm type, refer to NET_SDK_N9000_ALARM_TYPE.
dwSensorIn DWORD Sensor alarm input port number.
dwChannel DWORD When the alarm is channel-related, it indicates the channel number of the alarm.
dwDisk DWORD In case of disk alarm, it indicates the disk number that generates the alarm.
Error Code