| | |
| | | VALVE_LOCK_STATE_T valve_lock_state; //·§ÃÅËø¶¨×´Ì¬ |
| | | uint16_t open_times;//¿ª·§´ÎÊý |
| | | uint16_t close_times;//¹Ø·§´ÎÊý |
| | | uint16_t valve_close_ID ;//¹Ø·§ÔÒò µÈÓÚ±¨¾¯ID |
| | | uint16_t valve_close_ID ;//¹Ø·§ÔÒò £¬×λΪ1´ú±íǿֱÐԹط§£¬ÆäÓàλµÈÓÚ±¨¾¯ID,·§ÃÅ´ò¿ªÖ®ºóÇåÁã¡£ |
| | | |
| | | |
| | | }SAVE_VALVE_PARA_T; |
| | |
| | | uint16_t report_data_save_num; |
| | | uint16_t report_data_left_num; |
| | | |
| | | }WRC_DATA_NUM_CTRL_PARA_SIZHU_T; |
| | | }WRC_DATA_NUM_CTRL_PARA_SIZHU_T; //´Ë²ÎÊý±ä»¯»á±È½ÏƵ·±£¬ÐèÒª¿¼ÂÇ´æ´¢´ÎÊýµÄÎÊÌ⣡£¡£¡ |
| | | |
| | | |
| | | //¼Û¸ñ·½°¸ÅäÖòÎÊý |
| | | |
| | | |
| | | //³äÖµÅäÖòÎÊý |
| | | |
| | | |
| | | //Óà¶î/Ìõ¼þ¹Ø·§ÅäÖòÎÊý |
| | | typedef struct |
| | | { |
| | |
| | | /***********************************************/ |
| | | |
| | | |
| | | /*****************ÈÕÖ¾¿ØÖƲÎÊý******************************/ |
| | | //ÈÕÖ¾¿ØÖƲÎÊý |
| | | typedef struct log_sizhu_run_t |
| | | { |
| | | uint16_t log_count; |
| | | uint32_t log_addr_save; |
| | | // uint32_t log_addr_begin; |
| | | uint8_t reserve[16]; |
| | | |
| | | }LOG_SIZHU_RUN_T; |
| | | |
| | | //Êý¾ÝÀúÊ·¼Ç¼ |
| | | typedef struct |
| | | { |
| | | LOG_SIZHU_RUN_T per_period_log; |
| | | LOG_SIZHU_RUN_T per_hour_log; |
| | | LOG_SIZHU_RUN_T per_day_log; |
| | | LOG_SIZHU_RUN_T per_month_log; |
| | | }LOG_SIZHU_HISTORY_CTRL_T; |
| | | |
| | | //±¨¾¯¼Ç¼ |
| | | typedef struct |
| | | { |
| | | LOG_SIZHU_RUN_T system_alarm_log; |
| | | |
| | | }LOG_ALARM_CTRL_T; |
| | | |
| | | //²ÎÊýÐ޸ļǼ |
| | | typedef struct |
| | | { |
| | | LOG_SIZHU_RUN_T basic_info_modify_log; |
| | | LOG_SIZHU_RUN_T cumulate_modify_log; |
| | | LOG_SIZHU_RUN_T balance_modify_log; |
| | | LOG_SIZHU_RUN_T flow_meter_para_modify_log; |
| | | LOG_SIZHU_RUN_T conditional_close_valve_para_modify_log; |
| | | LOG_SIZHU_RUN_T fun_ctrl_word_modify_log; |
| | | LOG_SIZHU_RUN_T alarm_ctrl_word_modify_log; |
| | | LOG_SIZHU_RUN_T close_valve_ctrl_word_modify_log; |
| | | |
| | | }LOG_PARA_MODIFY_CTRL_T; |
| | | |
| | | //ʼþ¼Ç¼ |
| | | typedef struct LOG_EVENT_CTRL_T |
| | | { |
| | | LOG_SIZHU_RUN_T valve_action_log; |
| | | |
| | | LOG_SIZHU_RUN_T factory_reset_log; |
| | | |
| | | LOG_SIZHU_RUN_T calibration_time_log; |
| | | |
| | | }LOG_EVENT_CTRL_T; |
| | | |
| | | |
| | | |
| | | #pragma pack() |