F4: protocollo e client per manutenzione e impieghi, ADR 0010, stato dei lavori
- Protocollo: riepilogo di manutenzione nei record (blocco 1), RequestDetail, MaintenanceCard, WorkshopRegister, EmploymentReport con depositi, motivi e convenzioni, MaintenanceAlert. - Server: dettagli su richiesta, avvisi dalla manutenzione, registro dopo le convenzioni. - Client: pannelli Officine (cartella di manutenzione, Registro officina, scorta di ricambi, avvisi, mappa di calore) e Impieghi (Registro degli impieghi con convenzioni); schede di treno, industria e città aggiornate; pilota automatico con le nuove schermate. - ADR 0010, PROTOCOL, ARCHITECTURE e STATE aggiornati; 102 test verdi. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0191R7vXgtbAvSV4V8tj8uzL
This commit is contained in:
28 files changed
+1618
-64
No files matched your search
@@ -162,5 +162,27 @@ public partial class AutoPilot : Node
|
||||
_game.UseTool(Tool.None);
|
||||
_game.Map.SetZoom(0.06f);
|
||||
await Shot("08_panoramica", 60);
|
||||
|
||||
// manutenzione (F4): un tagliando prenotato, cartella del treno, registro officina, mappa di calore
|
||||
await Ok(new ScheduleServiceCommand(new TrainId(train2), "service"));
|
||||
Session.SetSpeed(8);
|
||||
await Until(() => World.Trains.TryGetValue(train2, out var t2) && t2.Maintenance == TrainMaintenanceStatus.InWorkshop, "treno in officina", 240);
|
||||
Session.SetSpeed(1);
|
||||
_game.OpenMaintenance(train);
|
||||
_game.OpenWorkshop(depot);
|
||||
await Until(() => World.Cards.ContainsKey(train) && World.Workshops.TryGetValue(depot, out var reg) && reg.Jobs.Count > 0, "cartella e registro", 30);
|
||||
_game.Map.CenterOn(center);
|
||||
_game.Map.SetZoom(0.22f);
|
||||
await Shot("09_officine", 40);
|
||||
_game.ScrollPanel(1);
|
||||
await Shot("09b_registro_officina", 20);
|
||||
_game.ScrollPanel(0);
|
||||
_game.SetHeatMap(true);
|
||||
await Shot("10_mappa_di_calore", 20);
|
||||
|
||||
// Registro degli impieghi (sezione 9)
|
||||
_game.UseTool(Tool.Employment);
|
||||
await Until(() => World.Employment is not null, "registro degli impieghi", 30);
|
||||
await Shot("11_impieghi", 30);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user