refactor: CycleUiHelper 重命名为 FairyUiHelper

对齐 FairyView 宿主命名。环线/充电/按钮/门进程的 Stop 改为 override,避免隐藏基类;Kiva.ForceStop 改为 override。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
黄兆尉
2026-08-26 22:49:07 +08:00
co-authored by Cursor
parent 7c925985eb
commit e075bc0d7d
23 changed files with 143 additions and 116 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ namespace StandardScene.QrLidar.Cad
var tagTh = tagSite.fields.TryGetValue("th", out var field) ? float.Parse(field) : 0f;
if (ApiController.QrMap.ContainsKey(tag))
{
CycleUiHelper.Alert("错误", $@"存在重复码值:{tag} 站点id为:{tagSite.id}");
FairyUiHelper.Alert("错误", $@"存在重复码值:{tag} 站点id为:{tagSite.id}");
return;
}
+2 -2
View File
@@ -298,7 +298,7 @@ namespace StandardScene.CarTypes
RequiresPlatformConfirm = true,
ConfirmMessage = "确定强制结束该车上的作业并下线?")]
[I18N.DocumentTranslation(Name = "Force Stop new", Description = "Stop car & reset clumsy", locale = "en")]
public new async void ForceStop()
public override void ForceStop()
{
try
{
@@ -327,7 +327,7 @@ namespace StandardScene.CarTypes
}
catch (Exception ex)
{
CycleUiHelper.Alert("错误",
FairyUiHelper.Alert("错误",
$@"未能立即强制结束小车{name}({id}),原因:{ExceptionFormatter.FormatEx(ex)}");
}
})