fix error in recall when hours more than 300
This commit is contained in:
@@ -56,6 +56,8 @@ SD_CONST static ST_CHAR *SD_CONST thisFileName = __FILE__;
|
||||
|
||||
extern pt61850app_t* g_pt61850app;
|
||||
|
||||
extern bool DEBUGOPEN;
|
||||
|
||||
/************************************************************************/
|
||||
/* Static function prototypes. */
|
||||
/************************************************************************/
|
||||
@@ -126,7 +128,7 @@ static ST_RET process_jou_entry(loginfo_t *loginfo,apr_time_t t,
|
||||
|
||||
double start, end;
|
||||
static double last_check_recall_config_time = 0.0;
|
||||
printf("\nbrf for");
|
||||
if(DEBUGOPEN)printf("\nbrf for");
|
||||
for (j = 0; j < jou_entry->ef.data.num_of_var; j++) {
|
||||
|
||||
printf("\nfor %d", jou_entry->ef.data.num_of_var);
|
||||
@@ -146,7 +148,7 @@ static ST_RET process_jou_entry(loginfo_t *loginfo,apr_time_t t,
|
||||
do_name++;
|
||||
}
|
||||
|
||||
printf("\nbrf if");
|
||||
if(DEBUGOPEN)printf("\nbrf if");
|
||||
if (sel_mvl_type_ctrl_flag(do_name) == -1)
|
||||
{
|
||||
var_type_id = mms_var_type_id_create(clientNetInfo, DOM_SPEC,
|
||||
@@ -157,15 +159,15 @@ static ST_RET process_jou_entry(loginfo_t *loginfo,apr_time_t t,
|
||||
add_mvl_type_ctrl(doname, var_type_id);
|
||||
|
||||
}
|
||||
printf("\nbrf var_type_id");
|
||||
if(DEBUGOPEN)printf("\nbrf var_type_id");
|
||||
var_type_id = sel_mvl_type_ctrl_flag(do_name);
|
||||
printf("\nafter var_type_id");
|
||||
if(DEBUGOPEN)printf("\nafter var_type_id");
|
||||
|
||||
if (var_type_id < 0) {
|
||||
continue;
|
||||
}
|
||||
log_var_jou_data(var_type_id,&(jou_entry->ef.data.list_of_var[j].value_spec),&mms_dec_data, do_name);
|
||||
printf("\nafter log_var_jou_data");
|
||||
if(DEBUGOPEN)printf("\nafter log_var_jou_data");
|
||||
if (timeflag) {
|
||||
int readtime = 0;
|
||||
int readquailty = 0;
|
||||
|
||||
Reference in New Issue
Block a user