From f08871fe7d148d667f2f11f80f64de71a0d9504c Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期一, 15 六月 2026 18:19:37 +0800
Subject: [PATCH] 优化标准老化界面
---
Plugin.BurnIn/ManualDebug/ManualDebugWindow.xaml.cs | 26 +++++++++++++++++++++++---
1 files changed, 23 insertions(+), 3 deletions(-)
diff --git a/Plugin.BurnIn/ManualDebugWindow.xaml.cs b/Plugin.BurnIn/ManualDebug/ManualDebugWindow.xaml.cs
similarity index 77%
rename from Plugin.BurnIn/ManualDebugWindow.xaml.cs
rename to Plugin.BurnIn/ManualDebug/ManualDebugWindow.xaml.cs
index 3118483..1723f14 100644
--- a/Plugin.BurnIn/ManualDebugWindow.xaml.cs
+++ b/Plugin.BurnIn/ManualDebug/ManualDebugWindow.xaml.cs
@@ -3,7 +3,6 @@
using System.ComponentModel;
using System.IO;
using System.Windows;
-using Util.SB;
namespace Plugin.BurnIn
{
@@ -15,15 +14,26 @@
private ManualDebug debug;
- public ManualDebugWindow(string seqPath, string modelPath)
+ public ManualDebugWindow(string seqPath, string modelPath, bool isMuilt) : this(seqPath, modelPath, isMuilt, null, 1)
+ {
+ }
+
+ public ManualDebugWindow(string seqPath, string modelPath, bool isMuilt, SingleCell[] cells, int col)
{
DataContext = this;
InitializeComponent();
debug = (ManualDebug)sb.Children[0];
ReadBtns();
+ if (!isMuilt)
+ {
+ debug.HideCells(true);
+ }
//List<BtnConfig> settings = new List<BtnConfig> { new BtnConfig { Title = "涓婄數婵�娲�", Name = "Active" } };
debug.seqPath = seqPath;
debug.modelPath = modelPath;
+ debug.CellGrid.Columns = col;
+ debug.CellResultGrid.Columns = col;
+ debug.RefreshGrid(cells);
}
private string ovenName;
@@ -56,7 +66,7 @@
}
}
- private int cellIndex;
+ private int cellIndex = -1;
public int CellIndex
{
get => cellIndex;
@@ -66,6 +76,16 @@
}
}
+ private int cellCount = 0;
+ public int CellCount
+ {
+ get => cellCount;
+ set
+ {
+ Set(ref cellCount, value);
+ }
+ }
+
private void ReadBtns()
{
string path = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Settings.ini");
--
Gitblit v1.9.1