Mercurial > public > ostc4
diff Discovery/Src/t7.c @ 1049:d91345e9c009 GasConsumption
Added GF for surface:
The GF for the surface will now be shown in the lowerleft corner as well as in the customer summary view.
| author | Ideenmodellierer |
|---|---|
| date | Tue, 18 Nov 2025 18:53:21 +0100 |
| parents | 52fd91414b6c |
| children | 88b6ab90c55a |
line wrap: on
line diff
--- a/Discovery/Src/t7.c Sat Nov 15 19:29:44 2025 +0100 +++ b/Discovery/Src/t7.c Tue Nov 18 18:53:21 2025 +0100 @@ -3348,7 +3348,10 @@ /* actual GF */ case LLC_GF: headerText[2] = TXT_ActualGradient; - snprintf(text,TEXTSIZE,"\020%.0f\016\016%%\017",100 * pDecoinfoStandard->super_saturation); + snprintf(text,TEXTSIZE,"\020\002\016\016%3.0f%% @ C\017\n\r\002\016\016%3.0f%% @ 0\017",100 * pDecoinfoStandard->super_saturation + ,100 * pDecoinfoStandard->gf_surf); + tinyHeaderFont = 1; + line = 1; break; case LLC_ScrubberTime: @@ -4146,6 +4149,9 @@ text[textpointer++] = TXT_ActualGradient; text[textpointer++] = '\n'; text[textpointer++] = '\r'; + text[textpointer++] = TXT_ActualGradient; + text[textpointer++] = '\n'; + text[textpointer++] = '\r'; text[textpointer++] = TXT_CNS; text[textpointer++] = '\n'; text[textpointer++] = '\r'; @@ -4187,7 +4193,11 @@ text[textpointer++] = '\n'; text[textpointer++] = '\r'; text[textpointer++] = '\t'; - textpointer += snprintf(&text[textpointer],10,"\020%.0f\016\016%%\017", 100 * pDecoinfoStandard->super_saturation); + textpointer += snprintf(&text[textpointer],15,"\020%.0f\016\016%%\017 @ C", 100 * pDecoinfoStandard->super_saturation); + text[textpointer++] = '\n'; + text[textpointer++] = '\r'; + text[textpointer++] = '\t'; + textpointer += snprintf(&text[textpointer],15,"\020%.0f\016\016%%\017 @ 0", 100 * pDecoinfoStandard->gf_surf); text[textpointer++] = '\n'; text[textpointer++] = '\r'; text[textpointer++] = '\t';
