87 Commits

Author SHA1 Message Date
xyy
2185fd759e 2026-05-26 16:20:37 +08:00
xyy
88f24a75aa 2026-05-26 15:08:56 +08:00
xyy
7e382a786d 2026-05-26 14:58:15 +08:00
xyy
cb94afb55b 2026-05-26 11:18:47 +08:00
xyy
61e11f0753 2026-05-25 17:52:55 +08:00
xyy
577c4fdea1 2026-05-25 17:35:38 +08:00
xyy
1c6e33c6c8 2026-05-25 17:35:18 +08:00
xyy
23a818a000 2026-05-25 16:42:41 +08:00
xyy
3ce7f880f3 2026-05-25 16:42:06 +08:00
xyy
ece5ab00f7 2026-05-25 16:12:11 +08:00
xyy
70308542c7 2026-05-25 15:20:42 +08:00
xyy
3c309d6470 2026-05-25 13:56:11 +08:00
xyy
d4edefa050 2026-05-23 20:02:51 +08:00
xyy
811b2e07b5 2026-05-23 19:59:49 +08:00
xyy
e6873d0f9c 2026-05-18 15:35:11 +08:00
xyy
b512f40df9 2026-05-18 15:31:52 +08:00
xyy
115aa114c6 2026-05-18 14:20:16 +08:00
xyy
4a436ddcea 2026-05-18 11:48:57 +08:00
xyy
5cd55e4c12 2026-05-18 08:48:44 +08:00
xyy
dd87d50965 2026-05-16 12:37:24 +08:00
xyy
00d86c85aa 2026-05-16 12:29:27 +08:00
xyy
ede5b8c9d1 2026-05-16 10:52:09 +08:00
xyy
74e66f51d3 Revert ""
This reverts commit 9051f3e858.
2026-05-16 10:43:53 +08:00
xyy
87e7b4cf35 Revert ""
This reverts commit d48db94d33.
2026-05-16 10:43:49 +08:00
xyy
d87ac91bd5 Revert ""
This reverts commit ba10a081b9.
2026-05-16 10:43:37 +08:00
xyy
d661211696 Revert ""
This reverts commit cbdaf7a666.
2026-05-16 10:17:13 +08:00
xyy
ba10a081b9 2026-05-14 13:38:20 +08:00
xyy
d48db94d33 2026-05-14 11:37:49 +08:00
xyy
9051f3e858 2026-05-14 09:04:40 +08:00
xyy
cbdaf7a666 2026-05-14 09:01:14 +08:00
1a4691d2cb 内容调整 2026-05-13 17:31:45 +08:00
b6c8582678 关闭程序关闭灯条 2026-05-13 16:03:35 +08:00
xyy
b4e45a519b 2026-05-13 14:16:57 +08:00
ccf046865d test 2026-05-13 14:14:14 +08:00
aa37ab04c7 页面逻辑 2026-05-13 11:27:47 +08:00
5056adf38d 页面逻辑调整 2026-05-12 18:05:29 +08:00
f099f348cc 111 2026-05-12 16:12:31 +08:00
xyy
ca7658e52e 2026-05-12 16:00:30 +08:00
xyy
1608469812 2026-05-12 15:57:45 +08:00
91f01ecb89 页面逻辑的修改 2026-05-12 08:53:02 +08:00
3069ed838c 逻辑值的调整 2026-05-12 08:46:43 +08:00
459e2fdbfd 页面逻辑修改 2026-05-11 19:12:34 +08:00
e45100bd72 页面逻辑调整 2026-05-08 17:49:24 +08:00
e3ef1206a9 页面逻辑调整 2026-05-08 17:17:33 +08:00
d349668966 页面逻辑调整。 2026-05-08 17:00:57 +08:00
xyy
54bba5b55c 2026-05-08 15:32:30 +08:00
xyy
0fb804224f 2026-05-08 14:06:38 +08:00
xyy
5ac2fa7c2f 2026-05-08 14:04:48 +08:00
849b4c29e6 页面内容添加 2026-05-07 19:05:27 +08:00
33ac7ff3a4 页面代码提交 2026-05-07 17:43:34 +08:00
39f5e9ca67 调试 2026-05-07 17:09:01 +08:00
165855c50b 页面逻辑调整 2026-05-07 14:59:45 +08:00
fa35e3d529 页面逻辑的修改 2026-05-07 11:54:20 +08:00
596425d12c 页面逻辑调整 2026-05-07 10:26:39 +08:00
4f03201468 页面逻辑和代码调整。 2026-05-07 09:42:23 +08:00
1e6247904c 页面按钮去除 2026-05-07 09:05:22 +08:00
xyy
70e84d6a41 2026-05-06 20:01:54 +08:00
xyy
51bb15e2a1 2026-05-06 19:52:40 +08:00
xyy
78b6d61b03 2026-05-06 19:51:57 +08:00
32b149cea9 优化 2026-05-06 15:00:54 +08:00
07caa61a39 test 2026-05-06 10:52:53 +08:00
d581fddb76 test 2026-05-06 09:46:25 +08:00
c707b4994e test 2026-05-06 09:21:35 +08:00
3fcb6ea0c5 删除多余代码 2026-05-05 15:44:28 +08:00
63b0e0d863 页面测试 2026-05-05 14:40:58 +08:00
248c2e13ca test 2026-05-05 14:27:47 +08:00
7b9330b6d1 test 2026-05-05 14:18:56 +08:00
061a1cea8c test 2026-05-05 11:14:25 +08:00
bcffd7c247 删除无用代码 2026-05-05 11:02:31 +08:00
8e42aa624e test 2026-05-05 10:32:01 +08:00
56e2a417e9 页面逻辑修改 2026-05-05 10:26:44 +08:00
6da9166aa1 页面逻辑调整 2026-05-05 10:20:03 +08:00
842eb0d67b 页面逻辑调整 2026-05-04 17:42:39 +08:00
35004b2fbb 灯标点逻辑 2026-05-04 10:25:31 +08:00
acbc7f1466 页面逻辑调整 2026-05-04 09:06:59 +08:00
b230d5149e 页面逻辑调整。 2026-04-30 08:46:44 +08:00
556bd21d67 初始化页面调试 2026-04-28 15:08:34 +08:00
8d3efaeb4c 样式 2026-04-28 09:14:00 +08:00
789fabde02 页面代码提交 2026-04-27 18:48:21 +08:00
616d631e42 页面调整 2026-04-27 17:41:15 +08:00
c5920022e8 测试页面 2026-04-27 16:45:06 +08:00
37ce218e22 页面提交 2026-04-25 18:44:18 +08:00
22d65413e6 页面逻辑修改 2026-04-25 18:32:37 +08:00
2d0e35de7c 样式调整 2026-04-25 10:42:04 +08:00
2d91a579a9 基本值调整 2026-04-24 18:07:58 +08:00
613153e664 页面样式 2026-04-24 17:47:59 +08:00
eaefadc2b1 页面数据 2026-04-24 15:43:33 +08:00
39 changed files with 1710 additions and 7155 deletions

4
.gitignore vendored
View File

@@ -76,4 +76,6 @@ Thumbs.db
# 忽略编译生成的 obj 目录(核心!)
obj/
*.g.cs
*.g.i.cs
*.g.i.cs
/头罩视野slove/头罩视野/obj/Debug/net10.0-windows/头罩视野_MarkupCompile.lref
/头罩视野slove/头罩视野/obj/头罩视野.csproj.nuget.g.props

View File

@@ -0,0 +1,10 @@
{
"runtimeOptions": {
"tfm": "net10.0",
"framework": {
"name": "Microsoft.WindowsDesktop.App",
"version": "10.0.7"
},
"rollForward": "latestMinor"
}
}

View File

@@ -2,7 +2,7 @@
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:头罩视野"
StartupUri="MainWindow.xaml">
StartupUri="MainWindow.xaml" Exit="MainForm_FormClosing">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>

View File

@@ -1,14 +1,27 @@
using System.Configuration;
using Modbus.Device;
using System.Configuration;
using System.Data;
using System.Windows;
using .Services.Data;
namespace
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
private IModbusMaster _modbusMaster => ModbusResourceManager.Instance.ModbusMaster;
private void MainForm_FormClosing(object sender, ExitEventArgs e)
{
_modbusMaster.WriteSingleCoil(1, 1, false);
_modbusMaster.WriteSingleCoil(1, 0, false);
// 最后退出程序
System.Windows.Application.Current.Shutdown();
}
}
}

View File

@@ -7,7 +7,7 @@
xmlns:local="clr-namespace:头罩视野"
mc:Ignorable="d"
Background="#FFE6F2FF"
Title="MainWindow" Height="768" Width="1024">
Title="MainWindow" Height="768" Width="1024" WindowStartupLocation="CenterScreen" WindowState="Maximized" >
<Window.Resources>
<Style x:Key="TabButtonStyle" TargetType="Button">
<Setter Property="Background" Value="#3498DB"/>
@@ -46,7 +46,7 @@
Fill="White" Opacity="0.15" Stroke="White" StrokeThickness="1" Grid.ColumnSpan="2"/>
<!-- 主标题区 -->
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Left" Margin="234,0,0,0">
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
<!-- 中文标题 -->
<TextBlock x:Name="TX_1" Text="头罩视野测试仪"
FontSize="48" FontWeight="Bold"

View File

@@ -6,6 +6,7 @@ using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Forms;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
@@ -21,11 +22,12 @@ namespace 头罩视野
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
ModbusHelper.Connect("192.168.1.10", 502); // 连接一次,全局生效
}
// 程序退出
@@ -46,5 +48,7 @@ namespace 头罩视野
//NavigationService.Navigate(new Views.RecordDate()); 页面相互跳转
//private void ShowError(string msg) => MessageBox.Show(msg, "错误", MessageBoxButton.OK, MessageBoxImage.Error);
}
}

View File

@@ -1,5 +1,5 @@
using Modbus.Device;
using Microsoft.Win32;
using Microsoft.Win32;
using Modbus.Device;
using System;
using System.Collections.Generic;
using System.IO;
@@ -7,6 +7,7 @@ using System.Net.Sockets;
using System.Text;
using System.Windows;
using .Services.Data;
using static .TestDataStore;
public static class ModbusHelper
{
@@ -65,342 +66,4 @@ public static class ModbusHelper
MessageBox.Show("保存成功!\n" + filePath);
}
/// <summary>
/// 计算单眼视野面积
/// </summary>
/// <param name="groupData">20组数据每组72个通道</param>
/// <param name="threshold">有效亮度阈值如80</param>
/// <param name="standardTotalArea">标准视野面积如120</param>
/// <returns>计算好的面积</returns>
///
public static double CalculateEyeArea(List<double[]> groupData, double threshold, double standardArea)
{
double[] avg = new double[72];
for (int c = 0; c < 72; 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 / 72.0) * standardArea;
}
//计算单眼面积调用的方法
//double leftArea = CalculateEyeArea(
// leftEye20Groups, // 左眼20组数据
// 80, // 阈值
// 120 // 标准面积
//);
//double rightArea = .CalculateEyeArea(
// rightEye20Groups, // 右眼20组数据
// 80, // 阈值
// 120 // 标准面积
//);
//计算双目视野面积
/// <summary>
/// 计算双目视野面积(左右眼同时可见)
/// </summary>
public static double CalcBinocularArea(
List<double[]> leftGroups,
List<double[]> rightGroups,
double threshold,
double standardArea)
{
// 1. 左眼平均数据
double[] leftAvg = new double[72];
for (int i = 0; i < 72; i++)
{
double sum = 0;
foreach (var g in leftGroups) sum += g[i];
leftAvg[i] = sum / leftGroups.Count;
}
// 2. 右眼平均数据
double[] rightAvg = new double[72];
for (int i = 0; i < 72; i++)
{
double sum = 0;
foreach (var g in rightGroups) sum += g[i];
rightAvg[i] = sum / rightGroups.Count;
}
// 3. 双目同时有效点数(左右都亮才算)
int biValid = 0;
for (int i = 0; i < 72; i++)
{
if (leftAvg[i] >= threshold && rightAvg[i] >= threshold)
biValid++;
}
// 4. 双目视野面积
return (biValid / 72.0) * standardArea;
}
//调用公式
// 你从Modbus拿到的20组数据
//List<double[]> left20Groups = ...;
//List<double[]> right20Groups = ...;
//double threshold = 80;
//double standardArea = 120;
//// 左眼
//double left = VisionCalculator.CalcEyeArea(left20Groups, threshold, standardArea);
//// 右眼
//double right = VisionCalculator.CalcEyeArea(right20Groups, threshold, standardArea);
//// 双目视野面积
//double binocular = VisionCalculator.CalcBinocularArea(left20Groups, right20Groups, threshold, standardArea);
//// 总视野面积
//double total = left + right - binocular;
//下方视野角度
/// <summary>
/// GB2890-2022 计算 单眼下方视野角度
/// eyeData单眼72路平均数据数组
/// threshold有效亮度阈值
/// </summary>
public static double CalcLowerAngle(double[] eyeData, double threshold = 10)
{
// 总72点 每点5°
int totalPoint = 72;
double perAngle = 5;
// 国标最下方起始点位第54号开始为正下方
int startDownIndex = 54;
int validCount = 0;
// 从最下方向上 连续检测有效点
for (int i = 0; i < 36; i++)
{
int idx = (startDownIndex + i) % totalPoint;
if (eyeData[idx] >= threshold)
{
validCount++;
}
else
{
// 断开直接停止
break;
}
}
// 下方视野角度 = 有效点数 × 单步角度
return validCount * perAngle;
}
/// <summary>
/// 计算单眼72点通道平均值数组
/// </summary>
/// <param name="eyeGroups">多组采样数据集合</param>
/// <returns>72点通道平均值数组</returns>
private static double[] GetEyeAvgArray(List<double[]> eyeGroups)
{
if (eyeGroups == null || eyeGroups.Count == 0)
return new double[72]; // 无数据时返回全0数组
double[] avg = new double[72];
for (int i = 0; i < 72; i++)
{
double sum = 0;
foreach (var group in eyeGroups)
{
sum += group[i];
}
avg[i] = sum / eyeGroups.Count;
}
return avg;
}
//下方视野计算方法
////1. 先拿到左右眼 72点平均数组
//double[] leftAvg = GetLeftEyeAvgArray();
//double[] rightAvg = GetRightEyeAvgArray();
////2. 分别算下方角度
//double leftLowerAngle = CalcLowerAngle(leftAvg, 10);
//double rightLowerAngle = CalcLowerAngle(rightAvg, 10);
////3. 最终报告取值(国标取双眼较小值)
//double finalLowerAngle = Math.Min(leftLowerAngle, rightLowerAngle);
//bool lowerAngleOk = finalLowerAngle >= 35;
//空白视野面积计算
//空白视野面积 = 标准视野总面积 实测总视野面积
//总视野面积 = 左眼面积 + 右眼面积 双目重叠面积
// 前面已经算出来的
//double leftArea = ...;
//double rightArea = ...;
//double binocularArea = ...;
//// 总视野
//double totalVisionArea = leftArea + rightArea - binocularArea;
//// 标准总面积(设备固定值,比如 120
//double standardTotalArea = 120;
//// 空白视野面积
//double blankArea = standardTotalArea - totalVisionArea;
//视野保存率
//double totalSaveRate = (总视野面积 / 标准总视野面积) * 100;
public static class VisionCalculator
{
/// <summary>
/// 计算视野保存率
/// </summary>
/// <param name="actualArea">实测面积</param>
/// <param name="standardArea">标准面积</param>
/// <returns>保存率 %</returns>
public static double CalculateVisionSaveRate(double actualArea, double standardArea)
{
if (standardArea == 0) return 0;
return (actualArea / standardArea) * 100;
}
}
// 空头模无面罩标定的标准面积GB2890-2022
//public static double StandardSingleEye = 5200;
//// 双眼总标准面积(左+右)
//public static double StandardTotalEye = 10400;
//// 双目重叠标准面积
////public static double StandardBinocular = 4200;
//// 下方视野标准角度
//public static double StandardLowerAngle = 75;
//===== 1. 你预先标定的 空模标准面积 =====
// 单眼标准、总标准(左+右)、双目重叠标准
public static double StandardLeftEye = 5180;
public static double StandardRightEye = 5180;
public static double StandardTotal = 10360;
public static double StandardBinocular = 4150;
//===== 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);
}
/// <summary>
/// GB2890-2022 自动获取 总视野/双目视野 校正系数γ
/// </summary>
/// <param name="ratio">实测面积/标准面积 比值(0~1)</param>
/// <returns>校正系数 γ</returns>
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;
}
internal static double CalculateEyeArea(List<dynamic> leftEyeDataList, int v1, int v2)
{
throw new NotImplementedException();
}
internal static double CalcBinocularArea(List<dynamic> leftEyeDataList, List<dynamic> rightEyeDataList, int v1, int v2)
{
throw new NotImplementedException();
}
internal static double[] GetEyeAvgArray(List<dynamic> leftEyeDataList)
{
throw new NotImplementedException();
}
// 你算出来的实际面积
//double left = 4250;
//double right = 4320;
//double bin = 2860;
//// 一键算出 国标保存率
//var result = CalcVisionRate(left, right, bin);
//double 总视野保存率 = result.totalRate;
//double 双目视野保存率 = result.binRate;
}
//// 1. 总视野保存率
//double gammaTotal = 查国标图D.4的总视野γ;
//double totalRate = gammaTotal * totalArea / GlobalData.StandardTotalEye * 100;
// // 2. 双目视野保存率
// double gammaBinoc = 查国标图D.4的双目视野γ;
//double binocRate = gammaBinoc * binocArea / GlobalData.StandardBinocular * 100;
//// 3. 下方视野(直接比角度,不用面积)
//bool lowerPass = lowerAngle >= 35;
// 四、关键澄清(你之前问的)
//下方视野:国标是角度(°),不是面积
//按左右眼视野曲线下方交点位置直接读出角度
//合格≥35°
//总视野 = 左眼 + 右眼(国标明确)
//双目视野 = 左右眼重叠部分(单独算面积)
//五、最简总结(国标一句话)
//总视野保存率 =γ ×(左 + 右实测面积))/ 标准总面积 ×100%
//双目视野保存率 =γ × 重叠实测面积)/ 标准重叠面积 ×100%
//下方视野:直接看角度 ≥35°
//}
}

View File

