Skip to content

TEMPERATURE_ALARM_INFO_NEW

Structure Definition

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
typedef struct
{
    unsigned int dwRuleID;             
    POINT_16 MaxTemperPos;             
    int nMaxTemper;                    
    POINT_16 MinTemperPos;             
    int nMinTemper;                    
    int nAverageTemper;                
    unsigned int dwDegreeUnit;         
    char szRuleName[64];               
    unsigned int dwRuleType;           
    unsigned int dwReserve[16];        
    unsigned short usPolylinePointPos; 
    unsigned short usPolylinePointNum; 
    int chanel;                        
} TEMPERATURE_ALARM_INFO_NEW;
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct TEMPERATURE_ALARM_INFO_NEW
{
    public UInt32 dwRuleID;
    public POINT_16 MaxTemperPos;
    public Int32 nMaxTemper;
    public POINT_16 MinTemperPos;
    public Int32 nMinTemper;
    public Int32 nAverageTemper;
    public UInt32 dwDegreeUnit;
    [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 64)]
    public byte[] szRuleName;
    public UInt32 dwRuleType;
    [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U4, SizeConst = 16)]
    public UInt32[] dwReserve;
    public UInt16 usPolylinePointPos;
    public UInt16 usPolylinePointNum;
    public Int32 chanel;
}

Function Description

Temperature detection information.

Member Description

Member Type Remark
dwRuleID unsigned int Rule ID.
MaxTemperPos POINT_16 The location of the highest temperature.
nMaxTemper int The temperature at the highest point.
MinTemperPos POINT_16 The location of the lowest temperature.
nMinTemper int The temperature at the lowest point.
nAverageTemper int Average temperature.
dwDegreeUnit unsigned int Temperature unit, 0: Celsius; 1: Fahrenheit.
szRuleName char[64] Rule name.
dwRuleType unsigned int Rule type, 0: point; 1: line; 2: surface.
dwReserve unsigned int[16] Reserved field.
usPolylinePointPos unsigned short The polyline description point starts at.
usPolylinePointNum unsigned short The number of points describing the polyline.
chanel int The corresponding channel number.
Error Code