Skip to content

DD_ALARM_STATUS_INFO_Ex

Structure Definition

1
2
3
4
5
6
7
8
typedef struct _alarm_status_ex
{
    unsigned int iSize;     
    int index;              
    unsigned int alarmType; 
    char alarmNode[32];     
    char recv[32];          
} DD_ALARM_STATUS_INFO_Ex;
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct DD_ALARM_STATUS_INFO_Ex
{
    public UInt32 iSize;
    public Int32 index;
    public UInt32 alarmType;
    [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 32)]
    public byte[] alarmNode;
    [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 32)]
    public byte[] recv;
}

Function Description

Alarm status information extended structure.

Member Description

Member Type Remark
iSize unsigned int The length of this structure.
index int Alarm channel, alarms not related to the channel are -1, alarms related to the channel are channels, and alarms such as io are numbers.
alarmType unsigned int Alarm event type, NET_SDK_N9000_ALARM_TYPE_RAID_SUBHEALTH: array subhealthy NET_SDK_N9000_ALARM_TYPE_RAID_UNAVAILABLE: array unavailable.
alarmNode char[32] Alarm node.
recv char[32] Reserved Bytes
Error Code