@@ -0,0 +1,111 @@
using System;
using System.Collections.Generic;
using System.Linq;
namespace .Services
{
public static class GetArea
{
// 灯条参数
public const int totalLights = 81; // 每条灯条81个灯
public static double verticalAngleStep = 90.0 / (totalLights - 1); // 1.125°
public static double CalculateBottomViewAngle(int[] lightData, List<(int m, int n)> lightPositions)
{
int bottomLampCount = 0;
for (int i = 0; i < lightData.Length && i < lightPositions.Count; i++)
{
if (lightPositions[i].n == 1 && lightData[i] == 1)
bottomLampCount++;
}
return (double)bottomLampCount / 81 * 90.0;
}
/// <summary>
/// 根据径向灯条0/1数据计算边界角度极角
/// </summary>
/// <param name="lightStates">从上到下的灯条状态索引0=顶部0°索引80=底部90°</param>
public static double ComputeBoundaryAngle(int[] lightStates)
{
if (lightStates == null || lightStates.Length != totalLights) return 0;
int firstZero = -1;
for (int i = 0; i < totalLights; i++)
{
if (lightStates[i] == 0)
{
firstZero = i;
break;
}
}
if (firstZero == -1) return 90.0; // 全亮
if (firstZero == 0) return 0.0; // 顶部即被遮
// 边界角度 = 上一个灯条的结束角 = (firstZero) * verticalAngleStep
return firstZero * verticalAngleStep;
}
/// <summary>
/// 极坐标梯形法积分面积(半径数组单位:度,步长单位:度)
/// </summary>
public static double IntegrateArea(double[] radiiDeg, double deltaThetaDeg)
{
if (radiiDeg == null || radiiDeg.Length < 2) return 0;
double deltaRad = deltaThetaDeg * Math.PI / 180.0;
double sum = 0.0;
for (int i = 0; i < radiiDeg.Length - 1; i++)
{
double r1 = radiiDeg[i];
double r2 = radiiDeg[i + 1];
double avgRSq = (r1 * r1 + r2 * r2) / 2.0;
sum += avgRSq * deltaRad;
}
return 0.5 * sum;
}
/// <summary>
/// 根据左右眼边界半径数组,计算总视野(并集)和双目视野(交集)面积
/// </summary>
public static (double totalArea, double biArea) ComputeTotalAndBinocularArea(double[] leftRadii, double[] rightRadii, double deltaThetaDeg)
{
int len = Math.Min(leftRadii.Length, rightRadii.Length);
double[] totalRadii = new double[len];
double[] biRadii = new double[len];
for (int i = 0; i < len; i++)
{
totalRadii[i] = Math.Max(leftRadii[i], rightRadii[i]);
biRadii[i] = Math.Min(leftRadii[i], rightRadii[i]);
}
double totalArea = IntegrateArea(totalRadii, deltaThetaDeg);
double biArea = IntegrateArea(biRadii, deltaThetaDeg);
return (totalArea, biArea);
}
/// <summary>
/// 保存率计算公式(带γ校正)
/// </summary>
public static double ComputePreservation(double measuredArea, double standardArea, double gamma)
{
if (standardArea <= 0) return 0;
return gamma * (measuredArea / standardArea) * 100.0;
}
/// <summary>
/// 根据面积比获取γ校正系数GB 2890-2022 图D.4
/// </summary>
public static double GetGammaByRatio(double ratio)
{
double[] x = { 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0 };
double[] y = { 1.22, 1.18, 1.14, 1.10, 1.06, 1.03, 1.02, 1.01, 1.00 };
if (ratio <= x[0]) return y[0];
if (ratio >= x.Last()) return y.Last();
for (int i = 0; i < x.Length - 1; i++)
{
if (ratio >= x[i] && ratio <= x[i + 1])
{
double t = (ratio - x[i]) / (x[i + 1] - x[i]);
return y[i] + t * (y[i + 1] - y[i]);
}
}
return 1.0;
}
}
}

View File

@@ -0,0 +1,7 @@
namespace .Services
{
internal class Matrix<T>
{
public static object Build { get; internal set; }
}
}

View File

@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Text;
using static OfficeOpenXml.ExcelErrorValue;
namespace
{
@@ -18,6 +19,11 @@ namespace 头罩视野
//public double BlankArea { get; set; }
public double LowerVision { get; set; }
public double VisionRetentionRate { get; set; }
public double totalVisionArea { get; set; }
public double GetVisionRetentionRate { get; set; }
}
@@ -49,6 +55,8 @@ namespace 头罩视野
public static class GlobalData
{
// 要传的所有数据放这里
public static string CurrentMode{ get; set; } = "5";
public static string JudgmentalPerspective { get; set; } = "空白测试";
public static double LeftEyeArea { get; set; }
public static double RightEyeArea { get; set; }
public static double TotalEyeArea { get; set; }
@@ -56,6 +64,12 @@ namespace 头罩视野
public static double BlankArea { get; set; }
public static double LowerVision { get; set; }//下方视野角度
public static double VisionRetentionRate { get; set; }
public static double zsymjValue { get; set; }
public static double kbsmsyArea { get; set; }
//public static string LampValueLeft { get; set; } = "左眼开";
//public static string LampValueRight { get; set; } = "右眼开";
}
}
}

View File

@@ -3,247 +3,247 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:hc="https://handyorg.github.io/handycontrol"
xmlns:local="clr-namespace:头罩视野.Views"
mc:Ignorable="d"
Background="#F5F7FA"
d:DesignHeight="768" d:DesignWidth="1024"
Title="PageTest" Loaded="Page_Loaded" Unloaded="Page_Unloaded" >
Background="#F0F2F5"
d:DesignHeight="768" d:DesignWidth="1024"
Title="PageTest" Loaded="Page_Loaded" Unloaded="Page_Unloaded">
<Page.Resources>
<!-- 全局字体 -->
<FontFamily x:Key="DefaultFont">Segoe UI, Microsoft YaHei</FontFamily>
<!-- 标题样式 -->
<Style x:Key="MainTitleStyle" TargetType="TextBlock">
<Setter Property="FontSize" Value="28"/>
<Setter Property="FontWeight" Value="Bold"/>
<Setter Property="FontFamily" Value="{StaticResource DefaultFont}"/>
<Setter Property="FontSize" Value="26"/>
<Setter Property="FontWeight" Value="SemiBold"/>
<Setter Property="Foreground" Value="#2C3E50"/>
<Setter Property="HorizontalAlignment" Value="Center"/>
<Setter Property="Margin" Value="0,15,0,15"/>
</Style>
<!-- 标签样式(宽度减少) -->
<Style x:Key="LabelStyle" TargetType="TextBlock">
<Setter Property="FontSize" Value="16"/>
<Setter Property="FontFamily" Value="{StaticResource DefaultFont}"/>
<Setter Property="FontSize" Value="15"/>
<Setter Property="Foreground" Value="#5D6D7E"/>
<Setter Property="VerticalAlignment" Value="Center"/>
<Setter Property="Margin" Value="0,0,10,0"/>
<Setter Property="Margin" Value="0,0,10,0"/>
<Setter Property="Width" Value="100"/>
<Setter Property="Margin" Value="0,0,8,0"/>
<Setter Property="Width" Value="90"/>
</Style>
<!-- 单位样式 -->
<Style x:Key="UnitStyle" TargetType="TextBlock">
<Setter Property="FontSize" Value="14"/>
<Setter Property="FontFamily" Value="{StaticResource DefaultFont}"/>
<Setter Property="FontSize" Value="13"/>
<Setter Property="Foreground" Value="#7F8C8D"/>
<Setter Property="VerticalAlignment" Value="Center"/>
<Setter Property="Margin" Value="10,0,0,0"/>
<Setter Property="Margin" Value="5,0,0,0"/>
<Setter Property="FontStyle" Value="Italic"/>
</Style>
<!-- 文本框样式(宽度减少) -->
<Style x:Key="TextBoxStyle" TargetType="TextBox">
<Setter Property="Height" Value="40"/>
<Setter Property="Width" Value="200"/>
<Setter Property="FontSize" Value="18"/>
<Setter Property="Height" Value="32"/>
<Setter Property="Width" Value="140"/>
<Setter Property="FontSize" Value="15"/>
<Setter Property="TextAlignment" Value="Center"/>
<Setter Property="VerticalContentAlignment" Value="Center"/>
<Setter Property="BorderBrush" Value="#D5D8DC"/>
<Setter Property="BorderThickness" Value="2"/>
<Setter Property="BorderBrush" Value="#BDC3C7"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="Background" Value="#FFFFFF"/>
<Setter Property="Foreground" Value="#2C3E50"/>
<Setter Property="Padding" Value="10,5"/>
<Setter Property="Padding" Value="5,2"/>
<Style.Triggers>
<Trigger Property="IsFocused" Value="True">
<Setter Property="BorderBrush" Value="#3498DB"/>
</Trigger>
</Style.Triggers>
</Style>
<Style x:Key="TabButtonStyle" TargetType="Button">
<Setter Property="Background" Value="#3498DB"/>
<Setter Property="FontSize" Value="20"/>
<Setter Property="Foreground" Value="#fff"/>
<Setter Property="Height" Value="70"/>
<Setter Property="FontWeight" Value="Bold"/>
<Setter Property="BorderBrush" Value="#fff"/>
</Style>
<!--<Style x:Key="ActButtonStyle" TargetType="Button">
<Setter Property="Background" Value="#8AB1EB"/>
<Setter Property="FontSize" Value="18"/>
<Setter Property="Foreground" Value="#fff"/>
<Setter Property="Height" Value="60"/>
<Setter Property="Width" Value="120"/>
</Style>-->
<!-- 卡片样式 -->
<Style x:Key="CardStyle" TargetType="Border">
<Setter Property="Background" Value="#FFFFFF"/>
<Setter Property="CornerRadius" Value="8"/>
<Setter Property="Effect">
<Setter.Value>
<DropShadowEffect BlurRadius="12" ShadowDepth="2" Opacity="0.1" Color="#000000"/>
</Setter.Value>
</Setter>
</Style>
<!-- 底部导航按钮样式 -->
<Style x:Key="TabButtonStyle" TargetType="Button">
<Setter Property="Background" Value="#2C3E50"/>
<Setter Property="FontFamily" Value="{StaticResource DefaultFont}"/>
<Setter Property="FontSize" Value="16"/>
<Setter Property="Foreground" Value="#ECF0F1"/>
<Setter Property="Height" Value="48"/>
<Setter Property="FontWeight" Value="SemiBold"/>
<Setter Property="BorderBrush" Value="#34495E"/>
<Setter Property="BorderThickness" Value="0,1,0,0"/>
<Setter Property="Cursor" Value="Hand"/>
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Background" Value="#34495E"/>
<Setter Property="Foreground" Value="#FFFFFF"/>
</Trigger>
</Style.Triggers>
</Style>
<!-- 控制按钮样式 -->
<Style x:Key="CtrlButtonStyle" TargetType="Button">
<Setter Property="Height" Value="36"/>
<Setter Property="Width" Value="100"/>
<Setter Property="FontSize" Value="14"/>
<Setter Property="FontWeight" Value="SemiBold"/>
<Setter Property="Foreground" Value="White"/>
<Setter Property="Cursor" Value="Hand"/>
<Setter Property="BorderThickness" Value="0"/>
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Opacity" Value="0.85"/>
</Trigger>
</Style.Triggers>
</Style>
</Page.Resources>
<Grid Margin="10,0,0,0 ">
<Grid Margin="20,0,20,10">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto" MinHeight="227"/>
<RowDefinition/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<!-- 顶部标题 -->
<!-- 顶部标题 -->
<Grid Grid.Row="0" Margin="0,0,0,10">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<!-- 测试界面标题 -->
<TextBlock Grid.Column="2" Style="{StaticResource MainTitleStyle}" Text="测试界面"
HorizontalAlignment="Center" VerticalAlignment="Center"/>
<TextBlock Style="{StaticResource MainTitleStyle}" Text="头罩视野测试系统" HorizontalAlignment="Center"/>
</Grid>
<!-- 第二行:参数显示区 -->
<Grid Grid.Row="1" Margin="0,0,0,10">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<Border Grid.Row="0" Background="#FFFFFF" CornerRadius="10"
BorderBrush="#E5E8E8" BorderThickness="1"
Padding="25,20" Margin="0,0,0,25" >
<StackPanel Cursor="" Grid.Column="0">
<StackPanel Orientation="Horizontal" Margin="0,0,0,15">
<!-- 参数区:使用两行布局,避免过宽 -->
<Border Grid.Row="1" Style="{StaticResource CardStyle}" Padding="15,12" Margin="0,0,0,20">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<!-- 第一行参数:分辨角度、当前角度 -->
<StackPanel Grid.Row="0" Grid.Column="0" Orientation="Horizontal" Margin="0,5,0,5">
<StackPanel Orientation="Horizontal" Margin="0,0,20,0">
<TextBlock Text="分辨角度:" Style="{StaticResource LabelStyle}"/>
<TextBox Name="fbspeed" Text="" Style="{StaticResource TextBoxStyle}" GotFocus="fbspeed_GotFocus"/>
<TextBox Name="fbspeed" Style="{StaticResource TextBoxStyle}" GotFocus="fbspeed_GotFocus"/>
<TextBlock Text="°" Style="{StaticResource UnitStyle}"/>
</StackPanel>
<StackPanel Orientation="Horizontal">
<TextBlock Text="当前角度:" Style="{StaticResource LabelStyle}"/>
<TextBox Name="dqangle" Text="" Style="{StaticResource TextBoxStyle}" GotFocus="dqangle_GotFocus"/>
<TextBox Name="dqangle" Style="{StaticResource TextBoxStyle}" GotFocus="dqangle_GotFocus"/>
<TextBlock Text="°" Style="{StaticResource UnitStyle}"/>
</StackPanel>
</StackPanel>
<StackPanel Orientation="Horizontal" Margin="0,15,0,0">
<TextBlock Text="转动速度:" Style="{StaticResource LabelStyle}"/>
<TextBox Name="zdangle" Text="" Style="{StaticResource TextBoxStyle}" GotFocus="zdangle_GotFocus"/>
<TextBlock Text="°/S" Style="{StaticResource UnitStyle}"/>
<!-- 第二行参数:转动速度(单独一行) -->
<StackPanel Grid.Row="1" Grid.Column="0" Orientation="Horizontal" Margin="0,5,0,5">
<TextBlock Text="转动速度:" Style="{StaticResource LabelStyle}"/>
<TextBox Name="zdangle" Style="{StaticResource TextBoxStyle}" GotFocus="zdangle_GotFocus"/>
<TextBlock Text="°/s" Style="{StaticResource UnitStyle}"/>
</StackPanel>
<!-- 右侧:模式切换和指示灯,垂直居中 -->
<StackPanel Grid.Row="0" Grid.RowSpan="2" Grid.Column="1"
Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="10,0,0,0">
<ToggleButton x:Name="tbTest" FontSize="13" Width="90" Height="28"
Background="#E0E0E0" Margin="0,0,12,0"
Checked="TbTest_Checked" Unchecked="TbTest_Unchecked">
<ToggleButton.Template>
<ControlTemplate TargetType="ToggleButton">
<Border x:Name="border" CornerRadius="4" Background="{TemplateBinding Background}" BorderThickness="0">
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsChecked" Value="True">
<Setter TargetName="border" Property="Background" Value="#3A6B4B"/>
<Setter Property="Foreground" Value="White"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</ToggleButton.Template>
空白测试
</ToggleButton>
<TextBlock Text="当前模式:" VerticalAlignment="Center" Margin="0,0,6,0" FontSize="13" Foreground="#5D6D7E"/>
<TextBlock x:Name="当前模式" Text="空白测试" VerticalAlignment="Center" FontSize="13" FontWeight="Bold" Foreground="#3A6B4B" Margin="0,0,15,0"/>
<StackPanel Orientation="Horizontal" VerticalAlignment="Center">
<Ellipse x:Name="led0" Width="18" Height="18" Fill="LightGray" Stroke="#BDC3C7" Margin="3,0"/>
<Ellipse x:Name="led1" Width="18" Height="18" Fill="LightGray" Stroke="#BDC3C7" Margin="3,0"/>
</StackPanel>
</StackPanel>
</Border>
<Button Grid.Column="2" Content="打印" Margin="356,11,0,0" VerticalAlignment="Top" Height="42" Width="75" Click="Button_Click_Print" FontSize="18" RenderTransformOrigin="0.330,-0.63" HorizontalAlignment="Left"/>
<ToggleButton x:Name="tbTest"
FontSize="18"
Width="111" Height="40"
Background="LightGray"
Checked="TbTest_Checked"
Unchecked="TbTest_Unchecked" Grid.Column="1" HorizontalAlignment="Left" Margin="131,8,0,0" VerticalAlignment="Top" Grid.ColumnSpan="2">
<!-- 关键用Style去掉边框 -->
<ToggleButton.Template>
<ControlTemplate TargetType="ToggleButton">
<!-- 自定义外观去掉所有默认hover效果 -->
<Border x:Name="border"
CornerRadius="3"
Background="{TemplateBinding Background}"
BorderThickness="0">
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
</Border>
</Grid>
</Border>
<!-- 去掉默认的hover/点击效果触发器 -->
<ControlTemplate.Triggers>
<Trigger Property="IsChecked" Value="True">
<Setter TargetName="border" Property="Background" Value="LightGray"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</ToggleButton.Template>
试样测试
</ToggleButton>
<TextBlock x:Name="当前模式" Grid.Column="1" HorizontalAlignment="Left" Margin="39,16,0,0" TextWrapping="Wrap" VerticalAlignment="Top" FontSize="18" RenderTransformOrigin="-6.776,-2.381" Width="116"><Run Text="当前模式"/><Run Language="zh-cn" Text=""/></TextBlock>
<StackPanel Grid.Column="2" Orientation="Horizontal" HorizontalAlignment="Left" Margin="121,48,0,53" Width="181">
<!-- 左灯BL_0 (M-104) -->
<Ellipse x:Name="led0"
Width="50" Height="50"
Margin="10"
Fill="LightGray"
Stroke="LightGray" StrokeThickness="1" >
<Ellipse.Effect>
<DropShadowEffect Color="LightGray" ShadowDepth="2" BlurRadius="5"/>
</Ellipse.Effect>
</Ellipse>
<!-- 右灯BL_1 (M-105) -->
<Ellipse x:Name="led1"
Width="50" Height="50"
Margin="30"
Fill="LightGray"
Stroke="LightGray" StrokeThickness="1">
<Ellipse.Effect>
<DropShadowEffect Color="LightGray" ShadowDepth="2" BlurRadius="5"/>
</Ellipse.Effect>
</Ellipse>
</StackPanel>
</Grid>
<!-- 第三行:视野数据区 -->
<Grid Grid.Row="2" Margin="0,0,0,15">
<!-- 数据区:两列卡片 -->
<Grid Grid.Row="2" Margin="0,0,0,20">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Border Grid.Row="0" Grid.Column="0" Background="#FFFFFF" CornerRadius="10"
BorderBrush="#E5E8E8" BorderThickness="1"
Padding="25,20" Margin="0,0,0,15" >
<StackPanel Cursor="">
<!-- 左侧卡片 -->
<Border Grid.Column="0" Style="{StaticResource CardStyle}" Padding="20,15" Margin="0,0,10,0">
<StackPanel>
<StackPanel Orientation="Horizontal" Margin="0,0,0,15">
<TextBlock Text="左目视野面积:" Style="{StaticResource LabelStyle}" />
<TextBox Name="zmsyarea" Text="" Style="{StaticResource TextBoxStyle}" />
<TextBlock Text="左目视野面积:" Style="{StaticResource LabelStyle}" Width="110"/>
<TextBox Name="zmsyarea" Style="{StaticResource TextBoxStyle}" Width="150"/>
<TextBlock Text="cm²" Style="{StaticResource UnitStyle}"/>
</StackPanel>
<StackPanel Orientation="Horizontal" Margin="0,0,0,15">
<TextBlock Text="双目视野面积:" Style="{StaticResource LabelStyle}" Width="110"/>
<TextBox Name="smsyarea" Style="{StaticResource TextBoxStyle}" Width="150"/>
<TextBlock Text="cm²" Style="{StaticResource UnitStyle}"/>
</StackPanel>
<StackPanel Orientation="Horizontal">
<TextBlock Text="双目视野面积:" Style="{StaticResource LabelStyle}"/>
<TextBox Name="smsyarea" Text="" Style="{StaticResource TextBoxStyle}"/>
<TextBlock Text="视野面积:" Style="{StaticResource LabelStyle}" Width="110"/>
<TextBox Name="zsyareaNum" Style="{StaticResource TextBoxStyle}" Width="150"/>
<TextBlock Text="cm²" Style="{StaticResource UnitStyle}"/>
</StackPanel>
<StackPanel Orientation="Horizontal" Margin="0,15,0,0">
<TextBlock Text="空白视野面积:" Style="{StaticResource LabelStyle}"/>
<TextBox Name="kbsyarea" Text="" Style="{StaticResource TextBoxStyle}"/>
<TextBlock Text="cm²" Style="{StaticResource UnitStyle}"/>
</StackPanel>
</StackPanel>
</Border>
<Border Grid.Column="1" Background="#FFFFFF" CornerRadius="10"
BorderBrush="#E5E8E8" BorderThickness="1"
Padding="25,20" Margin="31,0,19,15" >
<StackPanel Cursor="">
<!-- 右侧卡片 -->
<Border Grid.Column="1" Style="{StaticResource CardStyle}" Padding="20,15" Margin="10,0,0,0">
<StackPanel>
<StackPanel Orientation="Horizontal" Margin="0,0,0,15">
<TextBlock Text="右目视野面积:" Style="{StaticResource LabelStyle}"/>
<TextBox Name="ymsyarea" Text="" Style="{StaticResource TextBoxStyle}"/>
<TextBlock Text="右目视野面积:" Style="{StaticResource LabelStyle}" Width="110"/>
<TextBox Name="ymsyarea" Style="{StaticResource TextBoxStyle}" Width="150"/>
<TextBlock Text="cm²" Style="{StaticResource UnitStyle}"/>
</StackPanel>
<StackPanel Orientation="Horizontal">
<TextBlock Text="下方视野:" Style="{StaticResource LabelStyle}"/>
<TextBox Name="xfsyarea" Text="" Style="{StaticResource TextBoxStyle}"/>
<StackPanel Orientation="Horizontal" Margin="0,0,0,15">
<TextBlock Text="下方视野:" Style="{StaticResource LabelStyle}" Width="110"/>
<TextBox Name="xfsyarea" Style="{StaticResource TextBoxStyle}" Width="150"/>
<TextBlock Text="°" Style="{StaticResource UnitStyle}"/>
</StackPanel>
<StackPanel Orientation="Horizontal" Margin="0,15,0,0">
<TextBlock Text="视野保存率:" Style="{StaticResource LabelStyle}"/>
<TextBox Name="sybhl" Text="" Style="{StaticResource TextBoxStyle}"/>
<StackPanel Orientation="Horizontal" Margin="0,0,0,15">
<TextBlock Text="双目视野保存率:" Style="{StaticResource LabelStyle}" Width="110"/>
<TextBox Name="sybhl" Style="{StaticResource TextBoxStyle}" Width="150"/>
<TextBlock Text="%" Style="{StaticResource UnitStyle}"/>
</StackPanel>
<StackPanel Orientation="Horizontal">
<TextBlock Text="总视野保存率:" Style="{StaticResource LabelStyle}" Width="110"/>
<TextBox Name="zsysaveSum" Style="{StaticResource TextBoxStyle}" Width="150"/>
<TextBlock Text="%" Style="{StaticResource UnitStyle}"/>
</StackPanel>
</StackPanel>
</Border>
</Grid>
<!-- 第四行:控制按钮区 -->
<Grid Grid.Row="3" Margin="0,10,0,25">
<!-- 控制按钮区 -->
<Grid Grid.Row="3" Margin="0,0,0,20">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
@@ -257,52 +257,37 @@
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<!-- 复位 -->
<Button Grid.Row="0" Grid.Column="0" Grid.RowSpan="2" Content="复位" FontSize="18"
Width="120" Height="50" Background="#FF87CEFA" Foreground="White" Margin="5" Click="Button_Click_Reset" />
<!-- 左眼开 -->
<Button Grid.Row="0" Name="btnLeft" Grid.Column="1" Content="左眼开" FontSize="18"
Width="120" Height="50" Background="#FF87CEFA" Foreground="White" Margin="5" Click="Button_Click_left" />
<!-- 反转 -->
<Button Grid.Row="0" Grid.Column="2" Content="转" FontSize="18"
Width="120" Height="50" Background="#FF87CEFA" Foreground="White" Margin="5" PreviewMouseLeftButtonDown="Button_Click_ResDown"
PreviewMouseLeftButtonUp="Button_Click_ResUp" />
<!-- 右眼开 -->
<Button Grid.Row="1" Name="btnRight" Grid.Column="1" Content="右眼开" FontSize="18"
Width="120" Height="50" Background="#FF87CEFA" Foreground="White" Margin="5" Click="Button_Click_Right" />
<!-- 正转 -->
<Button Grid.Row="1" Grid.Column="2" Content="正转" FontSize="18"
Width="120" Height="50" Background="#FF87CEFA" Foreground="White" Margin="5" PreviewMouseLeftButtonDown="Button_Click_ForDown"
PreviewMouseLeftButtonUp="Button_Click_ForUp" />
<!-- 测试 -->
<Button Grid.Row="0" Grid.Column="4" Name="ButtonTest" Grid.RowSpan="2" Content="测试" FontSize="18"
Width="120" Height="50" Background="LightGray" Foreground="White" Margin="5" Click="Button_Click_Test"/>
<!-- 停止 -->
<Button Grid.Row="0" Grid.Column="5" Grid.RowSpan="2" Content="停止" FontSize="18"
Width="120" Height="50" Background="red" Foreground="White" Margin="5" Click="Button_Click_Stop" />
<Button Grid.Row="0" Grid.Column="0" Grid.RowSpan="2" Content="复位"
Style="{StaticResource CtrlButtonStyle}" Background="#4A6D8C" Margin="5" Click="Button_Click_Reset"/>
<Button Grid.Row="0" Name="btnLeft" Grid.Column="1" Content="左眼开"
Style="{StaticResource CtrlButtonStyle}" Background="#4A6D8C" Margin="5" Click="Button_Click_left"/>
<Button Grid.Row="0" Grid.Column="2" Content="反转"
Style="{StaticResource CtrlButtonStyle}" Background="#4A6D8C" Margin="5"
PreviewMouseLeftButtonDown="Button_Click_ResDown" PreviewMouseLeftButtonUp="Button_Click_ResUp"/>
<Button Grid.Row="1" Name="btnRight" Grid.Column="1" Content="右眼开"
Style="{StaticResource CtrlButtonStyle}" Background="#4A6D8C" Margin="5" Click="Button_Click_Right"/>
<Button Grid.Row="1" Grid.Column="2" Content="转"
Style="{StaticResource CtrlButtonStyle}" Background="#4A6D8C" Margin="5"
PreviewMouseLeftButtonDown="Button_Click_ForDown" PreviewMouseLeftButtonUp="Button_Click_ForUp"/>
<Button Grid.Row="0" Grid.Column="4" Name="ButtonTest" Grid.RowSpan="2" Content="测试"
Style="{StaticResource CtrlButtonStyle}" Background="#27AE60" Margin="5" Click="Button_Click_Test"/>
<Button Grid.Row="0" Grid.Column="5" Grid.RowSpan="2" Content="停止"
Style="{StaticResource CtrlButtonStyle}" Background="#E74C3C" Margin="5" Click="Button_Click_Stop"/>
</Grid>
<!-- 弹性空间 -->
<Grid Grid.Row="4" Background="Transparent"/>
<!-- 底部导航栏 -->
<Grid Grid.Row="4" Margin="0,0,0,10">
<Grid Grid.Row="5" VerticalAlignment="Bottom">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Button Style="{StaticResource TabButtonStyle}" Grid.Column="0" Content="主页"
Click="GoHome" />
<Button Style="{StaticResource TabButtonStyle}" Grid.Column="1" Content="测试界面"
Click="GoTest" />
<Button Style="{StaticResource TabButtonStyle}" Grid.Column="2" Content="数据记录"
Click="GoRecord" />
<Button Style="{StaticResource TabButtonStyle}" Grid.Column="3" Content="记录画面"
Click="GoView" />
<Button x:Name="btnNavHome" Style="{StaticResource TabButtonStyle}" Grid.Column="0" Content="主页" Click="GoHome"/>
<Button x:Name="btnNavTest" Style="{StaticResource TabButtonStyle}" Grid.Column="1" Content="测试界面" Click="GoTest"/>
<Button x:Name="btnNavRecord" Style="{StaticResource TabButtonStyle}" Grid.Column="2" Content="记录画面" Click="GoView"/>
</Grid>
</Grid>
</Page>
</Page>

