Implemented Trend Log ReadRange for "By Position" and "All" options.
Fixed some issues in the rest of the Trend Log code and the general ReadRange code..
This commit is contained in:
@@ -131,6 +131,8 @@ extern "C" {
|
||||
/* date and time wildcards */
|
||||
bool datetime_wildcard(
|
||||
BACNET_DATE_TIME * bdatetime);
|
||||
bool datetime_wildcard_present(
|
||||
BACNET_DATE_TIME * bdatetime);
|
||||
void datetime_wildcard_set(
|
||||
BACNET_DATE_TIME * bdatetime);
|
||||
void datetime_date_wildcard_set(
|
||||
|
||||
@@ -79,6 +79,34 @@ extern "C" {
|
||||
time_t TL_BAC_Time_To_Local(
|
||||
BACNET_DATE_TIME *SourceTime);
|
||||
|
||||
void TL_Local_Time_To_BAC(
|
||||
BACNET_DATE_TIME *DestTime,
|
||||
time_t SourceTime);
|
||||
|
||||
int TL_encode_entry(
|
||||
uint8_t *apdu,
|
||||
int iLog,
|
||||
int iEntry);
|
||||
|
||||
int TL_encode_by_position(
|
||||
uint8_t *apdu,
|
||||
BACNET_READ_RANGE_DATA *pRequest,
|
||||
BACNET_ERROR_CLASS *error_class,
|
||||
BACNET_ERROR_CODE *error_code);
|
||||
|
||||
bool TrendLogGetRRInfo(
|
||||
uint32_t Object, /* Which particular object */
|
||||
BACNET_PROPERTY_ID Property, /* Which property */
|
||||
RR_PROP_INFO *pInfo, /* Where to put the information */
|
||||
BACNET_ERROR_CLASS *error_class,
|
||||
BACNET_ERROR_CODE *error_code);
|
||||
|
||||
int rr_trend_log_encode(
|
||||
uint8_t *apdu,
|
||||
BACNET_READ_RANGE_DATA *pRequest,
|
||||
BACNET_ERROR_CLASS *error_class,
|
||||
BACNET_ERROR_CODE *error_code);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
Reference in New Issue
Block a user