fix error in recall when hours more than 300
This commit is contained in:
@@ -144,13 +144,19 @@ struct recall_t{
|
||||
int need_voltage;
|
||||
};
|
||||
typedef struct recall_xml_t recall_xml_t;
|
||||
struct recall_xml_t{
|
||||
/*struct recall_xml_t{
|
||||
int work_recall_num;
|
||||
int new_recall_num;
|
||||
recall_t work_recalls[MAX_RECALL_NUM];
|
||||
recall_t new_recalls[MAX_RECALL_NUM];
|
||||
};*/
|
||||
/* 动态数组 + 容量字段 lnk20250801*/
|
||||
struct recall_xml_t{
|
||||
int work_cnt, work_cap;
|
||||
int new_cnt , new_cap;
|
||||
recall_t *work_recalls;
|
||||
recall_t *new_recalls;
|
||||
};
|
||||
|
||||
/////////////////////////////////////////////////////////////
|
||||
struct element_usr_t{
|
||||
char* FCD_ref;
|
||||
@@ -494,6 +500,9 @@ int delete_recall_xml(char* id);
|
||||
int parse_recall_xml(recall_xml_t* recall_xml,char *id);
|
||||
void process_recall_config(recall_xml_t* recall_xml);
|
||||
|
||||
void recall_xml_free(recall_xml_t *rx);//lnk20250801
|
||||
void recall_xml_init(recall_xml_t *rx);
|
||||
|
||||
int init_rptctrl_by_count(LD_info_t* LD_info,int rptcount);
|
||||
int fill_rptctrl_by_cfg(LD_info_t* LD_info,int rptno,char *buf);
|
||||
int init_logctrl_by_count(LD_info_t* LD_info,int logcount);
|
||||
|
||||
Reference in New Issue
Block a user