File diff suppressed because it is too large Load Diff

View File

@@ -15,6 +15,7 @@ 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
@@ -28,31 +29,33 @@ namespace 头罩视野.Views
{
private IModbusMaster _modbusMaster => ModbusResourceManager.Instance.ModbusMaster;
private System.Timers.Timer _plcReadTimer;
private System.Timers.Timer? _plcReadTimer;
// 表跟数据存储列表
private List<dynamic> LeftEyeDataList = new List<dynamic>();
private List<dynamic> RightEyeDataList = new List<dynamic>();
public List<dynamic> LeftEyeDataList = new List<dynamic>();
public List<dynamic> RightEyeDataList = new List<dynamic>();
public List<dynamic> CalLeftData = new List<dynamic>();
public List<dynamic> CalRightData = new List<dynamic>();
// 配置和你PLC地址完全对应 左目
private const int LeftEyeStartAddress = 1362; // D1362
private const int ChannelCount = 72; // 72个通道
private const int RegistersPerChannel = 2; // 每个通道2个寄存器Float
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(100);
StartPlcReadTimer(1000);
//// 判断连接
if (!ModbusHelper.IsConnected)
@@ -64,7 +67,7 @@ namespace 头罩视野.Views
//动态生成表头
void DynamicHeader()
{
// 2. 循环生成 64 个 ch 列
// 2. 循环生成 72 个 ch 列
for (int i = 1; i <= ChannelCount; i++)
{
dataGrid1.Columns.Add(new DataGridTextColumn
@@ -79,10 +82,23 @@ namespace 头罩视野.Views
});
}
}
//定时读取 PLC 数据
private void StartPlcReadTimer(int intervalMs)
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();
@@ -94,25 +110,19 @@ namespace 头罩视野.Views
ReadPlcDataGeneric(
slaveAddress: 1,
startAddress: LeftEyeStartAddress,
count: (ushort)(ChannelCount * RegistersPerChannel),
count: 72,
dataList: LeftEyeDataList,
dataGrid: dataGrid1);
// 右通道
ReadPlcDataGeneric(
slaveAddress: 1,
startAddress: RightEyeStartAddress,
count: (ushort)(ChannelCount * RegistersPerChannel),
dataList: RightEyeDataList,
dataGrid: dataGrid2);
//// 右通道
//ReadPlcDataGeneric(
// slaveAddress: 1,
// startAddress: RightEyeStartAddress,
// count: (ushort)(ChannelCount * RegistersPerChannel),
// dataList: RightEyeDataList,
// dataGrid: dataGrid2);
}
private void ReadPlcDataGeneric(int slaveAddress, int startAddress, ushort count, List<dynamic> dataList, DataGrid dataGrid)
{
throw new NotImplementedException();
}
/// <summary>
/// 读取PLC HoldingRegisters 并更新到列表和DataGrid
@@ -129,7 +139,7 @@ namespace 头罩视野.Views
byte slaveAddress,
ushort startAddress,
ushort count,
List<ushort> dataList,
List<dynamic> dataList,
DataGrid dataGrid)
{
if (_modbusMaster == null || !ModbusHelper.TcpClient.Connected)
@@ -141,10 +151,11 @@ namespace 头罩视野.Views
ushort[] registers = _modbusMaster.ReadHoldingRegisters(
slaveAddress: slaveAddress,
startAddress: startAddress,
numberOfPoints: count);
numberOfPoints: (ushort)count);
uint[] data32 = ConvertRegistersToUInt32(registers, true);
// 先把变量存为局部变量,解决闭包问题
var regCopy = registers;
var regCopy = data32;
var listCopy = dataList;
var gridCopy = dataGrid;
@@ -153,6 +164,8 @@ namespace 头罩视野.Views
{
AddPlcDataRow(regCopy, listCopy, gridCopy);
});
System.Diagnostics.Debug.WriteLine("读取寄存器数据" );
}
catch (Exception ex)
{
@@ -160,90 +173,112 @@ namespace 头罩视野.Views
}
}
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;
}
/// <summary>
/// 把PLC数据添加到动态表格
/// </summary>
private void AddPlcDataRow(ushort[] registers, List<ushort> dataList, DataGrid dg)
private int _rowIndex = 1;
private void AddPlcDataRow(uint[] registers, List<dynamic> dataList, DataGrid dg)
{
// 清空旧数据,防止重复
dataList.Clear();
// 1. 先清空临时列表,不影响历史数据
//dataList.Clear();
// 把PLC数据存入列表
dataList.AddRange(registers);
// 2. 构建一次采集的单行数据(包含所有通道)
dynamic newRow = new System.Dynamic.ExpandoObject();
var dict = (IDictionary<string, object>)newRow;
// 构建动态行适配你原来的ExpandoObject逻辑
List<dynamic> rows = new List<dynamic>();
// 固定列:编号、时间、日期(每次采集的这一行
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++)
{
dynamic row = new System.Dynamic.ExpandoObject();
var dict = (IDictionary<string, object>)row;
// 固定列:编号、时间、数值
dict["Id"] = i + 1;
dict["Time"] = DateTime.Now.ToString("HH:mm:ss");
dict["Value"] = registers[i];
rows.Add(row);
// 字段名和你界面列绑定的名称必须完全一致,比如 ch.1 / Ch1
dict[$"Ch{i + 1}"] = registers[i];
//dict[$"ch.{i + 1}"] = registers[i];
}
// 更新DataGrid
dg.ItemsSource = null;
dg.ItemsSource = rows;
//根据不的dg 值 可以算出 左/右目视野面积
// 3. 把这一行加到历史列表,实现“读多行”
dataList.Add(newRow);
// 4. 强制刷新DataGrid让界面显示多行
dg.Dispatcher.Invoke(() =>
{
dg.ItemsSource = null;
dg.ItemsSource = dataList;
dg.Items.Refresh(); // 强制刷新视图,避免不渲染
});
}
//private void AddPlcDataRow()
//面积的计算方法
//public void getAllData(List<dynamic> leftEyeDataList, List<dynamic> RightEyeDataList, int perAngle)
//{
// AddPlcDataRow(LeftEyeDataList);
// // 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);
//}
//左右目面积调用方法
private void AddPlcDataRow(List<dynamic> leftEyeDataList, List<dynamic> RightEyeDataList)
{ //左目视野面积
GlobalData.LeftEyeArea = ModbusHelper.CalculateEyeArea(leftEyeDataList,
80,
120
);
//右目视野面积
GlobalData.RightEyeArea = ModbusHelper.CalculateEyeArea(RightEyeDataList,
80,
120
);
//双目视野面积
GlobalData.BinocularArea = ModbusHelper.CalcBinocularArea(leftEyeDataList, RightEyeDataList, 80, 120);
//// 总视野面积
GlobalData.TotalEyeArea = GlobalData.LeftEyeArea + GlobalData.RightEyeArea - GlobalData.BinocularArea;
//// 空白视野面积
GlobalData.BlankArea = 120 - GlobalData.TotalEyeArea;
//视野保存率
// 左眼平均值数组
double[] leftAvg = ModbusHelper.GetEyeAvgArray(leftEyeDataList);
// 右眼平均值数组
double[] rightAvg = ModbusHelper.GetEyeAvgArray(RightEyeDataList);
double leftLowerAngle = ModbusHelper.CalcLowerAngle(leftAvg, 10);
double rightLowerAngle = ModbusHelper.CalcLowerAngle(rightAvg, 10);
GlobalData.LowerVision = Math.Min(leftLowerAngle, rightLowerAngle);
//视野保存率
GlobalData.VisionRetentionRate = ModbusHelper.CalcVisionRate(GlobalData.LeftEyeArea, GlobalData.RightEyeArea);
}
private double CalcLowerAngle(double[] leftAvg, int v)
{
throw new NotImplementedException();
}
//#endregion
// 保存左眼
@@ -263,23 +298,23 @@ namespace 头罩视野.Views
//清除
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();
//_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();
@@ -310,52 +345,11 @@ namespace 头罩视野.Views
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()); 页面相互跳转
}
//// 公开定时器(让别的页面能访问)
//public System.Timers.Timer PlcReadTimer;
// // 公开:启动定时器
// public void StartRecordTimer()
// {
// if (PlcReadTimer == null)
// {
// PlcReadTimer = new System.Timers.Timer(100);
// PlcReadTimer.Elapsed += ReadPlcData; // 你的PLC读取方法
// PlcReadTimer.Start();
// }
// }
// // 公开:停止定时器
// public void StopRecordTimer()
// {
// if (PlcReadTimer != null)
// {
// PlcReadTimer.Stop();
// PlcReadTimer.Dispose();
// PlcReadTimer = null;
// }
// }
// // 你的PLC读取方法
// private void ReadPlcData(object sender, System.Timers.ElapsedEventArgs e)
// {
// // 你原来的逻辑
// }
// 找到 RecordDate 页面实例 页面调用和停止
//var recordPage = Application.Current.MainWindow
// .FindName("MainFrame") as Frame
// ?.Content as RecordDate;
//// 找到了就调用
//if (recordPage != null)
//{
// recordPage.StartRecordTimer(); // 启动
// // recordPage.StopRecordTimer(); // 停止
//}
}

View File

