This commit is contained in:
xyy
2026-05-14 09:04:40 +08:00
parent cbdaf7a666
commit 9051f3e858
2 changed files with 0 additions and 14 deletions

View File

@@ -16,13 +16,6 @@ namespace 头罩视野.Services
public static double verticalAngleStep = 90.0 / (totalLights - 1); // 上下灯条用
public static double horizontalAngleStep = 180.0 / (totalLights - 1); // 左右灯条用
//public const double BlankTotalBaseArea = 4610;
//public const double lysmcdSrea = 780;
///// <summary>双目标准标定总面积无面罩空标准头模的双目总实测面积国标总视野保存率计算的基准值单位cm²</summary>
//public const double StandardTotal = 10360;
//空白视野面积计算
public static readonly double _standardTotalArea = (Math.PI * R * R) / 100;

View File

@@ -510,11 +510,6 @@ namespace 头罩视野.Views
tbTest.Background = System.Windows.Media.Brushes.LightGray;
await _modbusMaster.WriteSingleCoilAsync(1, 41, false);
}
private void Button_Click_home(object sender, RoutedEventArgs e)
{
NavigationService.Content = null;
}
//读取数据
private DispatcherTimer InitDispatcherTimer()
@@ -815,7 +810,6 @@ namespace 头罩视野.Views
_timer.Stop();
NavigationService.Content = new Views.PageTest();
}
private void GoRecord(object s, RoutedEventArgs e) => NavigationService.Content = new Views.RecordDate();
private void GoView(object s, RoutedEventArgs e) => NavigationService.Content = new Views.RecordPage();
//初始化数据
private void InitAllDataAsync()
@@ -860,7 +854,6 @@ namespace 头罩视野.Views
_modbusMaster.WriteSingleCoil(1, 0, false);
}
}
}