| | |
| | | //¼ä¸ô¶³½áÈÕÖ¾ÄÚÈÝ |
| | | typedef struct log_sizhu_log_save_period_t |
| | | { |
| | | uint8_t sample_year; |
| | | uint8_t sample_month; |
| | | uint8_t sample_day; |
| | | uint8_t sample_hour; |
| | | uint8_t sample_min; |
| | | uint8_t sample_sec; |
| | | sClockBCD record_time_BCD; |
| | | |
| | | double standardgasusagetotal; |
| | | double workinggasusagetotal; |
| | | double forward_cumulate_sc; // ÕýÏò±ê¿öÀÛ»ýÁ¿ |
| | | double forward_cumulate_wc; |
| | | |
| | | float standardvec; |
| | | float workingvec; |
| | | float instant_sc; |
| | | float instant_wc; |
| | | float temperature; |
| | | float pressure; |
| | | |
| | | float temperature; |
| | | float pressure; |
| | | |
| | | u32 current_price; |
| | | double residual_amount; |
| | | double cumulative_gas_usage; |
| | | double cumulative_fee_usage; |
| | | uint8_t lith_bat_v; |
| | | uint8_t lith_bat_per; |
| | | u32 current_price; |
| | | double residual_amount; |
| | | double cumulate_gas_usage; |
| | | double cumulate_fee_usage; |
| | | uint8_t lith_bat_v; |
| | | uint8_t lith_bat_per; |
| | | |
| | | uint8_t alka_bat_v; |
| | | uint8_t alka_bat_per; |
| | | uint8_t alka_bat_v; |
| | | uint8_t alka_bat_per; |
| | | |
| | | SYSTEM_STATUS_WORD_T status_word; |
| | | |
| | |
| | | //Ô¡¢ÈÕ¡¢Ê±ÈÕÖ¾ÄÚÈÝ |
| | | typedef struct log_sizhu_log_save_t |
| | | { |
| | | uint8_t sample_year; |
| | | uint8_t sample_month; |
| | | uint8_t sample_day; |
| | | uint8_t sample_hour; |
| | | uint8_t sample_min; |
| | | uint8_t sample_sec; |
| | | sClockBCD record_time_BCD; |
| | | |
| | | double standardgasusagetotal; |
| | | double workinggasusagetotal; |
| | | double forward_cumulate_sc; // ÕýÏò±ê¿öÀÛ»ýÁ¿ |
| | | double forward_cumulate_wc; |
| | | |
| | | float standardvec; |
| | | float workingvec; |
| | | |
| | | float temperature; |
| | | float pressure; |
| | | float instant_sc; |
| | | float instant_wc; |
| | | float temperature; |
| | | float pressure; |
| | | |
| | | u32 unitprice; |
| | | double residualamount; |
| | | u32 current_price; |
| | | double residual_amount; |
| | | uint8_t reverse[2]; |
| | | }LOG_SIZHU_LOG_SAVE_T; |
| | | |
| | |
| | | |
| | | uint8_t sizhu_historical_record_save(uint8_t logtype, LOG_SIZHU_LOG_SAVE_T * log_run_ptr); |
| | | uint8_t sizhu_period_historical_record_save(uint8_t logtype, LOG_SIZHU_LOG_SAVE_PERIOD_T * log_run_ptr); |
| | | uint8_t sizhu_historical_test(void); |
| | | |
| | | // |
| | | uint16_t sizhu_historical_period_log(void); |
| | | uint16_t sizhu_historical_hour_log(void); |
| | |
| | | uint16_t sizhu_historical_month_log(void); |
| | | uint32_t sizhu_historical_record_read(uint8_t logtype, uint32_t addr, LOG_SIZHU_LOG_SAVE_T * log_run_ptr); |
| | | uint8_t sizhu_historical_read_init(u32 * read_addr, u16 * save_count, uint8_t logtype); |
| | | |
| | | void sizhuHistoryRecord(sClockBCD sys_clockBCD_in); |
| | | #endif |