From 23c61600de7855a5d9d7e43124520986527c80ce Mon Sep 17 00:00:00 2001 From: jkpete <1031139173@qq.com> Date: Sun, 14 Dec 2025 11:51:38 +0800 Subject: [PATCH] fixed track control --- Components/Pages/Control.razor | 197 +------------------------- Script/Model/ModelControlServer.cs | 3 - Script/Model/ModelSerialTest.cs | 78 ++-------- Script/Protocol/RequestTrackEngine.cs | 33 +++++ 4 files changed, 50 insertions(+), 261 deletions(-) diff --git a/Components/Pages/Control.razor b/Components/Pages/Control.razor index 6776c80..aa1726a 100644 --- a/Components/Pages/Control.razor +++ b/Components/Pages/Control.razor @@ -5,93 +5,13 @@ @implements IEGFramework @rendermode InteractiveServer -空轨控制 +靶机控制 -

空轨控制

+

靶机控制

-
-

当前位置: @dataActionStatus.Position / 25

-

旋转角度: @dataActionStatus.Rotate°

-

当前定位点: @(currentLocationName ?? "无")

-
-

位置控制

-
-
- @foreach (var marker in locationMarkers) - { -
-
- } -
- - @dataActionStatus.Position -
- -
- - - - - - - -
- - - - -
- -
-

快速定位

-
- @foreach (var location in locationMarkers) - { - - } -
-
- -
-

颜色显示

-
- RGB: @((int)(CurrentColor.X * 255)), @((int)(CurrentColor.Y * 255)), @((int)(CurrentColor.Z * 255)) - HSV: @((int)(CurrentHSV.X)), @((int)(CurrentHSV.Y)), @((int)(CurrentHSV.Z)) - -
-
- -
-

靶机控制