refactor: SimpleLite 迁移到 Simple3,插件窗体改用 FairyView ForceFloat
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
using LoopViewerApp;
|
||||
using Newtonsoft.Json;
|
||||
using SimpleLite.RCS;
|
||||
using SimpleLite.RCS.CarTypes;
|
||||
using Simple3.RCS;
|
||||
using Simple3.RCS.CarTypes;
|
||||
using SimpleCore;
|
||||
using SimpleCore.Compiler;
|
||||
using SimpleCore.Library;
|
||||
@@ -2177,10 +2177,13 @@ namespace StandardScene.Chained
|
||||
StopAll();
|
||||
}
|
||||
|
||||
[MethodMember(Name = "一键上线所有AGV", Description = "将所有已初始化的正常 AGV 标记为在线")]
|
||||
[MethodMember(Name = "一键上线所有AGV", Description = "将所有已初始化的正常 AGV 标记为在线",
|
||||
RequiresPlatformConfirm = true,
|
||||
ConfirmMessage = "确认将所有已初始化的正常 AGV 一键上线?")]
|
||||
public void OnlineAllCars()
|
||||
{
|
||||
CycleUiHelper.ConfirmThen("确认将所有已初始化的正常 AGV 一键上线?", () => Task.Run(OnlineAllCarsCore));
|
||||
// 确认由 MethodMember.ConfirmMessage + ObjectEditorParity/SafeUI 居中弹出,此处勿再套 CycleUiHelper。
|
||||
Task.Run(OnlineAllCarsCore);
|
||||
}
|
||||
|
||||
private void OnlineAllCarsCore()
|
||||
@@ -2200,10 +2203,13 @@ namespace StandardScene.Chained
|
||||
Diagnosis.Post($"[AbstractLoopMission] 一键上线所有AGV:已上线 {count} 台", "Loop-OnlineAll", true);
|
||||
}
|
||||
|
||||
[MethodMember(Name = "一键结束所有AGV任务", Description = "停止环线调度并清除所有 AGV 的环线任务分配")]
|
||||
[MethodMember(Name = "一键结束所有AGV任务", Description = "停止环线调度并清除所有 AGV 的环线任务分配",
|
||||
RequiresPlatformConfirm = true,
|
||||
ConfirmMessage = "确认停止环线调度并结束所有 AGV 的环线任务?")]
|
||||
public void StopAllCarTasks()
|
||||
{
|
||||
CycleUiHelper.ConfirmThen("确认停止环线调度并结束所有 AGV 的环线任务?", () => Task.Run(StopAllCarTasksCore));
|
||||
// 确认由 MethodMember.ConfirmMessage + ObjectEditorParity/SafeUI 居中弹出,此处勿再套 CycleUiHelper。
|
||||
Task.Run(StopAllCarTasksCore);
|
||||
}
|
||||
|
||||
private void StopAllCarTasksCore()
|
||||
|
||||
Reference in New Issue
Block a user