F6: tooltip perché, correzioni della revisione

Le spiegazioni ora si ricompongono davvero dai termini mostrati e il
tooltip resta coerente con il pannello su cui sta.

Core:
- prezzo globale: termini Dtot, Stot, η, rmin, rmax e formula del rapporto
  D/S = clamp(Dtot/Stot, rmin, rmax) con gli scambi con il mondo;
- condizione del treno: la stima viene da Fleet.ConditionDue (estratta da
  Fleet.Dues senza cambiare l'aritmetica), con condizione e usura del
  componente che la dà, distinto dal più debole;
- tariffe merci e passeggeri riservate alla compagnia della linea;
- efficienza: la condizione mostrata è quella da cui viene mc (salvata in
  EfficiencyTerms prima della manutenzione), formula con «lavoro».

Client:
- WhyTooltip chiede la spiegazione a ogni apertura e poi al più una volta
  al secondo per valore (per chiave), mostrando la cache come in
  aggiornamento; passa al sostituto quando il pannello ricostruisce il
  controllo sotto il puntatore, invece di chiudersi e lampeggiare;
- prezzi come la scheda dell'industria, importi piccoli con i centesimi,
  condizione per difetto in percentuale, componente accanto al numero;
- misura del riquadro dopo l'impaginazione (niente salti di lato);
- cassa della barra dalle entità e nota quando il numero mostrato non è
  quello spiegato; nel Mercato il suggerimento nativo della riga non copre
  più il tooltip del prezzo.

Refs #44.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Alby96andClaude Opus 5.5 committed 2026-11-08 15:39:47 +01:00
1 parent 19a3dd3af1
commit 4beedd2e75
14 files changed
+381 -112

No files matched your search

@@ -828,6 +828,7 @@ Audio (M: muto),,Audio (M: mute)
Perché questo valore,,Why this value
in arrivo…,,on its way…
aggiornamento in arrivo…,,update on its way…
Il numero sul pannello è di inizio giornata; qui c'è quello di adesso.,,The number on the panel is from the start of the day; this is the current one.
motore,,engine
freni,,brakes
cassa,,body
@@ -842,13 +843,18 @@ Domanda della regione (finestra),,Regional demand (window)
Offerta della regione (finestra),,Regional supply (window)
Prezzo mondiale,,World price
Scambi con il resto del mondo,,Trade with the rest of the world
Rapporto domanda / offerta (con il mondo),,Demand / supply ratio (with the world)
Rapporto domanda / offerta (con il mondo, limitato),,"Demand / supply ratio (with the world, bounded)"
Elasticità degli scambi con il mondo,,Elasticity of trade with the world
Domanda con il resto del mondo,,Demand including the rest of the world
Offerta con il resto del mondo,,Supply including the rest of the world
Rapporto minimo,,Minimum ratio
Rapporto massimo,,Maximum ratio
Sensibilità al rapporto,,Sensitivity to the ratio
Prezzo minimo,,Minimum price
Prezzo massimo,,Maximum price
Prezzo obiettivo,,Target price
Peso del giorno,,Weight of the day
"D e S comprendono gli scambi con il resto del mondo al prezzo mondiale, che segue il ciclo economico e gli shock.",,"D and S include trade with the rest of the world at the world price, which follows the business cycle and shocks."
"D e S sono la domanda e l'offerta della regione; Dtot e Stot aggiungono gli scambi con il resto del mondo al prezzo mondiale, che segue il ciclo economico e gli shock.",,"D and S are the regional demand and supply; Dtot and Stot add trade with the rest of the world at the world price, which follows the business cycle and shocks."
Il prezzo è cambiato dopo l'ultimo passo del mercato.,,The price changed after the last market step.
Prezzo locale,,Local price
"Prezzo a cui l'industria compra la prossima unità: Dl è la scorta desiderata dell'ingresso, Sl la scorta.",,"Price at which the industry buys the next unit: Dl is the desired input stock, Sl the stock."
@@ -907,7 +913,8 @@ Giacimento,,Deposit
margine,,margin
Margine (media mobile),,Margin (moving average)
condizione,,condition
Condizione degli impianti (0–100),,Plant condition (0–100)
Condizione degli impianti alla produzione (0–100),,Plant condition at production (0–100)
"lavoro = min(cL, cP) × pf × mc (0 se ferma); e = lavoro × cI × g × ev",,"work = min(cL, cP) × pf × mc (0 if stopped); e = work × cI × g × ev"
"Industria ferma (guasto, incidente, revisione o ammodernamento): il ritmo del lavoro è zero.",,"Industry stopped (failure, accident, overhaul or upgrade): the work pace is zero."
Livello 0: l'industria è inattiva.,,Level 0: the industry is inactive.
Sopra la soglia di crescita per i trimestri richiesti il livello sale; sotto la soglia di calo scende.,,Above the growth threshold for the required quarters the level rises; below the decline threshold it falls.
@@ -954,7 +961,11 @@ Condizione del treno,,Train condition
Componente più debole,,Weakest component
veicolo,,vehicle
Veicolo,,Vehicle
Usura al giorno (media mobile),,Wear per day (moving average)
Usura al giorno del componente (media mobile),,Component wear per day (moving average)
Componente che dà la stima,,Component driving the estimate
Veicolo del componente della stima,,Vehicle of the estimate component
veicolo cs,,vehicle cs
Il componente è già all'obiettivo o sotto: la stima vale −margine.,,The component is already at or below the target: the estimate is −margin.
c rischio,,c risk
Componente più a rischio,,Component most at risk
Rischio di base al giorno,,Base risk per day
@@ -972,7 +983,7 @@ stima,,estimate
Giorni all'intervento sulla condizione,,Days to condition-based maintenance
Nessuna stima del pianificatore: i componenti non si sono ancora consumati.,,No planner estimate: the components have not worn yet.
Il guasto è estratto ogni giorno con il rischio h: 1/h è il numero medio di giorni prima del prossimo.,,A failure is drawn every day with risk h: 1/h is the average number of days before the next one.
"c = min(componenti); h = h₀·exp(k·(c₀ − c)/σ) sotto c₀, altrimenti h₀/div; stima = (c − obiettivo)/usura − margine",,"c = min(components); h = h₀·exp(k·(c₀ − c)/σ) below c₀, otherwise h₀/div; estimate = (c − target)/wear − margin"
"c = min(componenti); h = h₀·exp(k·(c₀ − c)/σ) sotto c₀, altrimenti h₀/div; stima = min sui componenti di (cs − obiettivo)/usura − margine",,"c = min(components); h = h₀·exp(k·(c₀ − c)/σ) below c₀, otherwise h₀/div; estimate = min over components of (cs − target)/wear − margin"
Valore del veicolo,,Vehicle value
prezzo,,price
Prezzo di listino,,List price
1 keys it en
828 Perché questo valore Why this value
829 in arrivo… on its way…
830 aggiornamento in arrivo… update on its way…
831 Il numero sul pannello è di inizio giornata; qui c'è quello di adesso. The number on the panel is from the start of the day; this is the current one.
832 motore engine
833 freni brakes
834 cassa body
843 Offerta della regione (finestra) Regional supply (window)
844 Prezzo mondiale World price
845 Scambi con il resto del mondo Trade with the rest of the world
846 Rapporto domanda / offerta (con il mondo) Rapporto domanda / offerta (con il mondo limitato) Demand / supply ratio (with the world)
847 Elasticità degli scambi con il mondo Elasticity of trade with the world
848 Domanda con il resto del mondo Demand including the rest of the world
849 Offerta con il resto del mondo Supply including the rest of the world
850 Rapporto minimo Minimum ratio
851 Rapporto massimo Maximum ratio
852 Sensibilità al rapporto Sensitivity to the ratio
853 Prezzo minimo Minimum price
854 Prezzo massimo Maximum price
855 Prezzo obiettivo Target price
856 Peso del giorno Weight of the day
857 D e S comprendono gli scambi con il resto del mondo al prezzo mondiale, che segue il ciclo economico e gli shock. D e S sono la domanda e l'offerta della regione; Dtot e Stot aggiungono gli scambi con il resto del mondo al prezzo mondiale, che segue il ciclo economico e gli shock. D and S include trade with the rest of the world at the world price, which follows the business cycle and shocks. D and S are the regional demand and supply; Dtot and Stot add trade with the rest of the world at the world price, which follows the business cycle and shocks.
858 Il prezzo è cambiato dopo l'ultimo passo del mercato. The price changed after the last market step.
859 Prezzo locale Local price
860 Prezzo a cui l'industria compra la prossima unità: Dl è la scorta desiderata dell'ingresso, Sl la scorta. Price at which the industry buys the next unit: Dl is the desired input stock, Sl the stock.
913 margine margin
914 Margine (media mobile) Margin (moving average)
915 condizione condition
916 Condizione degli impianti (0–100) Condizione degli impianti alla produzione (0–100) Plant condition (0–100) Plant condition at production (0–100)
917 lavoro = min(cL, cP) × pf × mc (0 se ferma); e = lavoro × cI × g × ev work = min(cL, cP) × pf × mc (0 if stopped); e = work × cI × g × ev
918 Industria ferma (guasto, incidente, revisione o ammodernamento): il ritmo del lavoro è zero. Industry stopped (failure, accident, overhaul or upgrade): the work pace is zero.
919 Livello 0: l'industria è inattiva. Level 0: the industry is inactive.
920 Sopra la soglia di crescita per i trimestri richiesti il livello sale; sotto la soglia di calo scende. Above the growth threshold for the required quarters the level rises; below the decline threshold it falls.
961 Componente più debole Weakest component
962 veicolo vehicle
963 Veicolo Vehicle
964 Usura al giorno (media mobile) Usura al giorno del componente (media mobile) Wear per day (moving average) Component wear per day (moving average)
965 Componente che dà la stima Component driving the estimate
966 Veicolo del componente della stima Vehicle of the estimate component
967 veicolo cs vehicle cs
968 Il componente è già all'obiettivo o sotto: la stima vale −margine. The component is already at or below the target: the estimate is −margin.
969 c rischio c risk
970 Componente più a rischio Component most at risk
971 Rischio di base al giorno Base risk per day
983 Giorni all'intervento sulla condizione Days to condition-based maintenance
984 Nessuna stima del pianificatore: i componenti non si sono ancora consumati. No planner estimate: the components have not worn yet.
985 Il guasto è estratto ogni giorno con il rischio h: 1/h è il numero medio di giorni prima del prossimo. A failure is drawn every day with risk h: 1/h is the average number of days before the next one.
986 c = min(componenti); h = h₀·exp(k·(c₀ − c)/σ) sotto c₀, altrimenti h₀/div; stima = (c − obiettivo)/usura − margine c = min(componenti); h = h₀·exp(k·(c₀ − c)/σ) sotto c₀, altrimenti h₀/div; stima = min sui componenti di (cs − obiettivo)/usura − margine c = min(components); h = h₀·exp(k·(c₀ − c)/σ) below c₀, otherwise h₀/div; estimate = (c − target)/wear − margin c = min(components); h = h₀·exp(k·(c₀ − c)/σ) below c₀, otherwise h₀/div; estimate = min over components of (cs − target)/wear − margin
987 Valore del veicolo Vehicle value
988 prezzo price
989 Prezzo di listino List price