@@ -3,17 +3,21 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:头罩视野.Views"
mc:Ignorable="d"
d:DesignHeight="768" d:DesignWidth="1024"
Background="#F5F7FA" Loaded="Page_Loaded"
d:DesignHeight="768" d:DesignWidth="1024"
Background="#F0F2F5"
Loaded="Page_Loaded"
Title="RecordPage">
<Page.Resources>
<!-- 全局字体 -->
<FontFamily x:Key="DefaultFont">Segoe UI, Microsoft YaHei</FontFamily>
<!-- 标题样式 -->
<Style x:Key="MainTitleStyle" TargetType="TextBlock">
<Setter Property="FontSize" Value="28"/>
<Setter Property="FontWeight" Value="Bold"/>
<Setter Property="FontFamily" Value="{StaticResource DefaultFont}"/>
<Setter Property="FontSize" Value="26"/>
<Setter Property="FontWeight" Value="SemiBold"/>
<Setter Property="Foreground" Value="#2C3E50"/>
<Setter Property="HorizontalAlignment" Value="Center"/>
<Setter Property="Margin" Value="0,15,0,15"/>
@@ -45,33 +49,30 @@
<!-- DataGrid 列头样式 -->
<Style x:Key="DataGridColumnHeaderStyle" TargetType="DataGridColumnHeader">
<Setter Property="Background" Value="#E5E5E5"/>
<Setter Property="Foreground" Value="Black"/>
<Setter Property="FontWeight" Value="Bold"/>
<Setter Property="FontSize" Value="14"/>
<Setter Property="Foreground" Value="#2C3E50"/>
<Setter Property="FontWeight" Value="SemiBold"/>
<Setter Property="FontSize" Value="13"/>
<Setter Property="Height" Value="40"/>
<Setter Property="HorizontalContentAlignment" Value="Center"/>
<Setter Property="VerticalContentAlignment" Value="Center"/>
<Setter Property="Padding" Value="10,8"/>
<Setter Property="BorderBrush" Value="#E5E5E5"/>
<Setter Property="BorderThickness" Value="0,0,1,0"/>
<Setter Property="Padding" Value="8,4"/>
<Setter Property="BorderBrush" Value="#E5E8E8"/>
<Setter Property="BorderThickness" Value="0,0,1,1"/>
</Style>
<!-- DataGrid 行样式 -->
<Style x:Key="DataGridRowStyle" TargetType="DataGridRow">
<Setter Property="Background" Value="White"/>
<Style.Triggers>
<!-- 斑马线效果 -->
<Trigger Property="AlternationIndex" Value="0">
<Setter Property="Background" Value="#FFFFFF"/>
</Trigger>
<Trigger Property="AlternationIndex" Value="1">
<Setter Property="Background" Value="#F8F9F9"/>
</Trigger>
<!-- 鼠标悬停效果 -->
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Background" Value="#EBF5FB"/>
</Trigger>
<!-- 选中效果 -->
<Trigger Property="IsSelected" Value="True">
<Setter Property="Background" Value="#D6EAF8"/>
<Setter Property="BorderBrush" Value="#3498DB"/>
@@ -84,112 +85,127 @@
<Style x:Key="DataGridCellStyle" TargetType="DataGridCell">
<Setter Property="BorderBrush" Value="#ECF0F1"/>
<Setter Property="BorderThickness" Value="0,0,1,1"/>
<Setter Property="Padding" Value="10,8"/>
<Setter Property="Padding" Value="8,4"/>
<Setter Property="VerticalAlignment" Value="Center"/>
<Setter Property="TextBlock.TextAlignment" Value="Center"/>
<Setter Property="Template">
</Style>
<!-- 底部导航按钮样式(与测试页面一致) -->
<Style x:Key="TabButtonStyle" TargetType="Button">
<Setter Property="Background" Value="#2C3E50"/>
<Setter Property="FontFamily" Value="{StaticResource DefaultFont}"/>
<Setter Property="FontSize" Value="18"/>
<Setter Property="Foreground" Value="#ECF0F1"/>
<Setter Property="Height" Value="52"/>
<Setter Property="FontWeight" Value="SemiBold"/>
<Setter Property="BorderBrush" Value="#34495E"/>
<Setter Property="BorderThickness" Value="0,1,0,0"/>
<Setter Property="Cursor" Value="Hand"/>
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Background" Value="#34495E"/>
<Setter Property="Foreground" Value="#FFFFFF"/>
</Trigger>
</Style.Triggers>
</Style>
<!-- 卡片样式(带阴影) -->
<Style x:Key="CardStyle" TargetType="Border">
<Setter Property="Background" Value="#FFFFFF"/>
<Setter Property="CornerRadius" Value="8"/>
<Setter Property="Effect">
<Setter.Value>
<ControlTemplate TargetType="DataGridCell">
<Border BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
Background="{TemplateBinding Background}"
Padding="{TemplateBinding Padding}"
SnapsToDevicePixels="True">
<ContentPresenter VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
</Border>
</ControlTemplate>
<DropShadowEffect BlurRadius="12" ShadowDepth="2" Opacity="0.1" Color="#000000"/>
</Setter.Value>
</Setter>
</Style>
<Style x:Key="TabButtonStyle" TargetType="Button">
<Setter Property="Background" Value="#3498DB"/>
<Setter Property="FontSize" Value="20"/>
<Setter Property="Foreground" Value="#fff"/>
<Setter Property="Height" Value="70"/>
<Setter Property="FontWeight" Value="Bold"/>
<Setter Property="BorderBrush" Value="#fff"/>
<!-- 按钮样式 -->
<Style x:Key="ActionButtonStyle" TargetType="Button">
<Setter Property="Height" Value="40"/>
<Setter Property="Width" Value="100"/>
<Setter Property="FontSize" Value="15"/>
<Setter Property="FontWeight" Value="SemiBold"/>
<Setter Property="Foreground" Value="White"/>
<Setter Property="Cursor" Value="Hand"/>
<Setter Property="BorderThickness" Value="0"/>
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Opacity" Value="0.85"/>
</Trigger>
</Style.Triggers>
</Style>
</Page.Resources>
<Grid Margin="10">
<Grid Margin="20,0,20,10">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<!-- 0: 标题栏 -->
<RowDefinition Height="*"/>
<!-- 1: 表格区(撑满剩余空间) -->
<RowDefinition Height="Auto"/>
<!-- 2: 操作按钮区 -->
<RowDefinition Height="Auto"/>
<!-- 3: 底部导航栏(固定在窗口底部) -->
</Grid.RowDefinitions>
<!-- 顶部标题栏 -->
<Grid Grid.Row="0" Margin="0 0 0 10">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<TextBlock Grid.Column="2" Style="{StaticResource MainTitleStyle}" Text="记录画面"
HorizontalAlignment="Center" VerticalAlignment="Center"/>
<Grid Grid.Row="0" Margin="0,0,0,15">
<TextBlock Style="{StaticResource MainTitleStyle}" Text="历史测试记录" HorizontalAlignment="Center"/>
</Grid>
<!--表格-->
<Grid Grid.Row="1" Margin="0 0 0 10">
<!-- 表格区(卡片样式,占据剩余高度) -->
<Border Grid.Row="1" Style="{StaticResource CardStyle}" Padding="5" Margin="0,0,0,15">
<DataGrid x:Name="RecordDataGrid"
Height="400"
Style="{StaticResource DataGridStyle}"
ColumnHeaderStyle="{StaticResource DataGridColumnHeaderStyle}"
RowStyle="{StaticResource DataGridRowStyle}"
CellStyle="{StaticResource DataGridCellStyle}"
AlternationCount="2"
AutoGenerateColumns="False"
CanUserAddRows="False"
IsReadOnly="True"
HeadersVisibility="Column"
GridLinesVisibility="All"
ScrollViewer.VerticalScrollBarVisibility="Auto"
ScrollViewer.HorizontalScrollBarVisibility="Auto"
AutoGenerateColumns="False"
CanUserAddRows="False"
IsReadOnly="True"
HeadersVisibility="Column"
GridLinesVisibility="All"
Style="{StaticResource DataGridStyle}"
AlternationCount="2"
ColumnHeaderStyle="{StaticResource DataGridColumnHeaderStyle}"
RowStyle="{StaticResource DataGridRowStyle}"
CellStyle="{StaticResource DataGridCellStyle}"
>
<!-- 表格列(你要的 6 列) -->
VerticalAlignment="Stretch">
<DataGrid.Columns>
<DataGridTextColumn Header="编号" Binding="{Binding Id}" Width="80" IsReadOnly="True" />
<DataGridTextColumn Header="时间" Binding="{Binding Time}" Width="120" IsReadOnly="True"/>
<DataGridTextColumn Header="日期" Binding="{Binding Date}" Width="120" IsReadOnly="True" />
<DataGridTextColumn Header="左目视野面积" Binding="{Binding LeftEyeArea,StringFormat=F2}" Width="*" IsReadOnly="True" />
<DataGridTextColumn Header="右目视野面积" Binding="{Binding RightEyeArea,StringFormat=F2}" Width="*" IsReadOnly="True"/>
<DataGridTextColumn Header="双目视野面积" Binding="{Binding BinocularArea,StringFormat=F2}" Width="*" IsReadOnly="True"/>
<DataGridTextColumn Header="下方视野" Binding="{Binding LowerVision,StringFormat=F2}" Width="*" IsReadOnly="True"/>
<DataGridTextColumn Header="视野保存率" Binding="{Binding VisionRetentionRate,StringFormat=F2}" Width="*" IsReadOnly="True"/>
<DataGridTextColumn Header="编号" Binding="{Binding Id}" Width="60" />
<DataGridTextColumn Header="时间" Binding="{Binding Time}" Width="80" />
<DataGridTextColumn Header="日期" Binding="{Binding Date}" Width="80" />
<DataGridTextColumn Header="左目视野面积" Binding="{Binding LeftEyeArea,StringFormat=F2}" Width="105" />
<DataGridTextColumn Header="右目视野面积" Binding="{Binding RightEyeArea,StringFormat=F2}" Width="105" />
<DataGridTextColumn Header="双目视野面积" Binding="{Binding BinocularArea,StringFormat=F2}" Width="105" />
<DataGridTextColumn Header="下方视野" Binding="{Binding LowerVision,StringFormat=F2}" Width="90" />
<DataGridTextColumn Header="视野面积" Binding="{Binding totalVisionArea,StringFormat=F2}" Width="105" />
<DataGridTextColumn Header="双目保存率" Binding="{Binding VisionRetentionRate,StringFormat=F2}" Width="100" />
<DataGridTextColumn Header="总保存率" Binding="{Binding GetVisionRetentionRate,StringFormat=F2}" Width="100" />
</DataGrid.Columns>
</DataGrid>
</Grid>
<!--按钮-->
<Grid Grid.Row="2" Margin="0,30,0,0">
<!-- 停止 -->
<Button Content="保存" FontSize="18"
Width="120" Height="50" Background="#3498DB" Foreground="White" Margin="840,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Click="btnSave_Click" />
<Button Content="清除" FontSize="18"
Width="120" Height="50" Background="White" BorderBrush="red" Foreground="red" Margin="10,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"
PreviewMouseLeftButtonDown ="btnClear_MouseDown" PreviewMouseLeftButtonUp ="btnClear_MouseUp" />
<TextBlock HorizontalAlignment="Left" Foreground="red" Margin="139,14,0,0" TextWrapping="Wrap" VerticalAlignment="Top" FontSize="18" Width="202"><Run Language="zh-cn" Text="备注: 清除长按"/></TextBlock>
</Border>
<!-- 操作按钮区 -->
<Grid Grid.Row="2" Margin="0,0,0,15">
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center">
<Button Content="保存" Style="{StaticResource ActionButtonStyle}" Background="#27AE60" Margin="5" Click="btnSave_Click"/>
<Button Content="清除" Style="{StaticResource ActionButtonStyle}" Background="#E74C3C" Margin="5"
PreviewMouseLeftButtonDown="btnClear_MouseDown" PreviewMouseLeftButtonUp="btnClear_MouseUp"/>
<TextBlock Text="长按清除" VerticalAlignment="Center" Margin="15,0,0,0" FontSize="13" Foreground="#E74C3C" FontStyle="Italic"/>
</StackPanel>
</Grid>
<!-- 底部导航栏 -->
<Grid Grid.Row="3" VerticalAlignment="Bottom">
<!-- 底部导航栏(固定在窗口底部) -->
<Grid Grid.Row="3" VerticalAlignment="Bottom">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Button Style="{StaticResource TabButtonStyle}" Grid.Column="0" Content="主页"
Click="GoHome" />
<Button Style="{StaticResource TabButtonStyle}" Grid.Column="1" Content="测试界面"
Click="GoTest" />
<Button Style="{StaticResource TabButtonStyle}" Grid.Column="2" Content="数据记录"
Click="GoRecord" />
<Button Style="{StaticResource TabButtonStyle}" Grid.Column="3" Content="记录画面"
Click="GoView" />
<Button Style="{StaticResource TabButtonStyle}" Grid.Column="0" Content="主页" Click="GoHome"/>
<Button Style="{StaticResource TabButtonStyle}" Grid.Column="1" Content="测试界面" Click="GoTest"/>
<Button Style="{StaticResource TabButtonStyle}" Grid.Column="2" Content="记录画面" Click="GoView"/>
</Grid>
</Grid>
</Page>
</Page>

View File

@@ -17,6 +17,8 @@ using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Windows.Threading;
using System.Linq;
using System.Threading;
using .Services.Data;
using static .TestDataStore;
@@ -38,17 +40,7 @@ namespace 头罩视野.Views
InitializeComponent();
}
//#region 2. 清除表格数据
//private void btnClear_Click(object sender, RoutedEventArgs e)
//{
// // 确认清除
// if (MessageBox.Show("确定要清除所有记录吗?", "确认", MessageBoxButton.YesNo) == MessageBoxResult.Yes)
// {
// TestDataStore.Records.Clear();
// RecordDataGrid.ItemsSource = null;
// RecordDataGrid.ItemsSource = TestDataStore.Records;
// }
//}
//清除
private void btnClear_MouseDown(object sender, MouseButtonEventArgs e)
@@ -88,40 +80,303 @@ namespace 头罩视野.Views
}
////#endregion
////#region 3. 保存为Excel
//private void btnSave_Click(object sender, RoutedEventArgs e)
//{
// try
// {
// // 1. 构建表格内容
// StringBuilder sb = new StringBuilder();
// sb.AppendLine("编号,日期,时间,左目视野面积,右目视野面积,双目视野面积,空白视野面积,下方视野,视野保存率");
// foreach (var item in TestDataStore.Records)
// {
// sb.AppendLine($"{item.Id},{item.Date},{item.Time},{item.LeftEyeArea},{item.RightEyeArea},{item.BinocularArea},{item.LowerVision},{item.VisionRetentionRate}");
// }
// // 2. 弹出保存框,让用户自己选位置
// Microsoft.Win32.SaveFileDialog saveFileDialog = new Microsoft.Win32.SaveFileDialog();
// saveFileDialog.Filter = "CSV 文件 (*.csv)|*.csv|所有文件 (*.*)|*.*";
// saveFileDialog.FileName = $"测试记录_{DateTime.Now:yyyyMMddHHmmss}";
// if (saveFileDialog.ShowDialog() == true)
// {
// // 3. 保存文件
// File.WriteAllText(saveFileDialog.FileName, sb.ToString(), Encoding.UTF8);
// MessageBox.Show("保存成功!\n文件路径" + saveFileDialog.FileName, "成功");
// }
// }
// catch (Exception ex)
// {
// MessageBox.Show("保存失败:" + ex.Message);
// }
//}
//#endregion
//#region 3. 保存为Excel
private List<TestDataStore.TestRecord> GenerateMockRecords()
{
var mockList = new List<TestDataStore.TestRecord>();
Random rand = new Random();
for (int i = 1; i <= 5; i++)
{
double left = rand.Next(6000, 8500);
double right = rand.Next(6000, 8500);
double binocular = (left + right) / 2 * 0.85;
double lower = rand.Next(30, 50);
double totalArea = left + right - binocular; // 总视野面积
double preservation = totalArea / 12000 * 100; // 视野保存率(%
double totalPreserve = preservation * 0.95; // 总视野保存率(示例)
mockList.Add(new TestDataStore.TestRecord
{
Id = i,
Date = DateTime.Now.AddDays(-i).ToString("yyyy-MM-dd"),
Time = DateTime.Now.AddHours(-i).ToString("HH:mm:ss"),
LeftEyeArea = left,
RightEyeArea = right,
BinocularArea = binocular,
LowerVision = lower,
VisionRetentionRate = preservation,
totalVisionArea = totalArea, // ✅ 必须赋值
GetVisionRetentionRate = totalPreserve // ✅ 必须赋值
});
}
return mockList;
}
private void btnSave_Click(object sender, RoutedEventArgs e)
{
//// 判断是否有真实数据
//bool hasRealData = TestDataStore.Records != null && TestDataStore.Records.Count > 0;
//List<TestDataStore.TestRecord> exportRecords;
//if (!hasRealData)
//{
// exportRecords = GenerateMockRecords();
// TestDataStore.Records.AddRange(exportRecords);
//}
//else
//{
// exportRecords = TestDataStore.Records.ToList();
//}
try
{
// 1. 构建表格内容
StringBuilder sb = new StringBuilder();
sb.AppendLine("编号,日期,时间,左目视野面积,右目视野面积,双目视野面积,空白视野面积,下方视野,视野保存率");
ExcelPackage.LicenseContext = OfficeOpenXml.LicenseContext.NonCommercial;
foreach (var item in TestDataStore.Records)
var saveDialog = new Microsoft.Win32.SaveFileDialog
{
sb.AppendLine($"{item.Id},{item.Date},{item.Time},{item.LeftEyeArea},{item.RightEyeArea},{item.BinocularArea},{item.LowerVision},{item.VisionRetentionRate}");
}
Filter = "Excel 文件 (*.xlsx)|*.xlsx",
FileName = $"视野测试报告_{DateTime.Now:yyyyMMddHHmmss}.xlsx"
};
if (saveDialog.ShowDialog() != true) return;
// 2. 弹出保存框,让用户自己选位置
Microsoft.Win32.SaveFileDialog saveFileDialog = new Microsoft.Win32.SaveFileDialog();
saveFileDialog.Filter = "CSV 文件 (*.csv)|*.csv|所有文件 (*.*)|*.*";
saveFileDialog.FileName = $"测试记录_{DateTime.Now:yyyyMMddHHmmss}";
if (saveFileDialog.ShowDialog() == true)
using (var package = new OfficeOpenXml.ExcelPackage())
{
// 3. 保存文件
File.WriteAllText(saveFileDialog.FileName, sb.ToString(), Encoding.UTF8);
MessageBox.Show("保存成功!\n文件路径" + saveFileDialog.FileName, "成功");
// ========== 工作表1报告摘要 ==========
var sheet1 = package.Workbook.Worksheets.Add("报告摘要");
// 标题
sheet1.Cells["A1"].Value = "头罩视野测试报告";
sheet1.Cells["A1"].Style.Font.Size = 22;
sheet1.Cells["A1"].Style.Font.Bold = true;
sheet1.Cells["A1"].Style.HorizontalAlignment = OfficeOpenXml.Style.ExcelHorizontalAlignment.Center;
sheet1.Cells["A1:G1"].Merge = true;
// 报告编号和日期
sheet1.Cells["A3"].Value = "报告编号:";
sheet1.Cells["B3"].Value = $"REP-{DateTime.Now:yyyyMMddHHmmss}";
sheet1.Cells["D3"].Value = "试验日期:";
sheet1.Cells["E3"].Value = DateTime.Now.ToString("yyyy年MM月dd日");
sheet1.Cells["A3:E3"].Style.Font.Size = 12;
// 测试参数
sheet1.Cells["A5"].Value = "测试参数";
sheet1.Cells["A5"].Style.Font.Bold = true;
sheet1.Cells["A6"].Value = "设备型号";
sheet1.Cells["B6"].Value = "X015";
sheet1.Cells["A7"].Value = "分辨角度";
sheet1.Cells["B7"].Value = GlobalData.JudgmentalPerspective;
sheet1.Cells["A8"].Value = "当前模式";
sheet1.Cells["B8"].Value = GlobalData.CurrentMode;
// 结果表格标题
int rowStart = 10;
string[] headers = { "编号", "日期", "时间", "左目视野(cm²)", "右目视野(cm²)",
"双目视野(cm²)", "下方视野(°)", "双目视野保存率(%)",
"总视野面积(cm²)", "总视野保存率(%)" };
for (int i = 0; i < headers.Length; i++)
sheet1.Cells[rowStart, i + 1].Value = headers[i];
sheet1.Cells[rowStart, 1, rowStart, headers.Length].Style.Font.Bold = true;
sheet1.Cells[rowStart, 1, rowStart, headers.Length].Style.Fill.PatternType = OfficeOpenXml.Style.ExcelFillStyle.Solid;
sheet1.Cells[rowStart, 1, rowStart, headers.Length].Style.Fill.BackgroundColor.SetColor(System.Drawing.Color.LightGray);
// 填充数据
int row = rowStart + 1;
foreach (var item in TestDataStore.Records)
{
sheet1.Cells[row, 1].Value = item.Id;
sheet1.Cells[row, 2].Value = item.Date;
sheet1.Cells[row, 3].Value = item.Time;
sheet1.Cells[row, 4].Value = item.LeftEyeArea;
sheet1.Cells[row, 5].Value = item.RightEyeArea;
sheet1.Cells[row, 6].Value = item.BinocularArea;
sheet1.Cells[row, 7].Value = item.LowerVision;
sheet1.Cells[row, 8].Value = item.VisionRetentionRate;
sheet1.Cells[row, 9].Value = item.totalVisionArea;
sheet1.Cells[row, 10].Value = item.GetVisionRetentionRate;
row++;
}
sheet1.Cells[1, 1, row - 1, headers.Length].AutoFitColumns();
// ========== 插入柱状图展示最近5次左右眼面积对比==========
var records = TestDataStore.Records.TakeLast(5).ToList();
if (records.Count > 0)
{
int chartStartRow = row + 3;
sheet1.Cells[chartStartRow, 1].Value = "最近5次测试视野面积对比图";
sheet1.Cells[chartStartRow, 1].Style.Font.Bold = true;
int dataRowStart = chartStartRow + 1;
sheet1.Cells[dataRowStart, 1].Value = "序号";
sheet1.Cells[dataRowStart, 2].Value = "左眼面积";
sheet1.Cells[dataRowStart, 3].Value = "右眼面积";
for (int i = 0; i < records.Count; i++)
{
sheet1.Cells[dataRowStart + 1 + i, 1].Value = i + 1;
sheet1.Cells[dataRowStart + 1 + i, 2].Value = records[i].LeftEyeArea;
sheet1.Cells[dataRowStart + 1 + i, 3].Value = records[i].RightEyeArea;
}
var chart = sheet1.Drawings.AddChart("AreaChart", OfficeOpenXml.Drawing.Chart.eChartType.ColumnClustered);
chart.SetPosition(chartStartRow, 0, 0, 0);
chart.SetSize(600, 400);
chart.Title.Text = "左右眼视野面积对比";
chart.Legend.Position = OfficeOpenXml.Drawing.Chart.eLegendPosition.Bottom;
var series1 = chart.Series.Add(sheet1.Cells[dataRowStart + 1, 2, dataRowStart + records.Count, 2],
sheet1.Cells[dataRowStart + 1, 1, dataRowStart + records.Count, 1]);
series1.Header = "左眼面积";
var series2 = chart.Series.Add(sheet1.Cells[dataRowStart + 1, 3, dataRowStart + records.Count, 3],
sheet1.Cells[dataRowStart + 1, 1, dataRowStart + records.Count, 1]);
series2.Header = "右眼面积";
}
//// ========== 新增:三个饼图(左眼、右眼、双目)基于最新一次测试数据 ==========
//var latestRecord = TestDataStore.Records.LastOrDefault();
//if (latestRecord != null)
//{
// // 标准总面积(与 GetArea 中定义一致)
// double standardTotalArea = 2 * Math.PI * 330 * 330; // ≈ 684,000可根据实际调整
// // 如果您的 GetArea 中有公开的标准面积字段建议使用GetArea._standardTotalArea
// // 这里为了兼容,直接计算
// // 饼图数据区域起始行(放在柱状图右侧,可根据实际微调)
// int pieStartRow = row + 3;
// int pieStartColLeft = 8; // 左眼饼图起始列 H
// int pieStartColRight = 12; // 右眼饼图起始列 L
// int pieStartColBin = 16; // 双目饼图起始列 P
// // 左眼饼图数据
// double leftArea = latestRecord.LeftEyeArea;
// double leftRemain = standardTotalArea - leftArea;
// if (leftRemain < 0) leftRemain = 0;
// sheet1.Cells[pieStartRow, pieStartColLeft].Value = "左眼视野";
// sheet1.Cells[pieStartRow + 1, pieStartColLeft].Value = leftArea;
// sheet1.Cells[pieStartRow + 2, pieStartColLeft].Value = "剩余区域";
// sheet1.Cells[pieStartRow + 3, pieStartColLeft].Value = leftRemain;
// var pieLeft = sheet1.Drawings.AddChart("PieLeft", OfficeOpenXml.Drawing.Chart.eChartType.Pie);
// pieLeft.SetPosition(pieStartRow - 1, 0, pieStartColLeft - 2, 0);
// pieLeft.SetSize(300, 200);
// pieLeft.Title.Text = "左眼视野占比";
// pieLeft.Legend.Position = OfficeOpenXml.Drawing.Chart.eLegendPosition.Bottom;
// var seriesLeft = pieLeft.Series.Add(sheet1.Cells[pieStartRow + 1, pieStartColLeft, pieStartRow + 3, pieStartColLeft],
// sheet1.Cells[pieStartRow, pieStartColLeft, pieStartRow + 2, pieStartColLeft]);
// seriesLeft.Header = "面积 (cm²)";
// //这里需要加入百分比显示EPPlus 的饼图默认不显示百分比,需要手动设置数据标签
// // 右眼饼图数据
// double rightArea = latestRecord.RightEyeArea;
// double rightRemain = standardTotalArea - rightArea;
// if (rightRemain < 0) rightRemain = 0;
// sheet1.Cells[pieStartRow, pieStartColRight].Value = "右眼视野";
// sheet1.Cells[pieStartRow + 1, pieStartColRight].Value = rightArea;
// sheet1.Cells[pieStartRow + 2, pieStartColRight].Value = "剩余区域";
// sheet1.Cells[pieStartRow + 3, pieStartColRight].Value = rightRemain;
// var pieRight = sheet1.Drawings.AddChart("PieRight", OfficeOpenXml.Drawing.Chart.eChartType.Pie);
// pieRight.SetPosition(pieStartRow - 1, 0, pieStartColRight - 2, 0);
// pieRight.SetSize(300, 200);
// pieRight.Title.Text = "右眼视野占比";
// pieRight.Legend.Position = OfficeOpenXml.Drawing.Chart.eLegendPosition.Bottom;
// var seriesRight = pieRight.Series.Add(sheet1.Cells[pieStartRow + 1, pieStartColRight, pieStartRow + 3, pieStartColRight],
// sheet1.Cells[pieStartRow, pieStartColRight, pieStartRow + 2, pieStartColRight]);
// // 双目饼图数据
// double binArea = latestRecord.BinocularArea;
// double binRemain = standardTotalArea - binArea;
// if (binRemain < 0) binRemain = 0;
// sheet1.Cells[pieStartRow, pieStartColBin].Value = "双目视野";
// sheet1.Cells[pieStartRow + 1, pieStartColBin].Value = binArea;
// sheet1.Cells[pieStartRow + 2, pieStartColBin].Value = "剩余区域";
// sheet1.Cells[pieStartRow + 3, pieStartColBin].Value = binRemain;
// var pieBin = sheet1.Drawings.AddChart("PieBin", OfficeOpenXml.Drawing.Chart.eChartType.Pie);
// pieBin.SetPosition(pieStartRow - 1, 0, pieStartColBin - 2, 0);
// pieBin.SetSize(300, 200);
// pieBin.Title.Text = "双目视野占比";
// pieBin.Legend.Position = OfficeOpenXml.Drawing.Chart.eLegendPosition.Bottom;
// var seriesBin = pieBin.Series.Add(sheet1.Cells[pieStartRow + 1, pieStartColBin, pieStartRow + 3, pieStartColBin],
// sheet1.Cells[pieStartRow, pieStartColBin, pieStartRow + 2, pieStartColBin]);
//}
// 添加备注说明(位置下移避免覆盖饼图)
int noteRow = row + 30; // 原先是 row+20现在下移避免与饼图重叠
sheet1.Cells[noteRow, 1].Value = "备注:";
sheet1.Cells[noteRow, 2].Value = "1. 视野保存率公式依据 GB 2890-2022 计算;";
sheet1.Cells[noteRow + 1, 2].Value = "2. 空白视野面积为标准头模未戴面罩时的理论值;";
sheet1.Cells[noteRow + 2, 2].Value = "3. 测试过程中若出现异常,请参考原始记录。";
sheet1.Cells[noteRow, 1, noteRow + 2, 4].Style.Font.Size = 10;
sheet1.Cells[noteRow, 1, noteRow + 2, 4].Style.Font.Italic = true;
// ========== 工作表2原始数据明细 ==========
var sheet2 = package.Workbook.Worksheets.Add("原始数据");
for (int i = 0; i < headers.Length; i++)
sheet2.Cells[1, i + 1].Value = headers[i];
sheet2.Cells[1, 1, 1, headers.Length].Style.Font.Bold = true;
row = 2;
foreach (var item in TestDataStore.Records)
{
sheet2.Cells[row, 1].Value = item.Id;
sheet2.Cells[row, 2].Value = item.Date;
sheet2.Cells[row, 3].Value = item.Time;
sheet2.Cells[row, 4].Value = item.LeftEyeArea;
sheet2.Cells[row, 5].Value = item.RightEyeArea;
sheet2.Cells[row, 6].Value = item.BinocularArea;
sheet2.Cells[row, 7].Value = item.LowerVision;
sheet2.Cells[row, 8].Value = item.VisionRetentionRate;
sheet2.Cells[row, 9].Value = item.totalVisionArea;
sheet2.Cells[row, 10].Value = item.GetVisionRetentionRate;
row++;
}
sheet2.Cells[1, 1, row - 1, headers.Length].AutoFitColumns();
// 保存文件
package.SaveAs(new FileInfo(saveDialog.FileName));
MessageBox.Show($"报告已成功生成!\n路径{saveDialog.FileName}", "导出成功", MessageBoxButton.OK, MessageBoxImage.Information);
}
}
catch (Exception ex)
{
MessageBox.Show("保存失败:" + ex.Message);
MessageBox.Show($"生成报告失败:{ex.Message}", "错误", MessageBoxButton.OK, MessageBoxImage.Error);
}
}
//#endregion
private void Page_Loaded(object sender, RoutedEventArgs e)
{

View File

@@ -24,7 +24,7 @@
<Setter Property="VerticalAlignment" Value="Center"/>
<Setter Property="Margin" Value="0,0,10,0"/>
<Setter Property="Margin" Value="0,0,10,0"/>
<Setter Property="Width" Value="100"/>
<Setter Property="Width" Value="105"/>
</Style>
<Style x:Key="TextBoxStyle" TargetType="TextBox">
<Setter Property="Height" Value="40"/>
@@ -124,17 +124,12 @@
<StackPanel Orientation="Horizontal" Margin="0,15,0,15">
<TextBlock Text="上灯条数据4" Style="{StaticResource LabelStyle}"/>
<TextBox Name="sdtsj4" Text="" Style="{StaticResource TextBoxStyle}" />
</StackPanel>
<StackPanel Orientation="Horizontal">
<TextBlock Text="上灯条数据5" Style="{StaticResource LabelStyle}"/>
<TextBox Name="sdtsj5" Text="" Style="{StaticResource TextBoxStyle}"/>
</StackPanel>
</StackPanel>
</Border>
<Border Grid.Column="1" Background="#FFFFFF" CornerRadius="10"
BorderBrush="#E5E8E8" BorderThickness="1"

View File

@@ -1,84 +0,0 @@
#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "69F410B786DB1725D40721B4BFA0AF24ADE0F02A"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
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 {
/// <summary>
/// App
/// </summary>
public partial class App : System.Windows.Application {
private bool _contentLoaded;
/// <summary>
/// InitializeComponent
/// </summary>
[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
}
/// <summary>
/// Application Entry Point.
/// </summary>
[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();
}
}
}

View File

@@ -1,84 +0,0 @@
#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "69F410B786DB1725D40721B4BFA0AF24ADE0F02A"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
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 {
/// <summary>
/// App
/// </summary>
public partial class App : System.Windows.Application {
private bool _contentLoaded;
/// <summary>
/// InitializeComponent
/// </summary>
[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
}
/// <summary>
/// Application Entry Point.
/// </summary>
[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();
}
}
}

View File

@@ -1,140 +0,0 @@
#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "B3AA18B6D2D35505085C1250F6B7671386BCB992"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
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 ;
namespace {
/// <summary>
/// MainWindow
/// </summary>
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
#line 51 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock TX_1;
#line default
#line hidden
#line 59 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock TX_0;
#line default
#line hidden
#line 75 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Frame MainFrame;
#line default
#line hidden
private bool _contentLoaded;
/// <summary>
/// InitializeComponent
/// </summary>
[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/mainwindow.xaml", System.UriKind.Relative);
#line 1 "..\..\..\MainWindow.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:
#line 68 "..\..\..\MainWindow.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.GoRecord);
#line default
#line hidden
return;
case 4:
#line 73 "..\..\..\MainWindow.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.GoVisiPage);
#line default
#line hidden
return;
case 5:
this.MainFrame = ((System.Windows.Controls.Frame)(target));
return;
}
this._contentLoaded = true;
}
}
}

