comparison Discovery/Src/text_multilanguage.c @ 882:608d3e918146 Evo_2_23

Added slow exit timer function: At the end of the dive the final ascent to surface should be done slowly. The new function provides a comparison of the current divers depth compared to a linear ascent simulated by the OSTC. The visualization is shown instead of the ascent speed with a little different appearance. The linear ascent is starting from the last stop depth and the time for the ascent may be configurated in the deco settings. The simulated and real peth is compared and the depth color changes based on the difference of the values. In case the diver is much below the timer depth then the timer will stop and wait for the diver to follow.
author Ideenmodellierer
date Sat, 31 Aug 2024 17:35:52 +0200
parents e373e90a48db
children 2225c467f1e9
comparison
equal deleted inserted replaced
881:5b675077ccfb 882:608d3e918146
1773 static uint8_t text_EN_DecoTTS[] = "Deco and TTS"; 1773 static uint8_t text_EN_DecoTTS[] = "Deco and TTS";
1774 static uint8_t text_DE_DecoTTS[] = "Deco/TTS"; 1774 static uint8_t text_DE_DecoTTS[] = "Deco/TTS";
1775 static uint8_t text_FR_DecoTTS[] = ""; 1775 static uint8_t text_FR_DecoTTS[] = "";
1776 static uint8_t text_IT_DecoTTS[] = ""; 1776 static uint8_t text_IT_DecoTTS[] = "";
1777 static uint8_t text_ES_DecoTTS[] = ""; 1777 static uint8_t text_ES_DecoTTS[] = "";
1778
1779 static uint8_t text_EN_SlowExit[] = "Slow exit";
1780 static uint8_t text_DE_SlowExit[] = "Ausstieg";
1781 static uint8_t text_FR_SlowExit[] = "";
1782 static uint8_t text_IT_SlowExit[] = "";
1783 static uint8_t text_ES_SlowExit[] = "";
1778 1784
1779 static uint8_t text_EN_ScrubTime[] = "Scrubber time"; 1785 static uint8_t text_EN_ScrubTime[] = "Scrubber time";
1780 static uint8_t text_DE_ScrubTime[] = "Kalkstandzeit"; 1786 static uint8_t text_DE_ScrubTime[] = "Kalkstandzeit";
1781 static uint8_t text_FR_ScrubTime[] = "Scrubber time"; 1787 static uint8_t text_FR_ScrubTime[] = "Scrubber time";
1782 static uint8_t text_IT_ScrubTime[] = "Scrubber time"; 1788 static uint8_t text_IT_ScrubTime[] = "Scrubber time";
2197 {(uint8_t)TXT2BYTE_TTS, {text_EN_TTS, text_DE_TTS, text_FR_TTS, text_IT_TTS, text_ES_TTS}}, 2203 {(uint8_t)TXT2BYTE_TTS, {text_EN_TTS, text_DE_TTS, text_FR_TTS, text_IT_TTS, text_ES_TTS}},
2198 {(uint8_t)TXT2BYTE_ppoNair, {text_EN_ppo2Air, text_DE_ppo2Air, text_FR_ppo2Air, text_IT_ppo2Air, text_ES_ppo2Air}}, 2204 {(uint8_t)TXT2BYTE_ppoNair, {text_EN_ppo2Air, text_DE_ppo2Air, text_FR_ppo2Air, text_IT_ppo2Air, text_ES_ppo2Air}},
2199 {(uint8_t)TXT2BYTE_Navigation, {text_EN_Navigation, text_DE_Navigation, text_FR_Navigation, text_IT_Navigation, text_ES_Navigation}}, 2205 {(uint8_t)TXT2BYTE_Navigation, {text_EN_Navigation, text_DE_Navigation, text_FR_Navigation, text_IT_Navigation, text_ES_Navigation}},
2200 {(uint8_t)TXT2BYTE_DepthData, {text_EN_DepthData, text_DE_DepthData, text_FR_DepthData, text_IT_DepthData, text_ES_DepthData}}, 2206 {(uint8_t)TXT2BYTE_DepthData, {text_EN_DepthData, text_DE_DepthData, text_FR_DepthData, text_IT_DepthData, text_ES_DepthData}},
2201 {(uint8_t)TXT2BYTE_DecoTTS, {text_EN_DecoTTS, text_DE_DecoTTS, text_FR_DecoTTS, text_IT_DecoTTS, text_ES_DecoTTS}}, 2207 {(uint8_t)TXT2BYTE_DecoTTS, {text_EN_DecoTTS, text_DE_DecoTTS, text_FR_DecoTTS, text_IT_DecoTTS, text_ES_DecoTTS}},
2208 {(uint8_t)TXT2BYTE_SlowExit, {text_EN_SlowExit, text_DE_SlowExit, text_FR_SlowExit, text_IT_SlowExit, text_ES_SlowExit}},
2202 2209
2203 {(uint8_t)TXT2BYTE_Minimum, {text_EN_Minimum, text_DE_Minimum, text_FR_Minimum, text_IT_Minimum, text_ES_Minimum}}, 2210 {(uint8_t)TXT2BYTE_Minimum, {text_EN_Minimum, text_DE_Minimum, text_FR_Minimum, text_IT_Minimum, text_ES_Minimum}},
2204 {(uint8_t)TXT2BYTE_Normal, {text_EN_Normal, text_DE_Normal, text_FR_Normal, text_IT_Normal, text_ES_Normal}}, 2211 {(uint8_t)TXT2BYTE_Normal, {text_EN_Normal, text_DE_Normal, text_FR_Normal, text_IT_Normal, text_ES_Normal}},
2205 {(uint8_t)TXT2BYTE_Maximum, {text_EN_Maximum, text_DE_Maximum, text_FR_Maximum, text_IT_Maximum, text_ES_Maximum}}, 2212 {(uint8_t)TXT2BYTE_Maximum, {text_EN_Maximum, text_DE_Maximum, text_FR_Maximum, text_IT_Maximum, text_ES_Maximum}},
2206 2213