refactor: SimpleLite 迁移到 Simple3,插件窗体改用 FairyView ForceFloat

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
黄兆尉
2026-08-26 11:18:40 +08:00
co-authored by Cursor
parent ad83008d9c
commit 3b4f505ac5
62 changed files with 264 additions and 281 deletions
@@ -2,16 +2,16 @@ using SimpleCore.Traffic;
using System;
using System.Collections.Generic;
using System.Linq;
using SimpleLite.RCS;
using SimpleLite.RCS.CarTypes;
using Simple3.RCS;
using Simple3.RCS.CarTypes;
using SimpleCore.Library;
using SimpleCore.PropType;
using SimpleCore;
using System.Threading;
using SimpleLite.CADTools;
using SimpleLite.Props;
using SimpleLite.UI;
using SimpleLite;
using Simple3.CADTools;
using Simple3.Props;
using Simple3.UI;
using Simple3;
using StandardScene.Utils;
using Newtonsoft.Json;
@@ -290,11 +290,11 @@ namespace StandardScene.InterLock
{
//if (!enableSimulation) return;
G.pushStatus("请选择站点");
var pt = await Program.UI.getPoint(new UIOps.getPointOptions() { site = true });
var pt = await Startup.UI.getPoint(new UIOps.getPointOptions() { site = true });
var site = SimpleLib.GetSite(pt.site);
if (SiteFilter(site.id))
{
var vv = await Program.UI.Input("请输入true/false", title, "true");
var vv = await Startup.UI.Input("请输入true/false", title, "true");
if (vv == null || !bool.TryParse(vv, out var allow))
{
CycleUiHelper.Alert("错误", "输入错误");
@@ -327,7 +327,7 @@ namespace StandardScene.InterLock
{
// if (!enableSimulation) return;
G.pushStatus("请选择站点");
var pt = await Program.UI.getPoint(new UIOps.getPointOptions() { site = true });
var pt = await Startup.UI.getPoint(new UIOps.getPointOptions() { site = true });
var site = SimpleLib.GetSite(pt.site);
if (SiteFilter(site.id))
{