View File

@@ -1,140 +0,0 @@
#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "B3AA18B6D2D35505085C1250F6B7671386BCB992"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
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 ;
namespace {
/// <summary>
/// MainWindow
/// </summary>
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
#line 51 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock TX_1;
#line default
#line hidden
#line 59 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock TX_0;
#line default
#line hidden
#line 75 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Frame MainFrame;
#line default
#line hidden
private bool _contentLoaded;
/// <summary>
/// InitializeComponent
/// </summary>
[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/mainwindow.xaml", System.UriKind.Relative);
#line 1 "..\..\..\MainWindow.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:
#line 68 "..\..\..\MainWindow.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.GoRecord);
#line default
#line hidden
return;
case 4:
#line 73 "..\..\..\MainWindow.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.GoVisiPage);
#line default
#line hidden
return;
case 5:
this.MainFrame = ((System.Windows.Controls.Frame)(target));
return;
}
this._contentLoaded = true;
}
}
}

View File

@@ -1,152 +0,0 @@
#pragma checksum "..\..\..\..\Views\ChangeLanguage.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "988A846E1656D700EA4630C867745AA59A3D0110"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
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 {
/// <summary>
/// ChangeLanguage
/// </summary>
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;
/// <summary>
/// InitializeComponent
/// </summary>
[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;
}
}
}

View File

@@ -1,152 +0,0 @@
#pragma checksum "..\..\..\..\Views\ChangeLanguage.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "988A846E1656D700EA4630C867745AA59A3D0110"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
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 {
/// <summary>
/// ChangeLanguage
/// </summary>
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;
/// <summary>
/// InitializeComponent
/// </summary>
[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;
}
}
}

View File

@@ -1,76 +0,0 @@
#pragma checksum "..\..\..\..\Views\Help.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "26C55F12F75F47E87465FBE205342822ABB38A23"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
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 {
/// <summary>
/// Help
/// </summary>
public partial class Help : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector {
private bool _contentLoaded;
/// <summary>
/// InitializeComponent
/// </summary>
[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;
}
}
}

View File

@@ -1,76 +0,0 @@
#pragma checksum "..\..\..\..\Views\Help.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "26C55F12F75F47E87465FBE205342822ABB38A23"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
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 {
/// <summary>
/// Help
/// </summary>
public partial class Help : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector {
private bool _contentLoaded;
/// <summary>
/// InitializeComponent
/// </summary>
[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;
}
}
}

View File

@@ -1,277 +0,0 @@
#pragma checksum "..\..\..\..\Views\SetPassWord.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "CD00A0EB8304DD1C4BC82D7B58CB962188A096F7"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
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 {
/// <summary>
/// SetPassWord
/// </summary>
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;
/// <summary>
/// InitializeComponent
/// </summary>
[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;
}
}
}

View File

@@ -1,277 +0,0 @@
#pragma checksum "..\..\..\..\Views\SetPassWord.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "CD00A0EB8304DD1C4BC82D7B58CB962188A096F7"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
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 {
/// <summary>
/// SetPassWord
/// </summary>
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;
/// <summary>
/// InitializeComponent
/// </summary>
[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;
}
}
}

View File

@@ -1,261 +0,0 @@
#pragma checksum "..\..\..\..\Views\SetTime.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "51F0FF48EEB069C6AD0669FE96AF3D2EA6F39299"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
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 {
/// <summary>
/// SetTime
/// </summary>
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;
/// <summary>
/// InitializeComponent
/// </summary>
[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;
}
}
}

View File

@@ -1,261 +0,0 @@
#pragma checksum "..\..\..\..\Views\SetTime.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "51F0FF48EEB069C6AD0669FE96AF3D2EA6F39299"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
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 {
/// <summary>
/// SetTime
/// </summary>
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;
/// <summary>
/// InitializeComponent
/// </summary>
[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;
}
}
}

View File

@@ -1,146 +0,0 @@
D:\work\新建文件夹\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\MainWindow.g.cs
D:\work\新建文件夹\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\Views\ChangeLanguage.g.cs
D:\work\新建文件夹\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\App.g.cs
D:\work\新建文件夹\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\头罩视野_MarkupCompile.cache
D:\work\新建文件夹\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\头罩视野_MarkupCompile.lref
D:\work\新建文件夹\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\头罩视野.exe
D:\work\新建文件夹\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\头罩视野.deps.json
D:\work\新建文件夹\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\头罩视野.runtimeconfig.json
D:\work\新建文件夹\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\头罩视野.dll
D:\work\新建文件夹\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\头罩视野.pdb
D:\work\新建文件夹\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\Views\PageTest.g.cs
D:\work\新建文件夹\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\MainWindow.baml
D:\work\新建文件夹\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\Views\ChangeLanguage.baml
D:\work\新建文件夹\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\Views\PageTest.baml
D:\work\新建文件夹\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\头罩视野.g.resources
D:\work\新建文件夹\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\头罩视野.GeneratedMSBuildEditorConfig.editorconfig
D:\work\新建文件夹\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\头罩视野.AssemblyInfoInputs.cache
D:\work\新建文件夹\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\头罩视野.AssemblyInfo.cs
D:\work\新建文件夹\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\头罩视野.csproj.CoreCompileInputs.cache
D:\work\新建文件夹\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\头罩视野.dll
D:\work\新建文件夹\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\refint\头罩视野.dll
D:\work\新建文件夹\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\头罩视野.pdb
D:\work\新建文件夹\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\头罩视野.genruntimeconfig.cache
D:\work\新建文件夹\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\ref\头罩视野.dll
D:\work\新建文件夹\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\HandyControl.dll
D:\work\新建文件夹\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\头罩视野.csproj.AssemblyReference.cache
D:\work\新建文件夹\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\App.baml
D:\work\新建文件夹\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\头罩视野.csproj.Up2Date
D:\work\新建文件夹\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\Views\RecordDate.g.cs
D:\work\新建文件夹\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\Views\RecordDate.baml
D:\work\新建文件夹\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\Views\Help.g.cs
D:\work\新建文件夹\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\Views\SetTime.g.cs
D:\work\新建文件夹\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\Views\Help.baml
D:\work\新建文件夹\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\Views\SetTime.baml
D:\work\新建文件夹\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\Views\VisiData.g.cs
D:\work\新建文件夹\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\Views\VisiData.baml
D:\work\新建文件夹\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\Views\SetPassWord.g.cs
D:\work\新建文件夹\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\Views\SetPassWord.baml
D:\work\新建文件夹\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\NModbus4.dll
D:\work\新建文件夹\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\SunnyUI.dll
D:\work\新建文件夹\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\SunnyUI.Common.dll
D:\work\新建文件夹\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\System.IO.Ports.dll
D:\work\新建文件夹\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\runtimes\android-arm\native\libSystem.IO.Ports.Native.so
D:\work\新建文件夹\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\runtimes\android-arm64\native\libSystem.IO.Ports.Native.so
D:\work\新建文件夹\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\runtimes\android-x64\native\libSystem.IO.Ports.Native.so
D:\work\新建文件夹\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\runtimes\android-x86\native\libSystem.IO.Ports.Native.so
D:\work\新建文件夹\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\runtimes\linux-arm\native\libSystem.IO.Ports.Native.so
D:\work\新建文件夹\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\runtimes\linux-arm64\native\libSystem.IO.Ports.Native.so
D:\work\新建文件夹\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\runtimes\linux-bionic-arm64\native\libSystem.IO.Ports.Native.so
D:\work\新建文件夹\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\runtimes\linux-bionic-x64\native\libSystem.IO.Ports.Native.so
D:\work\新建文件夹\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\runtimes\linux-musl-arm\native\libSystem.IO.Ports.Native.so
D:\work\新建文件夹\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\runtimes\linux-musl-arm64\native\libSystem.IO.Ports.Native.so
D:\work\新建文件夹\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\runtimes\linux-musl-x64\native\libSystem.IO.Ports.Native.so
D:\work\新建文件夹\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\runtimes\linux-x64\native\libSystem.IO.Ports.Native.so
D:\work\新建文件夹\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\runtimes\maccatalyst-arm64\native\libSystem.IO.Ports.Native.dylib
D:\work\新建文件夹\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\runtimes\maccatalyst-x64\native\libSystem.IO.Ports.Native.dylib
D:\work\新建文件夹\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\runtimes\osx-arm64\native\libSystem.IO.Ports.Native.dylib
D:\work\新建文件夹\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\runtimes\osx-x64\native\libSystem.IO.Ports.Native.dylib
D:\work\新建文件夹\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\runtimes\unix\lib\net10.0\System.IO.Ports.dll
D:\work\新建文件夹\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\runtimes\win\lib\net10.0\System.IO.Ports.dll
D:\work\新建文件夹\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\Views\RecordPage.g.cs
D:\work\新建文件夹\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\Views\RecordPage.baml
D:\work\新建文件夹\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\EPPlus.dll
D:\work\新建文件夹\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\EPPlus.Interfaces.dll
D:\work\新建文件夹\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\Microsoft.Extensions.Configuration.dll
D:\work\新建文件夹\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\Microsoft.Extensions.Configuration.Abstractions.dll
D:\work\新建文件夹\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\Microsoft.Extensions.Configuration.FileExtensions.dll
D:\work\新建文件夹\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\Microsoft.Extensions.Configuration.Json.dll
D:\work\新建文件夹\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\Microsoft.Extensions.FileProviders.Abstractions.dll
D:\work\新建文件夹\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\Microsoft.Extensions.FileProviders.Physical.dll
D:\work\新建文件夹\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\Microsoft.Extensions.FileSystemGlobbing.dll
D:\work\新建文件夹\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\Microsoft.Extensions.Primitives.dll
D:\work\新建文件夹\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\Microsoft.IO.RecyclableMemoryStream.dll
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\头罩视野.exe
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\头罩视野.dll
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\HandyControl.dll
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\EPPlus.dll
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\EPPlus.Interfaces.dll
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\Microsoft.Extensions.Configuration.dll
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\Microsoft.Extensions.Configuration.Abstractions.dll
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\Microsoft.Extensions.Configuration.FileExtensions.dll
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\Microsoft.Extensions.Configuration.Json.dll
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\Microsoft.Extensions.FileProviders.Abstractions.dll
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\Microsoft.Extensions.FileProviders.Physical.dll
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\Microsoft.Extensions.FileSystemGlobbing.dll
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\Microsoft.Extensions.Primitives.dll
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\Microsoft.IO.RecyclableMemoryStream.dll
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\NModbus4.dll
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\SunnyUI.dll
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\SunnyUI.Common.dll
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\System.IO.Ports.dll
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\runtimes\android-arm\native\libSystem.IO.Ports.Native.so
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\runtimes\android-arm64\native\libSystem.IO.Ports.Native.so
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\runtimes\android-x64\native\libSystem.IO.Ports.Native.so
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\runtimes\android-x86\native\libSystem.IO.Ports.Native.so
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\runtimes\linux-arm\native\libSystem.IO.Ports.Native.so
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\runtimes\linux-arm64\native\libSystem.IO.Ports.Native.so
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\runtimes\linux-bionic-arm64\native\libSystem.IO.Ports.Native.so
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\runtimes\linux-bionic-x64\native\libSystem.IO.Ports.Native.so
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\runtimes\linux-musl-arm\native\libSystem.IO.Ports.Native.so
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\runtimes\linux-musl-arm64\native\libSystem.IO.Ports.Native.so
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\runtimes\linux-musl-x64\native\libSystem.IO.Ports.Native.so
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\runtimes\linux-x64\native\libSystem.IO.Ports.Native.so
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\runtimes\maccatalyst-arm64\native\libSystem.IO.Ports.Native.dylib
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\runtimes\maccatalyst-x64\native\libSystem.IO.Ports.Native.dylib
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\runtimes\osx-arm64\native\libSystem.IO.Ports.Native.dylib
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\runtimes\osx-x64\native\libSystem.IO.Ports.Native.dylib
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\runtimes\unix\lib\net10.0\System.IO.Ports.dll
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\runtimes\win\lib\net10.0\System.IO.Ports.dll
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\头罩视野.csproj.AssemblyReference.cache
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\MainWindow.g.cs
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\Views\ChangeLanguage.g.cs
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\Views\Help.g.cs
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\Views\PageTest.g.cs
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\Views\RecordDate.g.cs
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\Views\RecordPage.g.cs
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\Views\SetPassWord.g.cs
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\Views\SetTime.g.cs
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\Views\VisiData.g.cs
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\App.g.cs
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\头罩视野_MarkupCompile.cache
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\头罩视野_MarkupCompile.lref
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\App.baml
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\MainWindow.baml
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\Views\ChangeLanguage.baml
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\Views\Help.baml
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\Views\PageTest.baml
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\Views\RecordDate.baml
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\Views\RecordPage.baml
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\Views\SetPassWord.baml
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\Views\SetTime.baml
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\Views\VisiData.baml
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\头罩视野.g.resources
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\头罩视野.GeneratedMSBuildEditorConfig.editorconfig
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\头罩视野.AssemblyInfoInputs.cache
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\头罩视野.AssemblyInfo.cs
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\头罩视野.csproj.CoreCompileInputs.cache
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\头罩视野.csproj.Up2Date
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\头罩视野.dll
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\refint\头罩视野.dll
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\头罩视野.pdb
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\头罩视野.deps.json
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\头罩视野.runtimeconfig.json
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\bin\Debug\net10.0-windows\头罩视野.pdb
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\头罩视野.genruntimeconfig.cache
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\ref\头罩视野.dll

