diff --git a/头罩视野slove/头罩视野/Services/GetArea.cs b/头罩视野slove/头罩视野/Services/GetArea.cs
index c353bff..8a44fea 100644
--- a/头罩视野slove/头罩视野/Services/GetArea.cs
+++ b/头罩视野slove/头罩视野/Services/GetArea.cs
@@ -7,234 +7,6 @@ namespace 头罩视野.Services
{
class GetArea
{
- //public const double standardArea = 140;
-
- /// 有效亮度阈值:区分有效视野和噪声/遮挡的门槛设备标定经验值,≥12判定为有效视野
- public const int threshold = 12;
-
- /// 异常值差值阈值:过滤孤立尖峰噪声当前点与前后点差值均>30时,判定为异常值并插值修正
- public const int OutlierDiffThreshold = 30;
-
- /// 灯条通道总数:360°圆周采样点数量对应每点5°(360° ÷ 72 = 5°/点),符合国标GB2890-2022要求
- public const int lightNum = 72;
-
- /// 设备最大检测半径:理论上的最大视野半径单位:mm,用来计算理论圆面积 这个是我们自己的设备值
- public const int maxRadius_mm = 330;
-
- /// 单眼标准标定面积:无面罩空标准头模的单眼实测面积 国标视野保存率计算的基准值,单位:cm²
- public const double standardArea = 5180;
-
- /// 双目标准标定总面积:无面罩空标准头模的双目总实测面积国标总视野保存率计算的基准值,单位:cm²
- public const double StandardTotal = 10360;
-
- // 补充:用半径计算的单眼理论圆面积(供参考) 公式:π × 半径²,单位:cm²
- public static readonly double standardAreaOus = Math.PI * maxRadius_mm * maxRadius_mm / 100;
-
- //双目重叠标准
- public static double StandardBinocular = 4150;
-
- // 剔除异常值,用相邻数据插值
-
- public static List RemoveOutliers(List data)
- {
- for (int i = 3; i < data.Count - 1; i++)
- {
- if (Math.Abs(data[i] - data[i - 1]) > OutlierDiffThreshold && Math.Abs(data[i] - data[i + 1]) > OutlierDiffThreshold)
- {
- data[i] = (dynamic)((data[i - 1] + data[i + 1]) / 2);
- }
- //过滤无效信号
- if (data[i] < threshold)
- {
- data[i] = 0;
- }
-
- }
- return data;
- }
-
- ///
- /// 计算单眼视野面积
- ///
- /// 20组数据,每组lightNum个通道
- /// 有效亮度阈值(如12)
- /// (如140)
- /// 计算好的面积
- ///
- public static double CalculateEyeArea(List groupData)
- {
- double[] avg = new double[lightNum];
- for (int c = 0; c < lightNum; c++)
- {
- double sum = 0;
- foreach (var g in groupData) sum += g[c];
- avg[c] = sum / groupData.Count;
- }
-
- int valid = avg.Count(v => v >= threshold);
- return (valid / lightNum) * standardArea;
- }
-
- //计算双目视野面积
- ///
- /// 计算双目视野面积(左右眼同时可见)
- ///
- public static double CalcBinocularArea(
- List leftGroups,
- List rightGroups
- )
- {
- // 1. 左眼平均数据
- double[] leftAvg = GetEyeAvgArray(leftGroups);
-
- // 2. 右眼平均数据
- double[] rightAvg = GetEyeAvgArray(rightGroups);
-
- // 3. 双目同时有效点数(左右都亮才算)
- int biValid = 0;
- for (int i = 0; i < lightNum; i++)
- {
- if (leftAvg[i] >= threshold && rightAvg[i] >= threshold)
- biValid++;
- }
-
- // 4. 双目视野面积
- return (biValid / lightNum) * standardArea;
- }
-
- //下方视野角度
- ///
- /// GB2890-2022 计算 单眼下方视野角度
- /// eyeData:单眼lightNum路平均数据数组
- /// threshold:有效亮度阈值
- ///
- public static double CalcLowerAngle(double[] eyeData, double perAngle)
- {
- // 总lightNum点 每点5°
- int totalPoint = lightNum;
-
- // 国标:最下方起始点位(第54号开始为正下方)
- int startDownIndex = 54;
-
- int validCount = 0;
-
- // 从最下方向上 连续检测有效点
- for (int i = 0; i < lightNum / 2; i++)
- {
- int idx = (startDownIndex + i) % totalPoint;
-
- if (eyeData[idx] >= threshold)
- {
- validCount++;
- }
- else
- {
- // 断开直接停止
- break;
- }
- }
-
- // 下方视野角度 = 有效点数 × 单步角度
- return validCount * perAngle;
- }
-
-
- ///
- /// 计算单眼lightNum点通道平均值数组
- ///
- /// 多组采样数据集合
- /// lightNum点通道平均值数组
- public static double[] GetEyeAvgArray(List eyeGroups)
- {
- if (eyeGroups == null || eyeGroups.Count == 0)
- return new double[lightNum]; // 无数据时返回全0数组
-
- double[] avg = new double[lightNum];
-
- for (int i = 0; i < lightNum; i++)
- {
- double sum = 0;
- foreach (var group in eyeGroups)
- {
- sum += group[i];
- }
- avg[i] = sum / eyeGroups.Count;
- }
-
- return avg;
- }
-
-
- //视野保存率
- //double totalSaveRate = (总视野面积 / 标准总视野面积) * 100;
- public static class VisionCalculator
- {
- ///
- /// 计算视野保存率
- ///
- /// 实测面积
- /// 标准面积
- /// 保存率 %
- public static double CalculateVisionSaveRate(double actualArea)
- {
-
- return (actualArea / standardArea) * 100;
- }
- }
-
-
- //===== 2. 传入你采集的实测面积 =====
- // leftArea:左眼实测 rightArea:右眼实测 binArea:双目重叠实测
- public static double CalcVisionRate(double leftArea, double rightArea)
- {
- // 总视野实测 = 左+右
- double totalSi = leftArea + rightArea;
-
- // 1. 总视野保存率
- double ratioTotal = totalSi / StandardTotal;
- double gammaTotal = GetVisionGamma(ratioTotal);
- double totalRate = gammaTotal * ratioTotal * 100;
- return (totalRate);
- }
-
- ///
- /// GB2890-2022 自动获取 总视野/双目视野 校正系数γ
- ///
- /// 实测面积/标准面积 比值(0~1)
- /// 校正系数 γ
- public static double GetVisionGamma(double ratio)
- {
- // X:视野残存率 Si/S0
- double[] xData = { 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0 };
-
- // 总视野 γ 对应值
- double[] gammaTotal = { 1.22, 1.18, 1.14, 1.10, 1.06, 1.03, 1.02, 1.01, 1.00 };
-
- double[] yData = gammaTotal;
-
- // 边界限制
- if (ratio <= xData[0]) return yData[0];
- if (ratio >= xData.Last()) return 1.0;
-
- // 线性插值
- for (int i = 0; i < xData.Length - 1; i++)
- {
- if (ratio >= xData[i] && ratio <= xData[i + 1])
- {
- double t = (ratio - xData[i]) / (xData[i + 1] - xData[i]);
- return yData[i] + t * (yData[i + 1] - yData[i]);
- }
- }
- return 1.0;
- }
-
-
-
-
-
-
-
-
// 设备固定参数
private static double R = 330; // 半球半径
@@ -350,15 +122,6 @@ namespace 头罩视野.Services
- //
- //private static System.Drawing.Point GetLightPoint(int m, int n)
- //{
- // double radH = m * angleStep * Math.PI / 180;
- // double radV = n * angleStep * Math.PI / 180;
- // double x = R * Math.Tan(radH);
- // double y = R * Math.Tan(radV);
- // return new System.Drawing.Point((int)x, (int)y);
- //}
}
diff --git a/头罩视野slove/头罩视野/Views/RecordDate.xaml b/头罩视野slove/头罩视野/Views/RecordDate.xaml
deleted file mode 100644
index 5d1ef49..0000000
--- a/头罩视野slove/头罩视野/Views/RecordDate.xaml
+++ /dev/null
@@ -1,244 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/头罩视野slove/头罩视野/Views/RecordDate.xaml.cs b/头罩视野slove/头罩视野/Views/RecordDate.xaml.cs
deleted file mode 100644
index 5bbba25..0000000
--- a/头罩视野slove/头罩视野/Views/RecordDate.xaml.cs
+++ /dev/null
@@ -1,355 +0,0 @@
-using Microsoft.Win32;
-using Modbus.Device;
-using Sunny.UI;
-using System;
-using System.Collections.Generic;
-using System.IO;
-using System.Text;
-using System.Timers;
-using System.Windows;
-using System.Windows.Controls;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Input;
-using System.Windows.Media;
-using System.Windows.Media.Imaging;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using 头罩视野.Services;
-using 头罩视野.Services.Data;
-using static 头罩视野.TestDataStore;
-namespace 头罩视野.Views
-{
- ///
- /// RecordDate.xaml 的交互逻辑
- ///
- ///
-
- public partial class RecordDate : Page
-
- {
- private IModbusMaster _modbusMaster => ModbusResourceManager.Instance.ModbusMaster;
- private System.Timers.Timer? _plcReadTimer;
- // 表跟数据存储列表
- public List LeftEyeDataList = new List();
- public List RightEyeDataList = new List();
-
- public List CalLeftData = new List();
- public List CalRightData = new List();
-
- // 配置:和你PLC地址完全对应 左目
- private const int LeftEyeStartAddress = 1362; // D1362
- private const int ChannelCount = 72; // 72个通道
- private const int RegistersPerChannel = 1; // 每个通道2个寄存器(Float)
-
- //右目
-
- private const int RightEyeStartAddress = 1218; // D1218
- //// 长按清除用
- private bool _isClearPressed = false;
- private Thread _clearThread;
-
- public RecordDate()
- {
- InitializeComponent();
- DynamicHeader();
- // 2. 调用(名字和上面的变量一致)
- // 2. 启动定时器,定时读取数据(每100ms读一次)
- StartPlcReadTimer(1000);
-
- //// 判断连接
- if (!ModbusHelper.IsConnected)
- {
- MessageBox.Show("未连接");
- return;
- }
- }
- //动态生成表头
- void DynamicHeader()
- {
- // 2. 循环生成 72 个 ch 列
- for (int i = 1; i <= ChannelCount; i++)
- {
- dataGrid1.Columns.Add(new DataGridTextColumn
- {
- Header = $"ch.{i}",
- Binding = new System.Windows.Data.Binding($"Ch{i}")
- });
- dataGrid2.Columns.Add(new DataGridTextColumn
- {
- Header = $"ch.{i}",
- Binding = new System.Windows.Data.Binding($"Ch{i}")
- });
- }
- }
- public void StopPlcTimer()
- {
- if (_plcReadTimer != null)
- {
- _plcReadTimer.Stop();
- _plcReadTimer.Dispose();
- _plcReadTimer = null;
-
- }
- }
- //定时读取 PLC 数据
- public void StartPlcReadTimer(int intervalMs)
-
- {
- // 防止重复创建
- if (_plcReadTimer != null && _plcReadTimer.Enabled)
- return;
- _plcReadTimer = new System.Timers.Timer(intervalMs);
- _plcReadTimer.Elapsed += ReadPlcData;
- _plcReadTimer.Start();
- }
-
- private void ReadPlcData(object? sender, ElapsedEventArgs e)
- {
- // 左通道
- ReadPlcDataGeneric(
- slaveAddress: 1,
- startAddress: LeftEyeStartAddress,
- count: 72,
- dataList: LeftEyeDataList,
- dataGrid: dataGrid1);
-
- //// 右通道
- //ReadPlcDataGeneric(
- // slaveAddress: 1,
- // startAddress: RightEyeStartAddress,
- // count: (ushort)(ChannelCount * RegistersPerChannel),
- // dataList: RightEyeDataList,
- // dataGrid: dataGrid2);
- }
-
- ///
- /// 读取PLC HoldingRegisters 并更新到列表和DataGrid
-
- /// 设备站号(一般是1)
- /// 起始地址
- /// 寄存器总数
- /// 数据缓存列表
- /// 要更新的DataGrid控件
-
-
- /// 通用PLC读取方法(左右通道通用)
- ///
- private void ReadPlcDataGeneric(
- byte slaveAddress,
- ushort startAddress,
- ushort count,
- List dataList,
- DataGrid dataGrid)
- {
- if (_modbusMaster == null || !ModbusHelper.TcpClient.Connected)
- return;
-
- try
- {
- // 读取寄存器
- ushort[] registers = _modbusMaster.ReadHoldingRegisters(
- slaveAddress: slaveAddress,
- startAddress: startAddress,
- numberOfPoints: (ushort)count);
-
- uint[] data32 = ConvertRegistersToUInt32(registers, true);
- // 先把变量存为局部变量,解决闭包问题
- var regCopy = data32;
- var listCopy = dataList;
- var gridCopy = dataGrid;
-
- // 交给UI线程更新数据和表格
- Dispatcher.Invoke(() =>
- {
- AddPlcDataRow(regCopy, listCopy, gridCopy);
- });
-
- System.Diagnostics.Debug.WriteLine("读取寄存器数据" );
- }
- catch (Exception ex)
- {
- Console.WriteLine($"PLC读取失败: {ex.Message}");
- }
- }
-
- private uint[] ConvertRegistersToUInt32(ushort[] registers, bool isLittleEndian)
- {
- if (registers == null || registers.Length % 2 != 0)
- throw new ArgumentException("寄存器数量必须是偶数");
-
- uint[] result = new uint[registers.Length / 2];
- for (int i = 0; i < result.Length; i++)
- {
- ushort low = registers[i * 2];
- ushort high = registers[i * 2 + 1];
-
- if (isLittleEndian)
- result[i] = (uint)(low | (high << 16));
- else
- result[i] = (uint)(high | (low << 16));
- }
- return result;
- }
- ///
- /// 把PLC数据添加到动态表格
-
- private int _rowIndex = 1;
-
- private void AddPlcDataRow(uint[] registers, List dataList, DataGrid dg)
- {
- // 1. 先清空临时列表,不影响历史数据
- //dataList.Clear();
-
- // 2. 构建一次采集的单行数据(包含所有通道)
- dynamic newRow = new System.Dynamic.ExpandoObject();
- var dict = (IDictionary)newRow;
-
- // 固定列:编号、时间、日期(每次采集的这一行)
- dict["Id"] = _rowIndex++;
- dict["Time"] = DateTime.Now.ToString("HH:mm:ss");
- dict["Date"] = DateTime.Now.ToString("yyyy-MM-dd");
-
- // 关键:循环给所有通道赋值,一行里包含所有通道值
- for (int i = 0; i < registers.Length; i++)
- {
- // 字段名和你界面列绑定的名称必须完全一致,比如 ch.1 / Ch1
- dict[$"Ch{i + 1}"] = registers[i];
- //dict[$"ch.{i + 1}"] = registers[i];
- }
-
- // 3. 把这一行加到历史列表,实现“读多行”
- dataList.Add(newRow);
-
- // 4. 强制刷新DataGrid,让界面显示多行
- dg.Dispatcher.Invoke(() =>
- {
- dg.ItemsSource = null;
- dg.ItemsSource = dataList;
- dg.Items.Refresh(); // 强制刷新视图,避免不渲染
- });
- }
-
- //面积的计算方法
- public void getAllData(List leftEyeDataList, List RightEyeDataList, int perAngle)
-
- {
-
- // 1. 先去除异常值,生成新列表(不修改原列表)
- var filteredLeft = GetArea.RemoveOutliers(leftEyeDataList);
- var filteredRight = GetArea.RemoveOutliers(RightEyeDataList);
-
- //左目视野面积
- GlobalData.LeftEyeArea = GetArea.CalculateEyeArea(filteredLeft);
- //右目视野面积
- GlobalData.RightEyeArea = GetArea.CalculateEyeArea(filteredRight);
- //双目视野面积
- GlobalData.BinocularArea = GetArea.CalcBinocularArea(filteredLeft, filteredRight);
-
- //// 总视野面积
- GlobalData.TotalEyeArea = GlobalData.LeftEyeArea + GlobalData.RightEyeArea - GlobalData.BinocularArea;
-
- //// 空白视野面积
- GlobalData.BlankArea = GetArea.StandardTotal - GlobalData.TotalEyeArea;
-
- //视野保存率
-
- // 左眼平均值数组
- double[] leftAvg = GetArea.GetEyeAvgArray(filteredLeft);
-
- // 右眼平均值数组
- double[] rightAvg = GetArea.GetEyeAvgArray(RightEyeDataList);
-
- double leftLowerAngle = GetArea.CalcLowerAngle(leftAvg, perAngle);
- double rightLowerAngle = GetArea.CalcLowerAngle(rightAvg, perAngle);
- //下方视野
- GlobalData.LowerVision = Math.Min(leftLowerAngle, rightLowerAngle);
-
- //视野保存率
- GlobalData.VisionRetentionRate = GetArea.CalcVisionRate(GlobalData.LeftEyeArea, GlobalData.RightEyeArea);
-
- //打印数值显示在系统上面
- System.Diagnostics.Debug.WriteLine("左目视野面积" + GlobalData.LeftEyeArea);
- System.Diagnostics.Debug.WriteLine("右目视野面积" + GlobalData.RightEyeArea);
- System.Diagnostics.Debug.WriteLine("双目视野面积" + GlobalData.BinocularArea);
- System.Diagnostics.Debug.WriteLine("总视野面积" + GlobalData.TotalEyeArea);
- System.Diagnostics.Debug.WriteLine("下方视野" + GlobalData.LowerVision);
- System.Diagnostics.Debug.WriteLine("视野保存率" + GlobalData.VisionRetentionRate);
-
- }
-
-
- //#endregion
-
- // 保存左眼
- private void btnSaveLeft_Click(object sender, RoutedEventArgs e)
- {
- //SaveToCsv(LeftEyeDataList, $"左眼数据_{DateTime.Now:yyyyMMddHHmmss}.csv");
- ModbusHelper.SaveToCsv(LeftEyeDataList, $"左眼数据_{DateTime.Now:yyyyMMddHHmmss}.csv");
- }
-
-
- // 保存右眼
- private void btnSaveRight_Click(object sender, RoutedEventArgs e)
- {
- ModbusHelper.SaveToCsv(RightEyeDataList,$"右眼数据_{DateTime.Now:yyyyMMddHHmmss}.csv");
- }
-
- //清除
- private void btnClear_MouseDown(object sender, MouseButtonEventArgs e)
- {
- //_isClearPressed = true;
- //_clearThread = new Thread(() =>
- //{
- // Thread.Sleep(500); // 长按1秒触发
- // if (_isClearPressed)
- // {
- // Application.Current.Dispatcher.Invoke(() => ClearAllData());
- // }
- //});
- //_clearThread.Start();
- _plcReadTimer?.Stop();
- }
- // 清除所有数据
- private void ClearAllData()
- {
- LeftEyeDataList.Clear();
- dataGrid1.Items.Clear();
- RightEyeDataList.Clear();
- dataGrid2.Items.Clear();
-
- MessageBox.Show("数据已清除");
- }
-
- private void btnClear_MouseUp(object sender, MouseButtonEventArgs e)
- {
- _isClearPressed = false;
- _clearThread?.Join(100); // 等待线程结束最多100毫秒,然后强制结束
- }
- private void Page_Unloaded(object sender, RoutedEventArgs e)
- {
- _plcReadTimer?.Stop();
- _plcReadTimer?.Dispose();
- //_modbusMaster?.Dispose();
- //ModbusHelper.TcpClient?.Close();
-
- }
- private void Page_Loaded(object sender, RoutedEventArgs e)
- {
-
- }
-
-
- private void GoHome(object s, RoutedEventArgs e) => NavigationService.Content = null;
- private void GoTest(object s, RoutedEventArgs e) => 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();
-
-
-
- //NavigationService.Navigate(new Views.RecordDate()); 页面相互跳转
- }
-
-
-
- }
diff --git a/头罩视野slove/头罩视野/obj/Debug/net10.0-windows/App.g.i.cs b/头罩视野slove/头罩视野/obj/Debug/net10.0-windows/App.g.i.cs
deleted file mode 100644
index bf6ac98..0000000
--- a/头罩视野slove/头罩视野/obj/Debug/net10.0-windows/App.g.i.cs
+++ /dev/null
@@ -1,84 +0,0 @@
-#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "69F410B786DB1725D40721B4BFA0AF24ADE0F02A"
-//------------------------------------------------------------------------------
-//
-// 此代码由工具生成。
-// 运行时版本:4.0.30319.42000
-//
-// 对此文件的更改可能会导致不正确的行为,并且如果
-// 重新生成代码,这些更改将会丢失。
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Controls.Ribbon;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using 头罩视野;
-
-
-namespace 头罩视野 {
-
-
- ///
- /// App
- ///
- public partial class App : System.Windows.Application {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.6.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
-
- #line 5 "..\..\..\App.xaml"
- this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
-
- #line default
- #line hidden
- System.Uri resourceLocater = new System.Uri("/头罩视野;component/app.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\App.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- ///
- /// Application Entry Point.
- ///
- [System.STAThreadAttribute()]
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.6.0")]
- public static void Main() {
- 头罩视野.App app = new 头罩视野.App();
- app.InitializeComponent();
- app.Run();
- }
- }
-}
-
diff --git a/头罩视野slove/头罩视野/obj/Debug/net10.0-windows/Views/ChangeLanguage.g.i.cs b/头罩视野slove/头罩视野/obj/Debug/net10.0-windows/Views/ChangeLanguage.g.i.cs
deleted file mode 100644
index a67acd6..0000000
--- a/头罩视野slove/头罩视野/obj/Debug/net10.0-windows/Views/ChangeLanguage.g.i.cs
+++ /dev/null
@@ -1,152 +0,0 @@
-#pragma checksum "..\..\..\..\Views\ChangeLanguage.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "988A846E1656D700EA4630C867745AA59A3D0110"
-//------------------------------------------------------------------------------
-//
-// 此代码由工具生成。
-// 运行时版本:4.0.30319.42000
-//
-// 对此文件的更改可能会导致不正确的行为,并且如果
-// 重新生成代码,这些更改将会丢失。
-//
-//------------------------------------------------------------------------------
-
-using HandyControl.Controls;
-using HandyControl.Data;
-using HandyControl.Expression.Media;
-using HandyControl.Expression.Shapes;
-using HandyControl.Interactivity;
-using HandyControl.Media.Animation;
-using HandyControl.Media.Effects;
-using HandyControl.Properties.Langs;
-using HandyControl.Themes;
-using HandyControl.Tools;
-using HandyControl.Tools.Converter;
-using HandyControl.Tools.Extension;
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Controls.Ribbon;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using 头罩视野.Views;
-
-
-namespace 头罩视野.Views {
-
-
- ///
- /// ChangeLanguage
- ///
- public partial class ChangeLanguage : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector {
-
-
- #line 43 "..\..\..\..\Views\ChangeLanguage.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBlock TX_1;
-
- #line default
- #line hidden
-
-
- #line 47 "..\..\..\..\Views\ChangeLanguage.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBlock TX_0;
-
- #line default
- #line hidden
-
-
- #line 51 "..\..\..\..\Views\ChangeLanguage.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Button SW_1;
-
- #line default
- #line hidden
-
-
- #line 68 "..\..\..\..\Views\ChangeLanguage.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBlock TX_2;
-
- #line default
- #line hidden
-
-
- #line 73 "..\..\..\..\Views\ChangeLanguage.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Button SW_2;
-
- #line default
- #line hidden
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.6.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/头罩视野;component/views/changelanguage.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\Views\ChangeLanguage.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.6.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
- this.TX_1 = ((System.Windows.Controls.TextBlock)(target));
- return;
- case 2:
- this.TX_0 = ((System.Windows.Controls.TextBlock)(target));
- return;
- case 3:
- this.SW_1 = ((System.Windows.Controls.Button)(target));
-
- #line 51 "..\..\..\..\Views\ChangeLanguage.xaml"
- this.SW_1.Click += new System.Windows.RoutedEventHandler(this.BtnGoNextPage_Click);
-
- #line default
- #line hidden
- return;
- case 4:
- this.TX_2 = ((System.Windows.Controls.TextBlock)(target));
- return;
- case 5:
- this.SW_2 = ((System.Windows.Controls.Button)(target));
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/头罩视野slove/头罩视野/obj/Debug/net10.0-windows/Views/Help.g.i.cs b/头罩视野slove/头罩视野/obj/Debug/net10.0-windows/Views/Help.g.i.cs
deleted file mode 100644
index d22b370..0000000
--- a/头罩视野slove/头罩视野/obj/Debug/net10.0-windows/Views/Help.g.i.cs
+++ /dev/null
@@ -1,76 +0,0 @@
-#pragma checksum "..\..\..\..\Views\Help.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "26C55F12F75F47E87465FBE205342822ABB38A23"
-//------------------------------------------------------------------------------
-//
-// 此代码由工具生成。
-// 运行时版本:4.0.30319.42000
-//
-// 对此文件的更改可能会导致不正确的行为,并且如果
-// 重新生成代码,这些更改将会丢失。
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Controls.Ribbon;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using 头罩视野.Views;
-
-
-namespace 头罩视野.Views {
-
-
- ///
- /// Help
- ///
- public partial class Help : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector {
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.6.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/头罩视野;component/views/help.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\Views\Help.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.6.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/头罩视野slove/头罩视野/obj/Debug/net10.0-windows/Views/SetPassWord.g.i.cs b/头罩视野slove/头罩视野/obj/Debug/net10.0-windows/Views/SetPassWord.g.i.cs
deleted file mode 100644
index 6d03e4a..0000000
--- a/头罩视野slove/头罩视野/obj/Debug/net10.0-windows/Views/SetPassWord.g.i.cs
+++ /dev/null
@@ -1,277 +0,0 @@
-#pragma checksum "..\..\..\..\Views\SetPassWord.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "CD00A0EB8304DD1C4BC82D7B58CB962188A096F7"
-//------------------------------------------------------------------------------
-//
-// 此代码由工具生成。
-// 运行时版本:4.0.30319.42000
-//
-// 对此文件的更改可能会导致不正确的行为,并且如果
-// 重新生成代码,这些更改将会丢失。
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Controls.Ribbon;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using 头罩视野.Views;
-
-
-namespace 头罩视野.Views {
-
-
- ///
- /// SetPassWord
- ///
- public partial class SetPassWord : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector {
-
-
- #line 34 "..\..\..\..\Views\SetPassWord.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox NE_7;
-
- #line default
- #line hidden
-
-
- #line 38 "..\..\..\..\Views\SetPassWord.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox NE_8;
-
- #line default
- #line hidden
-
-
- #line 42 "..\..\..\..\Views\SetPassWord.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox NE_9;
-
- #line default
- #line hidden
-
-
- #line 55 "..\..\..\..\Views\SetPassWord.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox NE_14;
-
- #line default
- #line hidden
-
-
- #line 59 "..\..\..\..\Views\SetPassWord.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox NE_15;
-
- #line default
- #line hidden
-
-
- #line 63 "..\..\..\..\Views\SetPassWord.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox NE_16;
-
- #line default
- #line hidden
-
-
- #line 74 "..\..\..\..\Views\SetPassWord.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox NE_17;
-
- #line default
- #line hidden
-
-
- #line 78 "..\..\..\..\Views\SetPassWord.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox NE_18;
-
- #line default
- #line hidden
-
-
- #line 82 "..\..\..\..\Views\SetPassWord.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox NE_19;
-
- #line default
- #line hidden
-
-
- #line 93 "..\..\..\..\Views\SetPassWord.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox NE_20;
-
- #line default
- #line hidden
-
-
- #line 97 "..\..\..\..\Views\SetPassWord.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox NE_21;
-
- #line default
- #line hidden
-
-
- #line 101 "..\..\..\..\Views\SetPassWord.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox NE_22;
-
- #line default
- #line hidden
-
-
- #line 112 "..\..\..\..\Views\SetPassWord.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox NE_23;
-
- #line default
- #line hidden
-
-
- #line 116 "..\..\..\..\Views\SetPassWord.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox NE_24;
-
- #line default
- #line hidden
-
-
- #line 120 "..\..\..\..\Views\SetPassWord.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox NE_25;
-
- #line default
- #line hidden
-
-
- #line 131 "..\..\..\..\Views\SetPassWord.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.PasswordBox ActiveCode_Password;
-
- #line default
- #line hidden
-
-
- #line 138 "..\..\..\..\Views\SetPassWord.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.PasswordBox FullActiveCode_Password;
-
- #line default
- #line hidden
-
-
- #line 144 "..\..\..\..\Views\SetPassWord.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Button TS_0;
-
- #line default
- #line hidden
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.6.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/头罩视野;component/views/setpassword.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\Views\SetPassWord.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.6.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
- this.NE_7 = ((System.Windows.Controls.TextBox)(target));
- return;
- case 2:
- this.NE_8 = ((System.Windows.Controls.TextBox)(target));
- return;
- case 3:
- this.NE_9 = ((System.Windows.Controls.TextBox)(target));
- return;
- case 4:
- this.NE_14 = ((System.Windows.Controls.TextBox)(target));
- return;
- case 5:
- this.NE_15 = ((System.Windows.Controls.TextBox)(target));
- return;
- case 6:
- this.NE_16 = ((System.Windows.Controls.TextBox)(target));
- return;
- case 7:
- this.NE_17 = ((System.Windows.Controls.TextBox)(target));
- return;
- case 8:
- this.NE_18 = ((System.Windows.Controls.TextBox)(target));
- return;
- case 9:
- this.NE_19 = ((System.Windows.Controls.TextBox)(target));
- return;
- case 10:
- this.NE_20 = ((System.Windows.Controls.TextBox)(target));
- return;
- case 11:
- this.NE_21 = ((System.Windows.Controls.TextBox)(target));
- return;
- case 12:
- this.NE_22 = ((System.Windows.Controls.TextBox)(target));
- return;
- case 13:
- this.NE_23 = ((System.Windows.Controls.TextBox)(target));
- return;
- case 14:
- this.NE_24 = ((System.Windows.Controls.TextBox)(target));
- return;
- case 15:
- this.NE_25 = ((System.Windows.Controls.TextBox)(target));
- return;
- case 16:
- this.ActiveCode_Password = ((System.Windows.Controls.PasswordBox)(target));
- return;
- case 17:
- this.FullActiveCode_Password = ((System.Windows.Controls.PasswordBox)(target));
- return;
- case 18:
- this.TS_0 = ((System.Windows.Controls.Button)(target));
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/头罩视野slove/头罩视野/obj/Debug/net10.0-windows/Views/SetTime.g.i.cs b/头罩视野slove/头罩视野/obj/Debug/net10.0-windows/Views/SetTime.g.i.cs
deleted file mode 100644
index 4d696ab..0000000
--- a/头罩视野slove/头罩视野/obj/Debug/net10.0-windows/Views/SetTime.g.i.cs
+++ /dev/null
@@ -1,261 +0,0 @@
-#pragma checksum "..\..\..\..\Views\SetTime.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "51F0FF48EEB069C6AD0669FE96AF3D2EA6F39299"
-//------------------------------------------------------------------------------
-//
-// 此代码由工具生成。
-// 运行时版本:4.0.30319.42000
-//
-// 对此文件的更改可能会导致不正确的行为,并且如果
-// 重新生成代码,这些更改将会丢失。
-//
-//------------------------------------------------------------------------------
-
-using System;
-using System.Diagnostics;
-using System.Windows;
-using System.Windows.Automation;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-using System.Windows.Controls.Ribbon;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Markup;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Media.Effects;
-using System.Windows.Media.Imaging;
-using System.Windows.Media.Media3D;
-using System.Windows.Media.TextFormatting;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using System.Windows.Shell;
-using 头罩视野.Views;
-
-
-namespace 头罩视野.Views {
-
-
- ///
- /// SetTime
- ///
- public partial class SetTime : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector {
-
-
- #line 39 "..\..\..\..\Views\SetTime.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox NE_0;
-
- #line default
- #line hidden
-
-
- #line 43 "..\..\..\..\Views\SetTime.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox NE_1;
-
- #line default
- #line hidden
-
-
- #line 47 "..\..\..\..\Views\SetTime.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox NE_5;
-
- #line default
- #line hidden
-
-
- #line 51 "..\..\..\..\Views\SetTime.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox NE_4;
-
- #line default
- #line hidden
-
-
- #line 55 "..\..\..\..\Views\SetTime.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox NE_3;
-
- #line default
- #line hidden
-
-
- #line 59 "..\..\..\..\Views\SetTime.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox NE_2;
-
- #line default
- #line hidden
-
-
- #line 63 "..\..\..\..\Views\SetTime.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox NE_6;
-
- #line default
- #line hidden
-
-
- #line 69 "..\..\..\..\Views\SetTime.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox ND_0;
-
- #line default
- #line hidden
-
-
- #line 73 "..\..\..\..\Views\SetTime.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox ND_1;
-
- #line default
- #line hidden
-
-
- #line 77 "..\..\..\..\Views\SetTime.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox ND_5;
-
- #line default
- #line hidden
-
-
- #line 81 "..\..\..\..\Views\SetTime.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox ND_4;
-
- #line default
- #line hidden
-
-
- #line 85 "..\..\..\..\Views\SetTime.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox ND_3;
-
- #line default
- #line hidden
-
-
- #line 89 "..\..\..\..\Views\SetTime.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox ND_2;
-
- #line default
- #line hidden
-
-
- #line 93 "..\..\..\..\Views\SetTime.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox NE_7;
-
- #line default
- #line hidden
-
-
- #line 96 "..\..\..\..\Views\SetTime.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Button TS_0;
-
- #line default
- #line hidden
-
-
- #line 107 "..\..\..\..\Views\SetTime.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Button FK_0;
-
- #line default
- #line hidden
-
- private bool _contentLoaded;
-
- ///
- /// InitializeComponent
- ///
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.6.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/头罩视野;component/views/settime.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\Views\SetTime.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.6.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
- this.NE_0 = ((System.Windows.Controls.TextBox)(target));
-
- #line 40 "..\..\..\..\Views\SetTime.xaml"
- this.NE_0.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.NE_0_TextChanged);
-
- #line default
- #line hidden
- return;
- case 2:
- this.NE_1 = ((System.Windows.Controls.TextBox)(target));
- return;
- case 3:
- this.NE_5 = ((System.Windows.Controls.TextBox)(target));
- return;
- case 4:
- this.NE_4 = ((System.Windows.Controls.TextBox)(target));
- return;
- case 5:
- this.NE_3 = ((System.Windows.Controls.TextBox)(target));
- return;
- case 6:
- this.NE_2 = ((System.Windows.Controls.TextBox)(target));
- return;
- case 7:
- this.NE_6 = ((System.Windows.Controls.TextBox)(target));
- return;
- case 8:
- this.ND_0 = ((System.Windows.Controls.TextBox)(target));
- return;
- case 9:
- this.ND_1 = ((System.Windows.Controls.TextBox)(target));
- return;
- case 10:
- this.ND_5 = ((System.Windows.Controls.TextBox)(target));
- return;
- case 11:
- this.ND_4 = ((System.Windows.Controls.TextBox)(target));
- return;
- case 12:
- this.ND_3 = ((System.Windows.Controls.TextBox)(target));
- return;
- case 13:
- this.ND_2 = ((System.Windows.Controls.TextBox)(target));
- return;
- case 14:
- this.NE_7 = ((System.Windows.Controls.TextBox)(target));
- return;
- case 15:
- this.TS_0 = ((System.Windows.Controls.Button)(target));
- return;
- case 16:
- this.FK_0 = ((System.Windows.Controls.Button)(target));
- return;
- }
- this._contentLoaded = true;
- }
- }
-}
-
diff --git a/头罩视野slove/头罩视野/头罩视野.csproj.user b/头罩视野slove/头罩视野/头罩视野.csproj.user
deleted file mode 100644
index 971d73d..0000000
--- a/头罩视野slove/头罩视野/头罩视野.csproj.user
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
-
-
- Code
-
-
- Code
-
-
- Code
-
-
- Code
-
-
- Code
-
-
- Code
-
-
- Code
-
-
- Code
-
-
-
\ No newline at end of file