跳转至

TEMPERATURE_ALARM_INFO_NEW

结构体定义

 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;
}

功能描述

温度检测信息。

成员说明

成员 类型 备注
dwRuleID unsigned int 规则ID。
MaxTemperPos POINT_16 温度最高点位置。
nMaxTemper int 温度最高点的温度。
MinTemperPos POINT_16 温度最低点位置。
nMinTemper int 温度最低点的温度。
nAverageTemper int 平均温度。
dwDegreeUnit unsigned int 温度单位,0:摄氏度;1:华氏度。
szRuleName char[64] 规则名。
dwRuleType unsigned int 规则类型,0:点;1:线;2:面。
dwReserve unsigned int[16] 预留字段。
usPolylinePointPos unsigned short 多段线描述点开始位置。
usPolylinePointNum unsigned short 多段线描述点数量。
chanel int 对应的通道号。
错误码