修正终端 METAR 当前温度显示

This commit is contained in:
2569718930@qq.com
2026-06-16 04:34:49 +08:00
parent 1afd3c6976
commit 1e1a78e946
2 changed files with 61 additions and 4 deletions
@@ -964,10 +964,14 @@ function selectCompactSecondaryTemp({
displayMetarTemp: number | null;
observedHighMetar: number | null;
}) {
if (isHKO && !isShenzhen && displayMetarTemp !== null) {
if (isShenzhen) {
return observedHighMetar;
}
// The compact secondary label is an observation cadence, so it must not display a daily high.
if (isHKO) {
return displayMetarTemp;
}
return observedHighMetar;
return displayMetarTemp;
}
function isSettlementRunway(row: ScanOpportunityRow | null, rwy: string) {