Explorar o código

feat(ui): 自动对焦页面well格结果显示水平位置

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
huangjie hai 1 semana
pai
achega
8655a67131
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      MainWindow.Calib.cs

+ 1 - 1
MainWindow.Calib.cs

@@ -194,7 +194,7 @@ namespace AutoFocusTool
                             var bmp = ImageConverter.ToBitmapSource(buf, _camWidth, _camHeight);
                             bool ok = Math.Abs(wc.CenterOffsetPct) < 12 && wc.CircleFound && wc.PeakRatio > 1.2;
                             win.SetWellResult(well, bmp,
-                                $"well{well} Y偏{wc.CenterOffsetPct:F0}% 曝{wc.Exposure} Z{wc.FocusZ}", ok);
+                                $"well{well} 水平{wc.HorizontalPulse} Y偏{wc.CenterOffsetPct:F0}% 曝{wc.Exposure} Z{wc.FocusZ}", ok);
                             Log($"  well{well} 标定后画面已存: {imgPath}");
                         }
                         catch (Exception ex) { Log($"  存图失败: {ex.Message}"); }