NET_DVR_REALTIME_THERMOMETRY_COND

Structure About Real-Time Temperature Measurement Condition

Member

Data Type

Description

dwSize

DWORD

Structure size.

dwChan

DWORD

Channel No., starts from 1, 0xffffffff-get all channels.

byRuleID

BYTE

Rule ID, which starts from 1, 0-get all rules.

byMode

BYTE

Persistent connection mode: 0-reserved, 1-scheduled mode, 2-temperature difference mode.

1-scheduled mode: the device uploads the measured temperature data of each rule per second, including the highest temperature, the lowest temperature, the average temperature, and the temperature difference.

2-temperature difference mode: if the difference of the highest temperature, the lowest temperature, the average temperature, or the temperature difference between the previous second and the next second is larger than or equal to two centigrade, the device will upload the highest temperature, the lowest temperature, and the average temperature; if the temperature difference is smaller than two centigrade for one hour or more, the device will upload the highest temperature, the lowest temperature, the average temperature, and the temperature difference.

wInterval

WORD

Uploading interval, range: [1,3600]s, default value: 3600s; this node is supported by temperature difference mode only.

fTemperatureDiff

float

Temperature difference

byRes

Array of BYTE

Reserved, set to 0. The maximum size is 56 bytes.