Commit 003b7198 authored by hu's avatar hu

调整数据存储

parent f3e1cac1
......@@ -140,8 +140,8 @@ void GUI_Display_Value_Init(void)
/*应用*/
User_App.User_Language = 1u ;
User_App.User_Company = 1u ;
User_App.User_Light1 = 10u ;
User_App.User_Light2 = 10u ;
User_App.User_Light1 = K_Line_Set.User_Light1 ;
User_App.User_Light2 = K_Line_Set.User_Light2 ;
User_App.Trip_Type = 0u;
/*保养状态标识*/
......
......@@ -15,7 +15,7 @@
#define FState_COilTimeOutNum 60u /*3S*/
#define SystemSupplierECUHardwareVersionNumberApp ((uint16_t)(10200)) /*硬件版本号 HV:01.02.00*/
#define SystemSupplierECUHardwareVersionNumberApp ((uint16_t)(10201)) /*硬件版本号 HV:01.02.00*/
#define SystemSupplierECUSoftwareInformationApp ((uint16_t)(10101)) /*软件版本号 SV:01.01.00*/
#define systemSupplierECUFlashInformationApp ((uint16_t)(10)) /*FLASH版本号 FV:00.10*/
......@@ -25,60 +25,70 @@ typedef struct
uint8_t FState_WXTZ; /*维修提醒*/
uint8_t FState_WXSD; /*维修设定*/
uint8_t FState_YHSD; /*用户设定*/
uint8_t FState_ECO; /*ECO*/
uint8_t FState_TPMS; /*胎压显示*/
uint8_t FState_TPMSSET; /*胎压设置*/
uint8_t FState_SYSYS; /*系统演示*/
uint8_t WXTZ_FDJY; /*发动机油*/
uint8_t WXTZ_RYLQY; /*燃油滤清油*/
uint8_t WXTZ_BSXY; /*变速箱油*/
uint8_t WXTZ_CSQY; /*差速器油*/
uint8_t WXTZ_LHQY; /*离合器油*/
uint8_t WXTZ_KQGZJ; /*空气干燥剂*/
uint8_t WXTZ_DLZXY; /*动力转向油*/
uint8_t WXTZ_LT; /*轮胎*/
uint8_t WXTZ_QDJ; /*起动机*/
uint8_t WXSD_FDJY; /*发动机*/
uint8_t WXSD_RYLQY; /*燃油滤清油*/
uint8_t WXSD_BSXY; /*变速箱油*/
uint8_t WXSD_CSQY; /*差速器油*/
uint8_t WXSD_LHQY; /*离合器油*/
uint8_t WXSD_KQGZJ; /*空气转向*/
uint8_t WXSD_DLZXY; /*动力转向*/
uint8_t WXSD_LT; /*轮胎*/
uint8_t WXSD_QDJ; /*起动机*/
uint8_t USER_DATE; /*日期设定*/
uint8_t USER_TIME; /*时间设定*/
uint8_t USER_DISPLAY; /*显示设定*/
uint8_t USER_PROPOSAL; /*省油设定*/
uint8_t USER_HSA; /*HAS*/
uint8_t USER_VOLUEM; /*音量设定*/
uint8_t USER_LANGUAGE; /*语言设定*/
uint8_t USER_COMPANY; /*单位设定*/
uint8_t USER_LIGHT; /*亮度设定*/
uint8_t USER_SETIC; /*仪表设定*/
uint8_t DEMO_LDWS;
uint8_t DEMO_AEBS1;
uint8_t DEMO_AEBS2;
uint8_t DEMO_AEBS3;
uint8_t ENTER_RETURN;
uint8_t Menu_Key_Static;
uint8_t User_FDJYLQQ_FLAG;
uint8_t User_RYLQQ_FLAG;
uint8_t User_BSXY_FLAG;
uint8_t User_CSQY_FLAG;
uint8_t User_KQGZJ_FLAG;
uint8_t User_DLZXY_FLAG;
uint8_t User_LT_FLAG;
uint8_t User_LHQY_FLAG;
uint8_t FState_ClearOilTx;
uint8_t FState_ClearOilRx;
uint16_t FState_COilTimeOut;
uint8_t Reserve1;
uint8_t Reserve2;
} _Display_State_Flag;
......
......@@ -921,4 +921,6 @@ void K_LINE_EOL_InitVal(void)
K_Line_Set.NoOfDTC8000 = 0x00u; //18
K_Line_Set.TesterECU = 0x00u; //19
K_Line_Set.TesterECUCAN = 0x00u; //20
K_Line_Set.User_Light1 = 10u;
K_Line_Set.User_Light2 = 10u;
}
\ No newline at end of file
......@@ -99,6 +99,11 @@ typedef struct
uint8_t NoOfDTC8000; //18
uint8_t TesterECU; //19
uint8_t TesterECUCAN; //20
uint8_t User_Light1;
uint8_t User_Light2;
uint8_t reserve3;
uint8_t reserve4;
} _EOL_K_LINE_SET;
extern _EOL_K_LINE_SET K_Line_Set;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment