Commit e6df2277 authored by hu's avatar hu

调整水温格走动速度[C

parent 7b6e711e
...@@ -32,6 +32,10 @@ ...@@ -32,6 +32,10 @@
/ghs/*.run /ghs/*.run
/ghs/* /ghs/*
/ghs/project.mem /ghs/project.mem
/ghs/project
/ghs/project.hex
/ghs/project.siz
*.gh~ *.gh~
*.sublime-project *.sublime-project
......
No preview for this file type
This diff is collapsed.
project .intvect 1536 project .intvect 1536
project .text 297564 project .text 297644
project .rodata 412311 project .rodata 412311
project .secinfo 120 project .secinfo 120
project .syscall 6 project .syscall 6
......
...@@ -32,8 +32,8 @@ uint8_t ModeGaugesTestFlag[GAUGES_TOTAL_NUM] = {0u}; ...@@ -32,8 +32,8 @@ uint8_t ModeGaugesTestFlag[GAUGES_TOTAL_NUM] = {0u};
const uint16_t GaugesDisDelayMax[2u][IndicatTypeTOtal] = const uint16_t GaugesDisDelayMax[2u][IndicatTypeTOtal] =
{ {
/*StepperMotor MotorGasType MotorTempType LCDGasType LEDOtherType GasType TempType 不同类型表头走行速度不同*/ /*StepperMotor MotorGasType MotorTempType LCDGasType LEDOtherType GasType TempType 不同类型表头走行速度不同*/
{0u, 20u, 20u, 40u, 2u, 20u, 200u}, {0u, 20u, 20u, 40u, 2u, 20u, 40u},
{0u, 0u, 0u, 2u, 2u, 2u, 5u}, {0u, 0u, 0u, 2u, 2u, 2u, 40u},
}; };
/**@brief Query Sector function /**@brief Query Sector function
...@@ -423,10 +423,18 @@ void GaugeMoveing(uint8_t GaugesNum) ...@@ -423,10 +423,18 @@ void GaugeMoveing(uint8_t GaugesNum)
GaugesMoveTimesTmp = GaugesFreeSetTimes; GaugesMoveTimesTmp = GaugesFreeSetTimes;
} }
else else
{
/*水温表上升最后一格需要调整时间*/
if ((GaugesNum == 2) && (DirecSign[2] == 1u) && (GaugesCurrentPos[2] == (DestPostion[2] - 10u)))
{
GaugesMoveTimesTmp = 2000u;
}
else
{ {
GaugesMoveTimesTmp = GaugesDisDelayMax[DisplayModeTmp[GaugesNum]][GaugesModuleType [GaugesNum]]; GaugesMoveTimesTmp = GaugesDisDelayMax[DisplayModeTmp[GaugesNum]][GaugesModuleType [GaugesNum]];
} }
} }
}
MoveTypePara = 10u; MoveTypePara = 10u;
......
...@@ -1106,6 +1106,16 @@ void Seg_Display_Service(void) ...@@ -1106,6 +1106,16 @@ void Seg_Display_Service(void)
else else
{ {
GaugesTimer--; GaugesTimer--;
/*此处为测试水温走格速度用*/
if (Coolant_Get_Valid())
{
SEG_Coolant_Display(Coolant_Get_CurSeg(), GUI_DISP_MODE_NORMAL, 7u); //水温格
}
else
{
SEG_Coolant_Display(Coolant_Get_CurSeg(), GUI_DISP_MODE_INVALID, 7u); //水温格
}
} }
} }
} }
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* \attention * \attention
* *
* This file is automatically generated by analog signals configuration tool. * This file is automatically generated by analog signals configuration tool.
* Date : 2021/9/3 16:26:22 * Date : 2021/10/26 10:37:53
* Cfg Tool Ver : 1.1.0 * Cfg Tool Ver : 1.1.0
* Engineer : wangboyu * Engineer : wangboyu
* (c) Heilongjiang TYW electronics co., LTD * (c) Heilongjiang TYW electronics co., LTD
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* \attention * \attention
* *
* This file is automatically generated by analog signals configuration tool. * This file is automatically generated by analog signals configuration tool.
* Date : 2021/9/3 16:26:22 * Date : 2021/10/26 10:37:53
* Cfg Tool Ver : 1.1.0 * Cfg Tool Ver : 1.1.0
* Engineer : wangboyu * Engineer : wangboyu
* (c) Heilongjiang TYW electronics co., LTD * (c) Heilongjiang TYW electronics co., LTD
......
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