View File

@@ -1,605 +0,0 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v10.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v10.0": {
"EPPlus/8.5.3": {
"dependencies": {
"EPPlus.Interfaces": "8.4.0",
"Microsoft.Extensions.Configuration.Json": "10.0.6",
"Microsoft.IO.RecyclableMemoryStream": "3.0.1",
"System.ComponentModel.Annotations": "5.0.0"
},
"runtime": {
"lib/net10.0/EPPlus.dll": {
"assemblyVersion": "8.5.3.0",
"fileVersion": "8.5.3.0"
}
}
},
"EPPlus.Interfaces/8.4.0": {
"runtime": {
"lib/net10.0/EPPlus.Interfaces.dll": {
"assemblyVersion": "8.4.0.0",
"fileVersion": "8.4.0.0"
}
}
},
"HandyControl/3.5.1": {
"runtime": {
"lib/net8.0/HandyControl.dll": {
"assemblyVersion": "3.5.1.0",
"fileVersion": "3.5.1.0"
}
}
},
"Microsoft.Extensions.Configuration/10.0.6": {
"dependencies": {
"Microsoft.Extensions.Configuration.Abstractions": "10.0.6",
"Microsoft.Extensions.Primitives": "10.0.6"
},
"runtime": {
"lib/net10.0/Microsoft.Extensions.Configuration.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.626.17701"
}
}
},
"Microsoft.Extensions.Configuration.Abstractions/10.0.6": {
"dependencies": {
"Microsoft.Extensions.Primitives": "10.0.6"
},
"runtime": {
"lib/net10.0/Microsoft.Extensions.Configuration.Abstractions.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.626.17701"
}
}
},
"Microsoft.Extensions.Configuration.FileExtensions/10.0.6": {
"dependencies": {
"Microsoft.Extensions.Configuration": "10.0.6",
"Microsoft.Extensions.Configuration.Abstractions": "10.0.6",
"Microsoft.Extensions.FileProviders.Abstractions": "10.0.6",
"Microsoft.Extensions.FileProviders.Physical": "10.0.6",
"Microsoft.Extensions.Primitives": "10.0.6"
},
"runtime": {
"lib/net10.0/Microsoft.Extensions.Configuration.FileExtensions.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.626.17701"
}
}
},
"Microsoft.Extensions.Configuration.Json/10.0.6": {
"dependencies": {
"Microsoft.Extensions.Configuration": "10.0.6",
"Microsoft.Extensions.Configuration.Abstractions": "10.0.6",
"Microsoft.Extensions.Configuration.FileExtensions": "10.0.6",
"Microsoft.Extensions.FileProviders.Abstractions": "10.0.6"
},
"runtime": {
"lib/net10.0/Microsoft.Extensions.Configuration.Json.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.626.17701"
}
}
},
"Microsoft.Extensions.FileProviders.Abstractions/10.0.6": {
"dependencies": {
"Microsoft.Extensions.Primitives": "10.0.6"
},
"runtime": {
"lib/net10.0/Microsoft.Extensions.FileProviders.Abstractions.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.626.17701"
}
}
},
"Microsoft.Extensions.FileProviders.Physical/10.0.6": {
"dependencies": {
"Microsoft.Extensions.FileProviders.Abstractions": "10.0.6",
"Microsoft.Extensions.FileSystemGlobbing": "10.0.6",
"Microsoft.Extensions.Primitives": "10.0.6"
},
"runtime": {
"lib/net10.0/Microsoft.Extensions.FileProviders.Physical.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.626.17701"
}
}
},
"Microsoft.Extensions.FileSystemGlobbing/10.0.6": {
"runtime": {
"lib/net10.0/Microsoft.Extensions.FileSystemGlobbing.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.626.17701"
}
}
},
"Microsoft.Extensions.Primitives/10.0.6": {
"runtime": {
"lib/net10.0/Microsoft.Extensions.Primitives.dll": {
"assemblyVersion": "10.0.0.0",
"fileVersion": "10.0.626.17701"
}
}
},
"Microsoft.IO.RecyclableMemoryStream/3.0.1": {
"runtime": {
"lib/net6.0/Microsoft.IO.RecyclableMemoryStream.dll": {
"assemblyVersion": "3.0.1.0",
"fileVersion": "3.0.1.0"
}
}
},
"NModbus4/2.1.0": {
"runtime": {
"lib/net40/NModbus4.dll": {
"assemblyVersion": "2.1.0.0",
"fileVersion": "2.1.0.0"
}
}
},
"runtime.android-arm.runtime.native.System.IO.Ports/10.0.6": {
"runtimeTargets": {
"runtimes/android-arm/native/libSystem.IO.Ports.Native.so": {
"rid": "android-arm",
"assetType": "native",
"fileVersion": "0.0.0.0"
}
}
},
"runtime.android-arm64.runtime.native.System.IO.Ports/10.0.6": {
"runtimeTargets": {
"runtimes/android-arm64/native/libSystem.IO.Ports.Native.so": {
"rid": "android-arm64",
"assetType": "native",
"fileVersion": "0.0.0.0"
}
}
},
"runtime.android-x64.runtime.native.System.IO.Ports/10.0.6": {
"runtimeTargets": {
"runtimes/android-x64/native/libSystem.IO.Ports.Native.so": {
"rid": "android-x64",
"assetType": "native",
"fileVersion": "0.0.0.0"
}
}
},
"runtime.android-x86.runtime.native.System.IO.Ports/10.0.6": {
"runtimeTargets": {
"runtimes/android-x86/native/libSystem.IO.Ports.Native.so": {
"rid": "android-x86",
"assetType": "native",
"fileVersion": "0.0.0.0"
}
}
},
"runtime.linux-arm.runtime.native.System.IO.Ports/10.0.6": {
"runtimeTargets": {
"runtimes/linux-arm/native/libSystem.IO.Ports.Native.so": {
"rid": "linux-arm",
"assetType": "native",
"fileVersion": "0.0.0.0"
}
}
},
"runtime.linux-arm64.runtime.native.System.IO.Ports/10.0.6": {
"runtimeTargets": {
"runtimes/linux-arm64/native/libSystem.IO.Ports.Native.so": {
"rid": "linux-arm64",
"assetType": "native",
"fileVersion": "0.0.0.0"
}
}
},
"runtime.linux-bionic-arm64.runtime.native.System.IO.Ports/10.0.6": {
"runtimeTargets": {
"runtimes/linux-bionic-arm64/native/libSystem.IO.Ports.Native.so": {
"rid": "linux-bionic-arm64",
"assetType": "native",
"fileVersion": "0.0.0.0"
}
}
},
"runtime.linux-bionic-x64.runtime.native.System.IO.Ports/10.0.6": {
"runtimeTargets": {
"runtimes/linux-bionic-x64/native/libSystem.IO.Ports.Native.so": {
"rid": "linux-bionic-x64",
"assetType": "native",
"fileVersion": "0.0.0.0"
}
}
},
"runtime.linux-musl-arm.runtime.native.System.IO.Ports/10.0.6": {
"runtimeTargets": {
"runtimes/linux-musl-arm/native/libSystem.IO.Ports.Native.so": {
"rid": "linux-musl-arm",
"assetType": "native",
"fileVersion": "0.0.0.0"
}
}
},
"runtime.linux-musl-arm64.runtime.native.System.IO.Ports/10.0.6": {
"runtimeTargets": {
"runtimes/linux-musl-arm64/native/libSystem.IO.Ports.Native.so": {
"rid": "linux-musl-arm64",
"assetType": "native",
"fileVersion": "0.0.0.0"
}
}
},
"runtime.linux-musl-x64.runtime.native.System.IO.Ports/10.0.6": {
"runtimeTargets": {
"runtimes/linux-musl-x64/native/libSystem.IO.Ports.Native.so": {
"rid": "linux-musl-x64",
"assetType": "native",
"fileVersion": "0.0.0.0"
}
}
},
"runtime.linux-x64.runtime.native.System.IO.Ports/10.0.6": {
"runtimeTargets": {
"runtimes/linux-x64/native/libSystem.IO.Ports.Native.so": {
"rid": "linux-x64",
"assetType": "native",
"fileVersion": "0.0.0.0"
}
}
},
"runtime.maccatalyst-arm64.runtime.native.System.IO.Ports/10.0.6": {
"runtimeTargets": {
"runtimes/maccatalyst-arm64/native/libSystem.IO.Ports.Native.dylib": {
"rid": "maccatalyst-arm64",
"assetType": "native",
"fileVersion": "0.0.0.0"
}
}
},
"runtime.maccatalyst-x64.runtime.native.System.IO.Ports/10.0.6": {
"runtimeTargets": {
"runtimes/maccatalyst-x64/native/libSystem.IO.Ports.Native.dylib": {
"rid": "maccatalyst-x64",
"assetType": "native",
"fileVersion": "0.0.0.0"
}
}
},
"runtime.native.System.IO.Ports/10.0.6": {
"dependencies": {
"runtime.android-arm.runtime.native.System.IO.Ports": "10.0.6",
"runtime.android-arm64.runtime.native.System.IO.Ports": "10.0.6",
"runtime.android-x64.runtime.native.System.IO.Ports": "10.0.6",
"runtime.android-x86.runtime.native.System.IO.Ports": "10.0.6",
"runtime.linux-arm.runtime.native.System.IO.Ports": "10.0.6",
"runtime.linux-arm64.runtime.native.System.IO.Ports": "10.0.6",
"runtime.linux-bionic-arm64.runtime.native.System.IO.Ports": "10.0.6",
"runtime.linux-bionic-x64.runtime.native.System.IO.Ports": "10.0.6",
"runtime.linux-musl-arm.runtime.native.System.IO.Ports": "10.0.6",
"runtime.linux-musl-arm64.runtime.native.System.IO.Ports": "10.0.6",
"runtime.linux-musl-x64.runtime.native.System.IO.Ports": "10.0.6",
"runtime.linux-x64.runtime.native.System.IO.Ports": "10.0.6",
"runtime.maccatalyst-arm64.runtime.native.System.IO.Ports": "10.0.6",
"runtime.maccatalyst-x64.runtime.native.System.IO.Ports": "10.0.6",
"runtime.osx-arm64.runtime.native.System.IO.Ports": "10.0.6",
"runtime.osx-x64.runtime.native.System.IO.Ports": "10.0.6"
}
},
"runtime.osx-arm64.runtime.native.System.IO.Ports/10.0.6": {
"runtimeTargets": {
"runtimes/osx-arm64/native/libSystem.IO.Ports.Native.dylib": {
"rid": "osx-arm64",
"assetType": "native",
"fileVersion": "0.0.0.0"
}
}
},
"runtime.osx-x64.runtime.native.System.IO.Ports/10.0.6": {
"runtimeTargets": {
"runtimes/osx-x64/native/libSystem.IO.Ports.Native.dylib": {
"rid": "osx-x64",
"assetType": "native",
"fileVersion": "0.0.0.0"
}
}
},
"SunnyUI/3.9.6": {
"dependencies": {
"SunnyUI.Common": "3.9.6"
},
"runtime": {
"lib/net10.0-windows7.0/SunnyUI.dll": {
"assemblyVersion": "3.9.6.0",
"fileVersion": "3.9.6.0"
}
}
},
"SunnyUI.Common/3.9.6": {
"runtime": {
"lib/net10.0/SunnyUI.Common.dll": {
"assemblyVersion": "3.9.6.0",
"fileVersion": "3.9.6.0"
}
}
},
"System.ComponentModel.Annotations/5.0.0": {
"runtime": {
"lib/netstandard2.1/System.ComponentModel.Annotations.dll": {
"assemblyVersion": "5.0.0.0",
"fileVersion": "5.0.20.51904"
}
}
},
"System.IO.Ports/10.0.6": {
"dependencies": {
"runtime.native.System.IO.Ports": "10.0.6"
},
"runtime": {
"lib/net10.0/System.IO.Ports.dll": {
"assemblyVersion": "10.0.0.6",
"fileVersion": "10.0.626.17701"
}
},
"runtimeTargets": {
"runtimes/unix/lib/net10.0/System.IO.Ports.dll": {
"rid": "unix",
"assetType": "runtime",
"assemblyVersion": "10.0.0.6",
"fileVersion": "10.0.626.17701"
},
"runtimes/win/lib/net10.0/System.IO.Ports.dll": {
"rid": "win",
"assetType": "runtime",
"assemblyVersion": "10.0.0.6",
"fileVersion": "10.0.626.17701"
}
}
}
}
},
"libraries": {
"EPPlus/8.5.3": {
"type": "package",
"serviceable": true,
"sha512": "sha512-wU+ogF8qJTLoAqmD+X7ZCWAj2uUsIV8omXm4SkHhIGS4LPfWxlFDQhLb5FPedNp+0dDEA2S8dEpvtCezpzUgBA==",
"path": "epplus/8.5.3",
"hashPath": "epplus.8.5.3.nupkg.sha512"
},
"EPPlus.Interfaces/8.4.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-QaEzDFG2vcQMPqUmoWv0vBTObtH8hffQmyDr2WkqRYF/nFSn2pkdBB4vudcd/EIv0N8M3P1fzzkPQgEWsFnUmA==",
"path": "epplus.interfaces/8.4.0",
"hashPath": "epplus.interfaces.8.4.0.nupkg.sha512"
},
"HandyControl/3.5.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-i2i0xrLev7F1MFnhf0DP1CNCdGw8hVJ0HJrI0kxRv02ZJgaAzLzDTgAXDPY8GAoD3aYnBLSgM74lBHZ844KQnQ==",
"path": "handycontrol/3.5.1",
"hashPath": "handycontrol.3.5.1.nupkg.sha512"
},
"Microsoft.Extensions.Configuration/10.0.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-lYQ9S1FGXIWIU7243RimdAXQYsFDeLhSSZvbSDwbeI/kCzZ4MIYXpp3kMQ+bDJXwl9pzMRIYkd4f9zGqcYxfAQ==",
"path": "microsoft.extensions.configuration/10.0.6",
"hashPath": "microsoft.extensions.configuration.10.0.6.nupkg.sha512"
},
"Microsoft.Extensions.Configuration.Abstractions/10.0.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-a7bA7IT3ngIgcOMb/2MVH5CcfSxUCeQ6QXWS1Vt6oFpzLTH3U1+J2Xtc64Uw3whX9akYG8eR/UQeEzxo64zZLg==",
"path": "microsoft.extensions.configuration.abstractions/10.0.6",
"hashPath": "microsoft.extensions.configuration.abstractions.10.0.6.nupkg.sha512"
},
"Microsoft.Extensions.Configuration.FileExtensions/10.0.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-hils30RkqBbtQVupvgUr7sgxJUYPc6YMEDge1QAXGTOhbRlqk2I0OH+BWMSsQjYnbGX2Ytl6EkrLgu9im6vE0w==",
"path": "microsoft.extensions.configuration.fileextensions/10.0.6",
"hashPath": "microsoft.extensions.configuration.fileextensions.10.0.6.nupkg.sha512"
},
"Microsoft.Extensions.Configuration.Json/10.0.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-o/IG5ywTfT5U1ANCAC4w1vKtXapdL/OlunywrWboySYJB79eX0+mw7qxqNRkq1WMZOJoSyjPjbyZ17l3LS7A6Q==",
"path": "microsoft.extensions.configuration.json/10.0.6",
"hashPath": "microsoft.extensions.configuration.json.10.0.6.nupkg.sha512"
},
"Microsoft.Extensions.FileProviders.Abstractions/10.0.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-iU/lPyrjHVA4jJ7Bl/VpXvgsAD4qJWc4oPSVJjMBeZjmv7IIo8wBKxnOUoXdZcSCUJ6MeBMs3WpXNfncO7OzRg==",
"path": "microsoft.extensions.fileproviders.abstractions/10.0.6",
"hashPath": "microsoft.extensions.fileproviders.abstractions.10.0.6.nupkg.sha512"
},
"Microsoft.Extensions.FileProviders.Physical/10.0.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-t6T7umdzTKkSBOUMe5RYk826cTCsDU0hne9lPN5RGOSb3Kq0Xw8OEErM4zJ4dgZWV3G0ObK1Hf1IVU88uIKe6A==",
"path": "microsoft.extensions.fileproviders.physical/10.0.6",
"hashPath": "microsoft.extensions.fileproviders.physical.10.0.6.nupkg.sha512"
},
"Microsoft.Extensions.FileSystemGlobbing/10.0.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-EG9GuYJlj1o1G8maSpKceZdj88OehKFRWaWp8BWUQWlvIJDWD8N0sIYDoRMGL/yX85H8KbVYPR9+dH/UjPEiKw==",
"path": "microsoft.extensions.filesystemglobbing/10.0.6",
"hashPath": "microsoft.extensions.filesystemglobbing.10.0.6.nupkg.sha512"
},
"Microsoft.Extensions.Primitives/10.0.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-L8P21mqaG+CXvPheLndean/cHCOcItJqH8nx+0YQnK7wAiOR0G1IOC418ZSzTMD2D6Gmo0f2M5WR70XtpX2B8g==",
"path": "microsoft.extensions.primitives/10.0.6",
"hashPath": "microsoft.extensions.primitives.10.0.6.nupkg.sha512"
},
"Microsoft.IO.RecyclableMemoryStream/3.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-s/s20YTVY9r9TPfTrN5g8zPF1YhwxyqO6PxUkrYTGI2B+OGPe9AdajWZrLhFqXIvqIW23fnUE4+ztrUWNU1+9g==",
"path": "microsoft.io.recyclablememorystream/3.0.1",
"hashPath": "microsoft.io.recyclablememorystream.3.0.1.nupkg.sha512"
},
"NModbus4/2.1.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-hGoxVFImyP2UC/vyaBjS3ZCLEqn3nqDWOfiePUfSTPpI4EhF4xUe6VnQ5W6m9oFK/6unKAaWQZh89WE+I31Spw==",
"path": "nmodbus4/2.1.0",
"hashPath": "nmodbus4.2.1.0.nupkg.sha512"
},
"runtime.android-arm.runtime.native.System.IO.Ports/10.0.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-zcgzB0mltbPSGHHWcEvF4VuLMkbexJEOi8YXBZAANm8yosQl7zLJ+qBn+vbrTFkpKRX6/BZVIt75AWR28LpT7g==",
"path": "runtime.android-arm.runtime.native.system.io.ports/10.0.6",
"hashPath": "runtime.android-arm.runtime.native.system.io.ports.10.0.6.nupkg.sha512"
},
"runtime.android-arm64.runtime.native.System.IO.Ports/10.0.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-GjSkE4lJ/0QC1/i8loskBZka/hYoa652Nk55/r9tENoqVj3MrWStEEJ4hqhqWGOMGxFoy7sLvht1cJmQcgy7lg==",
"path": "runtime.android-arm64.runtime.native.system.io.ports/10.0.6",
"hashPath": "runtime.android-arm64.runtime.native.system.io.ports.10.0.6.nupkg.sha512"
},
"runtime.android-x64.runtime.native.System.IO.Ports/10.0.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-/pt2jhQc5PcC+AUVOmlyRZNSd/w87CnFJUVzoHhGtvWOATWgorn/UkVwZTr2I5ppDUGApdsePoccMIN6k7GtDA==",
"path": "runtime.android-x64.runtime.native.system.io.ports/10.0.6",
"hashPath": "runtime.android-x64.runtime.native.system.io.ports.10.0.6.nupkg.sha512"
},
"runtime.android-x86.runtime.native.System.IO.Ports/10.0.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-N2pDU+KDeBW/2248D9LYMvA6CUrQETzORq/PCwJfKoA2j/DPb7fdSLMr81wJiSE2O0M3Tf4yAWChCXGltFzSrQ==",
"path": "runtime.android-x86.runtime.native.system.io.ports/10.0.6",
"hashPath": "runtime.android-x86.runtime.native.system.io.ports.10.0.6.nupkg.sha512"
},
"runtime.linux-arm.runtime.native.System.IO.Ports/10.0.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-Y5ChgoSDNua2pG1eY8qiJLvl0UsiARepzq3zcPY2djK4Ad6koSnEEKRW8NwSfEm8wP7TXTvJsmNsnt8uhKe65w==",
"path": "runtime.linux-arm.runtime.native.system.io.ports/10.0.6",
"hashPath": "runtime.linux-arm.runtime.native.system.io.ports.10.0.6.nupkg.sha512"
},
"runtime.linux-arm64.runtime.native.System.IO.Ports/10.0.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-aYHcbdDLVrukKO7KktgYgsrxOorHZxwN5vGidIcjEhpYo19tV0FJal+Gi0l3+BH1ztJHdR3T/ekwcxVl9ZGgVA==",
"path": "runtime.linux-arm64.runtime.native.system.io.ports/10.0.6",
"hashPath": "runtime.linux-arm64.runtime.native.system.io.ports.10.0.6.nupkg.sha512"
},
"runtime.linux-bionic-arm64.runtime.native.System.IO.Ports/10.0.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-AznqMZUmTEW1rDps7A5DfQP3yNO1vv/4PbQTeC4TF0aksKiKPzaEnBZrUSEpO7DhnPiwH+kfUi513HmomA7oIg==",
"path": "runtime.linux-bionic-arm64.runtime.native.system.io.ports/10.0.6",
"hashPath": "runtime.linux-bionic-arm64.runtime.native.system.io.ports.10.0.6.nupkg.sha512"
},
"runtime.linux-bionic-x64.runtime.native.System.IO.Ports/10.0.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-kaxA07qzyNhvbIxgvpPp5gquMEihfceGw8nL3RHFR9GByev/qkFdweLQEPsTk7hbFjGe0g1+tGH+UIuMFW7eqA==",
"path": "runtime.linux-bionic-x64.runtime.native.system.io.ports/10.0.6",
"hashPath": "runtime.linux-bionic-x64.runtime.native.system.io.ports.10.0.6.nupkg.sha512"
},
"runtime.linux-musl-arm.runtime.native.System.IO.Ports/10.0.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-yKhlAXkhJFoiFzLotPdAkvxKVnQOnNcNQhREMlOxlzO0KmRF/miNXEH+QH4O73vqm36UfJ0AFToZWeXbncWU+A==",
"path": "runtime.linux-musl-arm.runtime.native.system.io.ports/10.0.6",
"hashPath": "runtime.linux-musl-arm.runtime.native.system.io.ports.10.0.6.nupkg.sha512"
},
"runtime.linux-musl-arm64.runtime.native.System.IO.Ports/10.0.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-9GJpPkXU5Wj4VykCw5Gvb44+BxFWqxWPPJM/OD0Z/PFlH+mXpfUQCktAvlMOXM/G4reyzyBe7ctIjMd1heNJAQ==",
"path": "runtime.linux-musl-arm64.runtime.native.system.io.ports/10.0.6",
"hashPath": "runtime.linux-musl-arm64.runtime.native.system.io.ports.10.0.6.nupkg.sha512"
},
"runtime.linux-musl-x64.runtime.native.System.IO.Ports/10.0.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-B9+ImxX+XtI51k+VQTxSOit2W8D2Y42Rl9xsM6u8rsLW4pI2uRs9EhG6JPUL8CwyL2/1eP62teiUtTPTVhKUtg==",
"path": "runtime.linux-musl-x64.runtime.native.system.io.ports/10.0.6",
"hashPath": "runtime.linux-musl-x64.runtime.native.system.io.ports.10.0.6.nupkg.sha512"
},
"runtime.linux-x64.runtime.native.System.IO.Ports/10.0.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-VK9MQx+loOMSUKCG7p9tqHIH740a6TY0xxxMCuzUS7miMI66KOpq7xIynYSTTwzIA7dh8ZMqy4nUTCRTgzP6Jg==",
"path": "runtime.linux-x64.runtime.native.system.io.ports/10.0.6",
"hashPath": "runtime.linux-x64.runtime.native.system.io.ports.10.0.6.nupkg.sha512"
},
"runtime.maccatalyst-arm64.runtime.native.System.IO.Ports/10.0.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-zi4dJ+a/pXn3O7j8uWDWidBnnvScikCU0B4g7ZKV+wKyW6PlffBJiD8/F8GgEIoy0Vo2d6iE6+6IzMbOAZaYKw==",
"path": "runtime.maccatalyst-arm64.runtime.native.system.io.ports/10.0.6",
"hashPath": "runtime.maccatalyst-arm64.runtime.native.system.io.ports.10.0.6.nupkg.sha512"
},
"runtime.maccatalyst-x64.runtime.native.System.IO.Ports/10.0.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-ggw07Qn6vvbe2U5jeforuEK8weO4N9qIjwrhA1GPx+ETFVt4UoQeYAZa4fixQkpMes1p6UQN4AsH8731gSAqGQ==",
"path": "runtime.maccatalyst-x64.runtime.native.system.io.ports/10.0.6",
"hashPath": "runtime.maccatalyst-x64.runtime.native.system.io.ports.10.0.6.nupkg.sha512"
},
"runtime.native.System.IO.Ports/10.0.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-Hqu+aIqk2mC9VP+yemTHCcNwkUzvTUoXYQ5UQXRTVaxVfJLKBeK6+wEXzsu8A0ec119lIR/9vpzuXdqRLCHN9w==",
"path": "runtime.native.system.io.ports/10.0.6",
"hashPath": "runtime.native.system.io.ports.10.0.6.nupkg.sha512"
},
"runtime.osx-arm64.runtime.native.System.IO.Ports/10.0.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-5fkGTIvV4XIl058HNkhda3ZCXjHGlHQNo8XPCLMhZ35Rk/a4Pa2uNZDJXrpTh1uqDcslIkCDaYZs8XHk2kNZvg==",
"path": "runtime.osx-arm64.runtime.native.system.io.ports/10.0.6",
"hashPath": "runtime.osx-arm64.runtime.native.system.io.ports.10.0.6.nupkg.sha512"
},
"runtime.osx-x64.runtime.native.System.IO.Ports/10.0.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-L+fnSiSgKspgPErlTn2Q8R98f70AXobu6GS1OowaUdd4kQwmbYd8CwHS6GV2BWTjAgFsDPrxRNJ3cK9nPfBGrg==",
"path": "runtime.osx-x64.runtime.native.system.io.ports/10.0.6",
"hashPath": "runtime.osx-x64.runtime.native.system.io.ports.10.0.6.nupkg.sha512"
},
"SunnyUI/3.9.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-A/Ca9PiJAwW07+ARfQXM/uuLHPIOOu9j+SLhEga68b3WbeoIFytYXRBg8SM5fVOm1DV4FyDGRdIl7HixnP9mXA==",
"path": "sunnyui/3.9.6",
"hashPath": "sunnyui.3.9.6.nupkg.sha512"
},
"SunnyUI.Common/3.9.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-QZzIVvnLNjj4jF6GBWMLWXA0V7hxbTO8CpwYFIOWeQe2d2rib94ztJauCYGe1NVaQwms400Xy6OUhuPvRIFpOQ==",
"path": "sunnyui.common/3.9.6",
"hashPath": "sunnyui.common.3.9.6.nupkg.sha512"
},
"System.ComponentModel.Annotations/5.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-dMkqfy2el8A8/I76n2Hi1oBFEbG1SfxD2l5nhwXV3XjlnOmwxJlQbYpJH4W51odnU9sARCSAgv7S3CyAFMkpYg==",
"path": "system.componentmodel.annotations/5.0.0",
"hashPath": "system.componentmodel.annotations.5.0.0.nupkg.sha512"
},
"System.IO.Ports/10.0.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-+rKTjiJwrN8F/9Zncnj4bbb1fHtPQBsp91cGVAqPqt4vEyOrYcAtdAVQBvhi0X83Fl9YnRrkSZm0f3346H9Icw==",
"path": "system.io.ports/10.0.6",
"hashPath": "system.io.ports.10.0.6.nupkg.sha512"
}
}
}

