fix: FASS2 状态机与 UDP 枢纽审查项

等锁超时、全路径签名、无锁窗口不下发、Fault 终态可等待、Pass+机构不再短路、Alarm 不杀单、catch-up 停在未完成站;VehicleCode=0/重复车号拒绝注册,Hub 已运行时不抢监听口;FileLogger 空目录可写。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
黄兆尉
2026-08-26 23:04:58 +08:00
co-authored by Cursor
parent 29a06f004f
commit e4a245e644
13 changed files with 465 additions and 48 deletions
@@ -100,11 +100,6 @@ namespace StandardScene.Fass2Simulator
return true;
}
if (expected.StartStop == StartStopPass)
{
return true;
}
if (expected.StartStop == StartStopControlStop)
{
return false;
@@ -96,6 +96,11 @@ namespace StandardScene.Fass2Simulator
return;
}
if (string.IsNullOrEmpty(_logDirectory))
{
_logDirectory = ResolveLogDirectory(null);
}
Directory.CreateDirectory(_logDirectory);
var fileName = $"app_{DateTime.Now:yyyyMMdd}.log";
CurrentFilePath = Path.Combine(_logDirectory, fileName);