From 72def895431ad7a08e635b11f3da738e2b2c4618 Mon Sep 17 00:00:00 2001
From: wujiazhi <1147861305@qq.com>
Date: Thu, 13 Jun 2024 11:31:04 +0800
Subject: [PATCH] add lower model test
---
Function/LCD/lcd_cfg_api.h | 71 +++++++++++++++++++++++++++++++++++
1 files changed, 71 insertions(+), 0 deletions(-)
diff --git a/Function/LCD/lcd_cfg_api.h b/Function/LCD/lcd_cfg_api.h
new file mode 100644
index 0000000..bc3c41c
--- /dev/null
+++ b/Function/LCD/lcd_cfg_api.h
@@ -0,0 +1,71 @@
+/*
+ * File : lcd_cfg_api.c
+ * This file is part of Sizhu Ultrasonic Gas-Meter
+ * COPYRIGHT (C) 2022,Sizhu Ultrasonic Gas-Meter Development Team
+ *
+ * Brief : Header file of lcd_cfg_api.
+ * http://www.ideacreated.com/
+ *
+ * Change Logs:
+ * Date Author Notes
+ * 2022-08-22 Sizhu_J1anG the first version
+ * 2022-08-30 Sizhu_Ye targeted modification
+ */
+
+#ifndef _LCD_CFG_API_H_
+#define _LCD_CFG_API_H_
+
+#include "define_all.h"
+#include "system_parameter.h"
+#include "valve_control.h"
+
+#define LCD_PAGE_SWITCH_TIME 3 * 1000 //3��
+
+#pragma pack(1)
+
+typedef struct{
+ __IO uint8_t switch_flag; //�л���־λ
+ __IO uint32_t tick_start;//�δ�ʼ
+}LCD_PAGE_SWITCH_PARA_T;
+
+
+
+#pragma pack()
+
+
+
+ErrorStatus_STM32 Lcd_ModeConversion_ShowErrTime(LCD_PAGE_SWITCH_PARA_T * lcd_page_switch_para_p);
+
+void Lcd_Battery(float alka_vcc,float lith_vcc);
+void Lcd_NormalPage_1(float instant_sc,double cumulate_sc);
+void Lcd_NormalPage_2(float price,float balance,uint8_t price_mode);
+void Lcd_NormalPage_3(float temp,double cumulate_sc);
+void Lcd_NormalPage_4(float press,double cumulate_sc);
+void Lcd_NormalPage_5(float instant_wc,double cumulate_wc);
+
+void Lcd_CalibPage(float cal_instant_wc,double cumulate_wc);
+
+void Lcd_ParaPage_MeterNum(uint8_t pMeterNum_bcd[]);
+void Lcd_ParaPage_ThirdParty_MeterNum(uint8_t third_flag,uint16_t * pMeterNum);
+void Lcd_Show_time(u8 year,u8 month,u8 day,u8 hour,u8 minute,u8 second);
+void Lcd_ParaPage_IpPort(uint8_t * pIp,uint16_t * pPort);
+void Lcd_ParaPage_ThirdParty_IpPort(uint8_t third_flag,uint8_t * pIp,uint16_t * pPort);
+void Lcd_ParaPage_SoftVer(uint8_t * pSoftVer);
+void Lcd_ParaPage_HardVer(uint8_t * pHardVer);
+void Lcd_ParaPage_SoundVel(float sound_velocity);
+
+void Lcd_SuccErrPage(ErrorStatus_STM32 result_flag_flag);
+
+void Lcd_MediumShow(MEDIA_STATUS media_state);
+void Lcd_BacksetShow(uint8_t flow_direction);
+void Lcd_ValveShow(VALVE_STATE_T valve_state,SYS_ALARM_VALVE_T cl_valve_cause,uint8_t valve_lock);
+void Lcd_WaringShow_New(uint8_t list_cnt,uint8_t sec_bcd);
+void Lcd_WarningShow(SYS_ALARM_VALVE_T * warning_state,SYS_ALARM_VALVE_T * claer_state);
+void Lcd_GprsShow(uint8_t gprs_state,uint8_t flag_4g,uint8_t signal_intensity);
+void Lcd_BillingShow(uint8_t bill_flag,uint8_t bill_mode,uint8_t price_mode);
+void Lcd_ModeFlagActiveShow(SYS_SOME_FLAG_T * mode_flag_p);
+
+void Lcd_SecCorr_FixedShow(PARA_DISPLAY_PAGE sec_corr_fix);
+void Lcd_SecCorr_ParaShow(PARA_DISPLAY_PAGE sec_corr_fix,SECOND_ORDER_CORR_T * sec_coor_set_p);
+
+#endif
--
Gitblit v1.9.3