View File

@@ -1,24 +0,0 @@
{
"runtimeOptions": {
"tfm": "net10.0",
"frameworks": [
{
"name": "Microsoft.NETCore.App",
"version": "10.0.0"
},
{
"name": "Microsoft.WindowsDesktop.App",
"version": "10.0.0"
}
],
"additionalProbingPaths": [
"C:\\Users\\31119\\.dotnet\\store\\|arch|\\|tfm|",
"C:\\Users\\31119\\.nuget\\packages"
],
"configProperties": {
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false,
"CSWINRT_USE_WINDOWS_UI_XAML_PROJECTIONS": false,
"Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true
}
}
}

View File

@@ -1,12 +0,0 @@
FD:\work\hoodFieldOfView\头罩视野slove\头罩视野\App.xaml;;
FD:\work\hoodFieldOfView\头罩视野slove\头罩视野\MainWindow.xaml;;
FD:\work\hoodFieldOfView\头罩视野slove\头罩视野\Views\ChangeLanguage.xaml;;
FD:\work\hoodFieldOfView\头罩视野slove\头罩视野\Views\Help.xaml;;
FD:\work\hoodFieldOfView\头罩视野slove\头罩视野\Views\PageTest.xaml;;
FD:\work\hoodFieldOfView\头罩视野slove\头罩视野\Views\RecordDate.xaml;;
FD:\work\hoodFieldOfView\头罩视野slove\头罩视野\Views\RecordPage.xaml;;
FD:\work\hoodFieldOfView\头罩视野slove\头罩视野\Views\SetPassWord.xaml;;
FD:\work\hoodFieldOfView\头罩视野slove\头罩视野\Views\SetTime.xaml;;
FD:\work\hoodFieldOfView\头罩视野slove\头罩视野\Views\VisiData.xaml;;

File diff suppressed because it is too large Load Diff

View File

@@ -1,56 +0,0 @@
{
"version": 2,
"dgSpecHash": "DsvD7JKBhMo=",
"success": true,
"projectFilePath": "D:\\work\\hoodFieldOfView\\头罩视野slove\\头罩视野\\头罩视野.csproj",
"expectedPackageFiles": [
"C:\\Users\\31119\\.nuget\\packages\\epplus\\8.5.3\\epplus.8.5.3.nupkg.sha512",
"C:\\Users\\31119\\.nuget\\packages\\epplus.interfaces\\8.4.0\\epplus.interfaces.8.4.0.nupkg.sha512",
"C:\\Users\\31119\\.nuget\\packages\\handycontrol\\3.5.1\\handycontrol.3.5.1.nupkg.sha512",
"C:\\Users\\31119\\.nuget\\packages\\microsoft.extensions.configuration\\10.0.6\\microsoft.extensions.configuration.10.0.6.nupkg.sha512",
"C:\\Users\\31119\\.nuget\\packages\\microsoft.extensions.configuration.abstractions\\10.0.6\\microsoft.extensions.configuration.abstractions.10.0.6.nupkg.sha512",
"C:\\Users\\31119\\.nuget\\packages\\microsoft.extensions.configuration.fileextensions\\10.0.6\\microsoft.extensions.configuration.fileextensions.10.0.6.nupkg.sha512",
"C:\\Users\\31119\\.nuget\\packages\\microsoft.extensions.configuration.json\\10.0.6\\microsoft.extensions.configuration.json.10.0.6.nupkg.sha512",
"C:\\Users\\31119\\.nuget\\packages\\microsoft.extensions.fileproviders.abstractions\\10.0.6\\microsoft.extensions.fileproviders.abstractions.10.0.6.nupkg.sha512",
"C:\\Users\\31119\\.nuget\\packages\\microsoft.extensions.fileproviders.physical\\10.0.6\\microsoft.extensions.fileproviders.physical.10.0.6.nupkg.sha512",
"C:\\Users\\31119\\.nuget\\packages\\microsoft.extensions.filesystemglobbing\\10.0.6\\microsoft.extensions.filesystemglobbing.10.0.6.nupkg.sha512",
"C:\\Users\\31119\\.nuget\\packages\\microsoft.extensions.primitives\\10.0.6\\microsoft.extensions.primitives.10.0.6.nupkg.sha512",
"C:\\Users\\31119\\.nuget\\packages\\microsoft.io.recyclablememorystream\\3.0.1\\microsoft.io.recyclablememorystream.3.0.1.nupkg.sha512",
"C:\\Users\\31119\\.nuget\\packages\\nmodbus4\\2.1.0\\nmodbus4.2.1.0.nupkg.sha512",
"C:\\Users\\31119\\.nuget\\packages\\runtime.android-arm.runtime.native.system.io.ports\\10.0.6\\runtime.android-arm.runtime.native.system.io.ports.10.0.6.nupkg.sha512",
"C:\\Users\\31119\\.nuget\\packages\\runtime.android-arm64.runtime.native.system.io.ports\\10.0.6\\runtime.android-arm64.runtime.native.system.io.ports.10.0.6.nupkg.sha512",
"C:\\Users\\31119\\.nuget\\packages\\runtime.android-x64.runtime.native.system.io.ports\\10.0.6\\runtime.android-x64.runtime.native.system.io.ports.10.0.6.nupkg.sha512",
"C:\\Users\\31119\\.nuget\\packages\\runtime.android-x86.runtime.native.system.io.ports\\10.0.6\\runtime.android-x86.runtime.native.system.io.ports.10.0.6.nupkg.sha512",
"C:\\Users\\31119\\.nuget\\packages\\runtime.linux-arm.runtime.native.system.io.ports\\10.0.6\\runtime.linux-arm.runtime.native.system.io.ports.10.0.6.nupkg.sha512",
"C:\\Users\\31119\\.nuget\\packages\\runtime.linux-arm64.runtime.native.system.io.ports\\10.0.6\\runtime.linux-arm64.runtime.native.system.io.ports.10.0.6.nupkg.sha512",
"C:\\Users\\31119\\.nuget\\packages\\runtime.linux-bionic-arm64.runtime.native.system.io.ports\\10.0.6\\runtime.linux-bionic-arm64.runtime.native.system.io.ports.10.0.6.nupkg.sha512",
"C:\\Users\\31119\\.nuget\\packages\\runtime.linux-bionic-x64.runtime.native.system.io.ports\\10.0.6\\runtime.linux-bionic-x64.runtime.native.system.io.ports.10.0.6.nupkg.sha512",
"C:\\Users\\31119\\.nuget\\packages\\runtime.linux-musl-arm.runtime.native.system.io.ports\\10.0.6\\runtime.linux-musl-arm.runtime.native.system.io.ports.10.0.6.nupkg.sha512",
"C:\\Users\\31119\\.nuget\\packages\\runtime.linux-musl-arm64.runtime.native.system.io.ports\\10.0.6\\runtime.linux-musl-arm64.runtime.native.system.io.ports.10.0.6.nupkg.sha512",
"C:\\Users\\31119\\.nuget\\packages\\runtime.linux-musl-x64.runtime.native.system.io.ports\\10.0.6\\runtime.linux-musl-x64.runtime.native.system.io.ports.10.0.6.nupkg.sha512",
"C:\\Users\\31119\\.nuget\\packages\\runtime.linux-x64.runtime.native.system.io.ports\\10.0.6\\runtime.linux-x64.runtime.native.system.io.ports.10.0.6.nupkg.sha512",
"C:\\Users\\31119\\.nuget\\packages\\runtime.maccatalyst-arm64.runtime.native.system.io.ports\\10.0.6\\runtime.maccatalyst-arm64.runtime.native.system.io.ports.10.0.6.nupkg.sha512",
"C:\\Users\\31119\\.nuget\\packages\\runtime.maccatalyst-x64.runtime.native.system.io.ports\\10.0.6\\runtime.maccatalyst-x64.runtime.native.system.io.ports.10.0.6.nupkg.sha512",
"C:\\Users\\31119\\.nuget\\packages\\runtime.native.system.io.ports\\10.0.6\\runtime.native.system.io.ports.10.0.6.nupkg.sha512",
"C:\\Users\\31119\\.nuget\\packages\\runtime.osx-arm64.runtime.native.system.io.ports\\10.0.6\\runtime.osx-arm64.runtime.native.system.io.ports.10.0.6.nupkg.sha512",
"C:\\Users\\31119\\.nuget\\packages\\runtime.osx-x64.runtime.native.system.io.ports\\10.0.6\\runtime.osx-x64.runtime.native.system.io.ports.10.0.6.nupkg.sha512",
"C:\\Users\\31119\\.nuget\\packages\\sunnyui\\3.9.6\\sunnyui.3.9.6.nupkg.sha512",
"C:\\Users\\31119\\.nuget\\packages\\sunnyui.common\\3.9.6\\sunnyui.common.3.9.6.nupkg.sha512",
"C:\\Users\\31119\\.nuget\\packages\\system.componentmodel.annotations\\5.0.0\\system.componentmodel.annotations.5.0.0.nupkg.sha512",
"C:\\Users\\31119\\.nuget\\packages\\system.io.ports\\10.0.6\\system.io.ports.10.0.6.nupkg.sha512"
],
"logs": [
{
"code": "NU1701",
"level": "Warning",
"message": "已使用“.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1”而不是项目目标框架“net10.0-windows7.0”还原包“NModbus4 2.1.0”。此包可能与项目不完全兼容。",
"projectPath": "D:\\work\\hoodFieldOfView\\头罩视野slove\\头罩视野\\头罩视野.csproj",
"warningLevel": 1,
"filePath": "D:\\work\\hoodFieldOfView\\头罩视野slove\\头罩视野\\头罩视野.csproj",
"libraryId": "NModbus4",
"targetGraphs": [
"net10.0-windows"
]
}
]
}

View File

@@ -1,386 +0,0 @@
{
"format": 1,
"restore": {
"D:\\work\\hoodFieldOfView\\头罩视野slove\\头罩视野\\头罩视野.csproj": {}
},
"projects": {
"D:\\work\\hoodFieldOfView\\头罩视野slove\\头罩视野\\头罩视野.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "D:\\work\\hoodFieldOfView\\头罩视野slove\\头罩视野\\头罩视野.csproj",
"projectName": "头罩视野",
"projectPath": "D:\\work\\hoodFieldOfView\\头罩视野slove\\头罩视野\\头罩视野.csproj",
"packagesPath": "C:\\Users\\31119\\.nuget\\packages\\",
"outputPath": "D:\\work\\hoodFieldOfView\\头罩视野slove\\头罩视野\\obj\\",
"projectStyle": "PackageReference",
"configFilePaths": [
"C:\\Users\\31119\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net10.0-windows"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net10.0-windows": {
"framework": "net10.0-windows7.0",
"targetAlias": "net10.0-windows",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "all"
},
"SdkAnalysisLevel": "10.0.200"
},
"frameworks": {
"net10.0-windows": {
"framework": "net10.0-windows7.0",
"targetAlias": "net10.0-windows",
"dependencies": {
"EPPlus": {
"target": "Package",
"version": "[8.5.3, )"
},
"HandyControl": {
"target": "Package",
"version": "[3.5.1, )"
},
"NModbus4": {
"target": "Package",
"version": "[2.1.0, )"
},
"SunnyUI": {
"target": "Package",
"version": "[3.9.6, )"
},
"System.IO.Ports": {
"target": "Package",
"version": "[10.0.6, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
},
"Microsoft.WindowsDesktop.App.WPF": {
"privateAssets": "none"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.202/PortableRuntimeIdentifierGraph.json",
"packagesToPrune": {
"Microsoft.CSharp": "(,4.7.32767]",
"Microsoft.VisualBasic": "(,10.4.32767]",
"Microsoft.Win32.Primitives": "(,4.3.32767]",
"Microsoft.Win32.Registry": "(,5.0.32767]",
"Microsoft.Win32.Registry.AccessControl": "(,10.0.32767]",
"Microsoft.Win32.SystemEvents": "(,10.0.32767]",
"runtime.any.System.Collections": "(,4.3.32767]",
"runtime.any.System.Diagnostics.Tools": "(,4.3.32767]",
"runtime.any.System.Diagnostics.Tracing": "(,4.3.32767]",
"runtime.any.System.Globalization": "(,4.3.32767]",
"runtime.any.System.Globalization.Calendars": "(,4.3.32767]",
"runtime.any.System.IO": "(,4.3.32767]",
"runtime.any.System.Reflection": "(,4.3.32767]",
"runtime.any.System.Reflection.Extensions": "(,4.3.32767]",
"runtime.any.System.Reflection.Primitives": "(,4.3.32767]",
"runtime.any.System.Resources.ResourceManager": "(,4.3.32767]",
"runtime.any.System.Runtime": "(,4.3.32767]",
"runtime.any.System.Runtime.Handles": "(,4.3.32767]",
"runtime.any.System.Runtime.InteropServices": "(,4.3.32767]",
"runtime.any.System.Text.Encoding": "(,4.3.32767]",
"runtime.any.System.Text.Encoding.Extensions": "(,4.3.32767]",
"runtime.any.System.Threading.Tasks": "(,4.3.32767]",
"runtime.any.System.Threading.Timer": "(,4.3.32767]",
"runtime.aot.System.Collections": "(,4.3.32767]",
"runtime.aot.System.Diagnostics.Tools": "(,4.3.32767]",
"runtime.aot.System.Diagnostics.Tracing": "(,4.3.32767]",
"runtime.aot.System.Globalization": "(,4.3.32767]",
"runtime.aot.System.Globalization.Calendars": "(,4.3.32767]",
"runtime.aot.System.IO": "(,4.3.32767]",
"runtime.aot.System.Reflection": "(,4.3.32767]",
"runtime.aot.System.Reflection.Extensions": "(,4.3.32767]",
"runtime.aot.System.Reflection.Primitives": "(,4.3.32767]",
"runtime.aot.System.Resources.ResourceManager": "(,4.3.32767]",
"runtime.aot.System.Runtime": "(,4.3.32767]",
"runtime.aot.System.Runtime.Handles": "(,4.3.32767]",
"runtime.aot.System.Runtime.InteropServices": "(,4.3.32767]",
"runtime.aot.System.Text.Encoding": "(,4.3.32767]",
"runtime.aot.System.Text.Encoding.Extensions": "(,4.3.32767]",
"runtime.aot.System.Threading.Tasks": "(,4.3.32767]",
"runtime.aot.System.Threading.Timer": "(,4.3.32767]",
"runtime.debian.8-x64.runtime.native.System": "(,4.3.32767]",
"runtime.debian.8-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
"runtime.debian.8-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
"runtime.debian.8-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
"runtime.debian.8-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
"runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
"runtime.debian.9-x64.runtime.native.System": "(,4.3.32767]",
"runtime.debian.9-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
"runtime.debian.9-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
"runtime.debian.9-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
"runtime.fedora.23-x64.runtime.native.System": "(,4.3.32767]",
"runtime.fedora.23-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
"runtime.fedora.23-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
"runtime.fedora.23-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
"runtime.fedora.23-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
"runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
"runtime.fedora.24-x64.runtime.native.System": "(,4.3.32767]",
"runtime.fedora.24-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
"runtime.fedora.24-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
"runtime.fedora.24-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
"runtime.fedora.24-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
"runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
"runtime.fedora.27-x64.runtime.native.System": "(,4.3.32767]",
"runtime.fedora.27-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
"runtime.fedora.27-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
"runtime.fedora.27-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
"runtime.fedora.28-x64.runtime.native.System": "(,4.3.32767]",
"runtime.fedora.28-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
"runtime.fedora.28-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
"runtime.fedora.28-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
"runtime.opensuse.13.2-x64.runtime.native.System": "(,4.3.32767]",
"runtime.opensuse.13.2-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
"runtime.opensuse.13.2-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
"runtime.opensuse.13.2-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
"runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
"runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
"runtime.opensuse.42.1-x64.runtime.native.System": "(,4.3.32767]",
"runtime.opensuse.42.1-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
"runtime.opensuse.42.1-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
"runtime.opensuse.42.1-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
"runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
"runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
"runtime.opensuse.42.3-x64.runtime.native.System": "(,4.3.32767]",
"runtime.opensuse.42.3-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
"runtime.opensuse.42.3-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
"runtime.opensuse.42.3-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
"runtime.osx.10.10-x64.runtime.native.System": "(,4.3.32767]",
"runtime.osx.10.10-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
"runtime.osx.10.10-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
"runtime.osx.10.10-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
"runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
"runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": "(,4.3.32767]",
"runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
"runtime.rhel.7-x64.runtime.native.System": "(,4.3.32767]",
"runtime.rhel.7-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
"runtime.rhel.7-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
"runtime.rhel.7-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
"runtime.rhel.7-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
"runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
"runtime.ubuntu.14.04-x64.runtime.native.System": "(,4.3.32767]",
"runtime.ubuntu.14.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
"runtime.ubuntu.14.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
"runtime.ubuntu.14.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
"runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
"runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
"runtime.ubuntu.16.04-x64.runtime.native.System": "(,4.3.32767]",
"runtime.ubuntu.16.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
"runtime.ubuntu.16.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
"runtime.ubuntu.16.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
"runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
"runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
"runtime.ubuntu.16.10-x64.runtime.native.System": "(,4.3.32767]",
"runtime.ubuntu.16.10-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
"runtime.ubuntu.16.10-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
"runtime.ubuntu.16.10-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
"runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]",
"runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]",
"runtime.ubuntu.18.04-x64.runtime.native.System": "(,4.3.32767]",
"runtime.ubuntu.18.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
"runtime.ubuntu.18.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]",
"runtime.ubuntu.18.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]",
"runtime.unix.Microsoft.Win32.Primitives": "(,4.3.32767]",
"runtime.unix.System.Console": "(,4.3.32767]",
"runtime.unix.System.Diagnostics.Debug": "(,4.3.32767]",
"runtime.unix.System.IO.FileSystem": "(,4.3.32767]",
"runtime.unix.System.Net.Primitives": "(,4.3.32767]",
"runtime.unix.System.Net.Sockets": "(,4.3.32767]",
"runtime.unix.System.Private.Uri": "(,4.3.32767]",
"runtime.unix.System.Runtime.Extensions": "(,4.3.32767]",
"runtime.win.Microsoft.Win32.Primitives": "(,4.3.32767]",
"runtime.win.System.Console": "(,4.3.32767]",
"runtime.win.System.Diagnostics.Debug": "(,4.3.32767]",
"runtime.win.System.IO.FileSystem": "(,4.3.32767]",
"runtime.win.System.Net.Primitives": "(,4.3.32767]",
"runtime.win.System.Net.Sockets": "(,4.3.32767]",
"runtime.win.System.Runtime.Extensions": "(,4.3.32767]",
"runtime.win10-arm-aot.runtime.native.System.IO.Compression": "(,4.0.32767]",
"runtime.win10-arm64.runtime.native.System.IO.Compression": "(,4.3.32767]",
"runtime.win10-x64-aot.runtime.native.System.IO.Compression": "(,4.0.32767]",
"runtime.win10-x86-aot.runtime.native.System.IO.Compression": "(,4.0.32767]",
"runtime.win7-x64.runtime.native.System.IO.Compression": "(,4.3.32767]",
"runtime.win7-x86.runtime.native.System.IO.Compression": "(,4.3.32767]",
"runtime.win7.System.Private.Uri": "(,4.3.32767]",
"runtime.win8-arm.runtime.native.System.IO.Compression": "(,4.3.32767]",
"System.AppContext": "(,4.3.32767]",
"System.Buffers": "(,5.0.32767]",
"System.CodeDom": "(,10.0.32767]",
"System.Collections": "(,4.3.32767]",
"System.Collections.Concurrent": "(,4.3.32767]",
"System.Collections.Immutable": "(,10.0.32767]",
"System.Collections.NonGeneric": "(,4.3.32767]",
"System.Collections.Specialized": "(,4.3.32767]",
"System.ComponentModel": "(,4.3.32767]",
"System.ComponentModel.Annotations": "(,4.3.32767]",
"System.ComponentModel.EventBasedAsync": "(,4.3.32767]",
"System.ComponentModel.Primitives": "(,4.3.32767]",
"System.ComponentModel.TypeConverter": "(,4.3.32767]",
"System.Configuration.ConfigurationManager": "(,10.0.32767]",
"System.Console": "(,4.3.32767]",
"System.Data.Common": "(,4.3.32767]",
"System.Data.DataSetExtensions": "(,4.4.32767]",
"System.Diagnostics.Contracts": "(,4.3.32767]",
"System.Diagnostics.Debug": "(,4.3.32767]",
"System.Diagnostics.DiagnosticSource": "(,10.0.32767]",
"System.Diagnostics.EventLog": "(,10.0.32767]",
"System.Diagnostics.FileVersionInfo": "(,4.3.32767]",
"System.Diagnostics.PerformanceCounter": "(,10.0.32767]",
"System.Diagnostics.Process": "(,4.3.32767]",
"System.Diagnostics.StackTrace": "(,4.3.32767]",
"System.Diagnostics.TextWriterTraceListener": "(,4.3.32767]",
"System.Diagnostics.Tools": "(,4.3.32767]",
"System.Diagnostics.TraceSource": "(,4.3.32767]",
"System.Diagnostics.Tracing": "(,4.3.32767]",
"System.DirectoryServices": "(,10.0.32767]",
"System.Drawing.Common": "(,10.0.32767]",
"System.Drawing.Primitives": "(,4.3.32767]",
"System.Dynamic.Runtime": "(,4.3.32767]",
"System.Formats.Asn1": "(,10.0.32767]",
"System.Formats.Nrbf": "(,10.0.32767]",
"System.Formats.Tar": "(,10.0.32767]",
"System.Globalization": "(,4.3.32767]",
"System.Globalization.Calendars": "(,4.3.32767]",
"System.Globalization.Extensions": "(,4.3.32767]",
"System.IO": "(,4.3.32767]",
"System.IO.Compression": "(,4.3.32767]",
"System.IO.Compression.ZipFile": "(,4.3.32767]",
"System.IO.FileSystem": "(,4.3.32767]",
"System.IO.FileSystem.AccessControl": "(,4.4.32767]",
"System.IO.FileSystem.DriveInfo": "(,4.3.32767]",
"System.IO.FileSystem.Primitives": "(,4.3.32767]",
"System.IO.FileSystem.Watcher": "(,4.3.32767]",
"System.IO.IsolatedStorage": "(,4.3.32767]",
"System.IO.MemoryMappedFiles": "(,4.3.32767]",
"System.IO.Packaging": "(,10.0.32767]",
"System.IO.Pipelines": "(,10.0.32767]",
"System.IO.Pipes": "(,4.3.32767]",
"System.IO.Pipes.AccessControl": "(,5.0.32767]",
"System.IO.UnmanagedMemoryStream": "(,4.3.32767]",
"System.Linq": "(,4.3.32767]",
"System.Linq.AsyncEnumerable": "(,10.0.32767]",
"System.Linq.Expressions": "(,4.3.32767]",
"System.Linq.Parallel": "(,4.3.32767]",
"System.Linq.Queryable": "(,4.3.32767]",
"System.Memory": "(,5.0.32767]",
"System.Net.Http": "(,4.3.32767]",
"System.Net.Http.Json": "(,10.0.32767]",
"System.Net.NameResolution": "(,4.3.32767]",
"System.Net.NetworkInformation": "(,4.3.32767]",
"System.Net.Ping": "(,4.3.32767]",
"System.Net.Primitives": "(,4.3.32767]",
"System.Net.Requests": "(,4.3.32767]",
"System.Net.Security": "(,4.3.32767]",
"System.Net.ServerSentEvents": "(,10.0.32767]",
"System.Net.Sockets": "(,4.3.32767]",
"System.Net.WebHeaderCollection": "(,4.3.32767]",
"System.Net.WebSockets": "(,4.3.32767]",
"System.Net.WebSockets.Client": "(,4.3.32767]",
"System.Numerics.Vectors": "(,5.0.32767]",
"System.ObjectModel": "(,4.3.32767]",
"System.Private.DataContractSerialization": "(,4.3.32767]",
"System.Private.Uri": "(,4.3.32767]",
"System.Reflection": "(,4.3.32767]",
"System.Reflection.DispatchProxy": "(,6.0.32767]",
"System.Reflection.Emit": "(,4.7.32767]",
"System.Reflection.Emit.ILGeneration": "(,4.7.32767]",
"System.Reflection.Emit.Lightweight": "(,4.7.32767]",
"System.Reflection.Extensions": "(,4.3.32767]",
"System.Reflection.Metadata": "(,10.0.32767]",
"System.Reflection.Primitives": "(,4.3.32767]",
"System.Reflection.TypeExtensions": "(,4.3.32767]",
"System.Resources.Extensions": "(,10.0.32767]",
"System.Resources.Reader": "(,4.3.32767]",
"System.Resources.ResourceManager": "(,4.3.32767]",
"System.Resources.Writer": "(,4.3.32767]",
"System.Runtime": "(,4.3.32767]",
"System.Runtime.CompilerServices.Unsafe": "(,7.0.32767]",
"System.Runtime.CompilerServices.VisualC": "(,4.3.32767]",
"System.Runtime.Extensions": "(,4.3.32767]",
"System.Runtime.Handles": "(,4.3.32767]",
"System.Runtime.InteropServices": "(,4.3.32767]",
"System.Runtime.InteropServices.RuntimeInformation": "(,4.3.32767]",
"System.Runtime.Loader": "(,4.3.32767]",
"System.Runtime.Numerics": "(,4.3.32767]",
"System.Runtime.Serialization.Formatters": "(,4.3.32767]",
"System.Runtime.Serialization.Json": "(,4.3.32767]",
"System.Runtime.Serialization.Primitives": "(,4.3.32767]",
"System.Runtime.Serialization.Xml": "(,4.3.32767]",
"System.Security.AccessControl": "(,6.0.32767]",
"System.Security.Claims": "(,4.3.32767]",
"System.Security.Cryptography.Algorithms": "(,4.3.32767]",
"System.Security.Cryptography.Cng": "(,5.0.32767]",
"System.Security.Cryptography.Csp": "(,4.3.32767]",
"System.Security.Cryptography.Encoding": "(,4.3.32767]",
"System.Security.Cryptography.OpenSsl": "(,5.0.32767]",
"System.Security.Cryptography.Pkcs": "(,10.0.32767]",
"System.Security.Cryptography.Primitives": "(,4.3.32767]",
"System.Security.Cryptography.ProtectedData": "(,10.0.32767]",
"System.Security.Cryptography.X509Certificates": "(,4.3.32767]",
"System.Security.Cryptography.Xml": "(,10.0.32767]",
"System.Security.Permissions": "(,10.0.32767]",
"System.Security.Principal": "(,4.3.32767]",
"System.Security.Principal.Windows": "(,5.0.32767]",
"System.Security.SecureString": "(,4.3.32767]",
"System.Text.Encoding": "(,4.3.32767]",
"System.Text.Encoding.CodePages": "(,10.0.32767]",
"System.Text.Encoding.Extensions": "(,4.3.32767]",
"System.Text.Encodings.Web": "(,10.0.32767]",
"System.Text.Json": "(,10.0.32767]",
"System.Text.RegularExpressions": "(,4.3.32767]",
"System.Threading": "(,4.3.32767]",
"System.Threading.AccessControl": "(,10.0.32767]",
"System.Threading.Channels": "(,10.0.32767]",
"System.Threading.Overlapped": "(,4.3.32767]",
"System.Threading.Tasks": "(,4.3.32767]",
"System.Threading.Tasks.Dataflow": "(,10.0.32767]",
"System.Threading.Tasks.Extensions": "(,5.0.32767]",
"System.Threading.Tasks.Parallel": "(,4.3.32767]",
"System.Threading.Thread": "(,4.3.32767]",
"System.Threading.ThreadPool": "(,4.3.32767]",
"System.Threading.Timer": "(,4.3.32767]",
"System.ValueTuple": "(,4.5.32767]",
"System.Windows.Extensions": "(,10.0.32767]",
"System.Xml.ReaderWriter": "(,4.3.32767]",
"System.Xml.XDocument": "(,4.3.32767]",
"System.Xml.XmlDocument": "(,4.3.32767]",
"System.Xml.XmlSerializer": "(,4.3.32767]",
"System.Xml.XPath": "(,4.3.32767]",
"System.Xml.XPath.XDocument": "(,5.0.32767]"
}
}
}
}
}
}

View File

@@ -1,18 +0,0 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\31119\.nuget\packages\</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">7.0.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\31119\.nuget\packages\" />
</ItemGroup>
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<PkgHandyControl Condition=" '$(PkgHandyControl)' == '' ">C:\Users\31119\.nuget\packages\handycontrol\3.5.1</PkgHandyControl>
</PropertyGroup>
</Project>

View File

@@ -8,6 +8,13 @@
<UseWPF>true</UseWPF>
</PropertyGroup>
<ItemGroup>
<Compile Remove="ViewModels\**" />
<EmbeddedResource Remove="ViewModels\**" />
<None Remove="ViewModels\**" />
<Page Remove="ViewModels\**" />
</ItemGroup>
<ItemGroup>
<None Remove="Images\bmg.png" />
<None Remove="Images\printTime.png" />
@@ -19,12 +26,9 @@
</ItemGroup>
<ItemGroup>
<Folder Include="ViewModels\" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="EPPlus" Version="8.5.3" />
<PackageReference Include="EPPlus" Version="7.1.0" />
<PackageReference Include="HandyControl" Version="3.5.1" />
<PackageReference Include="MathNet.Numerics" Version="5.0.0" />
<PackageReference Include="NModbus4" Version="2.1.0" />
<PackageReference Include="SunnyUI" Version="3.9.6" />
<PackageReference Include="System.IO.Ports" Version="10.0.6" />