5 Commits
new ... main

Author SHA1 Message Date
cb07f5430a Merge branch 'rain_test' 2026-04-21 12:48:04 +08:00
ef97fd8cc0 停止追踪不必要的文件 2026-04-21 12:47:57 +08:00
0c46c1516f Merge branch 'rain_test' 2026-04-20 15:34:33 +08:00
c9c221a4e7 Merge branch 'rain_test' 2026-04-20 09:46:59 +08:00
55262d0c01 test 2026-04-20 09:46:39 +08:00
82 changed files with 6475 additions and 745 deletions

View File

@@ -46,7 +46,7 @@
Fill="White" Opacity="0.15" Stroke="White" StrokeThickness="1" Grid.ColumnSpan="2"/>
<!-- 主标题区 -->
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Left" Margin="234,0,0,0">
<!-- 中文标题 -->
<TextBlock x:Name="TX_1" Text="头罩视野测试仪"
FontSize="48" FontWeight="Bold"

View File

@@ -21,30 +21,53 @@ namespace 头罩视野
public partial class MainWindow : Window
{
private TcpClient _tcpClient => ModbusResourceManager.Instance.TcpClient;
public MainWindow()
{
InitializeComponent();
ModbusHelper.Connect("192.168.1.10", 502); // 连接一次,全局生效
}
InitializeModbusTcp();
//MainFrame.Content = new Views.ChangeLanguage();
// 程序退出
protected override void OnClosed(EventArgs e)
{
base.OnClosed(e);
//ModbusHelper.Dispose();
}
//private void GoTest(object s, RoutedEventArgs e) => MainFrame.Content = new Views.PageTest();
//private void GoRecord(object s, RoutedEventArgs e) => MainFrame.Content = new Views.RecordDate();
private void GoRecord(object s, RoutedEventArgs e) => MainFrame.Content = new Views.PageTest();
//private void GoView(object s, RoutedEventArgs e) => MainFrame.Content = new Views.RecordPage();
//private void GoHome(object s, RoutedEventArgs e) => MainFrame.Content = new Views.ChangeLanguage();
private void GoTest(object s, RoutedEventArgs e) => MainFrame.Content = new Views.PageTest();
private void GoRecord(object s, RoutedEventArgs e) => MainFrame.Content = new Views.RecordDate();
private void GoView(object s, RoutedEventArgs e) => MainFrame.Content = new Views.RecordPage();
private void GoVisiPage(object s, RoutedEventArgs e) => MainFrame.Content = new Views.VisiData();
//NavigationService.Navigate(new Views.RecordDate()); 页面相互跳转
//private void ShowError(string msg) => MessageBox.Show(msg, "错误", MessageBoxButton.OK, MessageBoxImage.Error);
private void InitializeModbusTcp()
{
try
{
string plcIp = "192.168.1.10";
bool initSuccess = ModbusResourceManager.Instance.Init(plcIp, 502);
if (!initSuccess)
{
MessageBox.Show("连接Modbus服务器失败", "错误");
//this.Close();
return;
}
// 检查连接状态
if (_tcpClient == null || !_tcpClient.Connected)
{
MessageBox.Show("Modbus连接异常", "错误");
return;
}
}
catch (Exception ex)
{
ShowError($"Modbus初始化失败: {ex.Message}");
}
}
private void ShowError(string msg) => MessageBox.Show(msg, "错误", MessageBoxButton.OK, MessageBoxImage.Error);
}
}

View File

@@ -1,69 +0,0 @@
using Microsoft.Win32;
using Modbus.Device;
using System;
using System.Collections.Generic;
using System.IO;
using System.Net.Sockets;
using System.Text;
using System.Windows;
using .Services.Data;
using static .TestDataStore;
public static class ModbusHelper
{
// 全局唯一连接,所有页面共用
public static TcpClient TcpClient => ModbusResourceManager.Instance.TcpClient;
// 统一连接方法(全项目只调用一次)
public static bool Connect(string ip, int port = 502)
{
return ModbusResourceManager.Instance.Init(ip, port);
}
// 判断是否连接成功
public static bool IsConnected => TcpClient != null && TcpClient.Connected;
// <summary>
/// 公共保存方法(用户自选文件夹)
/// </summary>
/// <param name="dataList">你的数据集合</param>
/// <param name="defaultFileName">默认文件名</param>
public static void SaveToCsv(List<dynamic> dataList, string defaultFileName)
{
if (dataList == null || dataList.Count == 0)
{
MessageBox.Show("无数据可保存!");
return;
}
// 选择文件夹
var folderDialog = new OpenFolderDialog
{
Title = "请选择保存路径"
};
if (folderDialog.ShowDialog() != true)
return;
string folderPath = folderDialog.FolderName;
string filePath = Path.Combine(folderPath, defaultFileName);
// 写入 CSV
using (var sw = new StreamWriter(filePath, false, Encoding.UTF8))
{
var firstRow = (IDictionary<string, object>)dataList[0];
sw.WriteLine(string.Join(",", firstRow.Keys));
foreach (var item in dataList)
{
var dict = (IDictionary<string, object>)item;
sw.WriteLine(string.Join(",", dict.Values));
}
}
MessageBox.Show("保存成功!\n" + filePath);
}
}

View File

@@ -68,7 +68,7 @@ namespace 头罩视野.Services
break;
}
}
catch (Exception )
catch (Exception ex)
{
}
@@ -107,11 +107,7 @@ namespace 头罩视野.Services
break;
}
}
//catch (Exception ex)
//{
//}
catch (Exception )
catch (Exception ex)
{
}

View File

@@ -1,130 +0,0 @@
using MathNet.Numerics.LinearAlgebra;
using MathNetMatrix = MathNet.Numerics.LinearAlgebra.Matrix<double>;
using MathNetVector = MathNet.Numerics.LinearAlgebra.Vector<double>;
using System.Drawing;
namespace .Services
{
class GetArea
{
// 设备固定参数
private static double R = 330; // 半球半径
private static double angleStep = 10; // 每格角度
// 定义参数(和你代码里一致)
private const int totalLights = 81;
// 传入72个灯的亮灭数据0=灭1=亮)
// 返回:椭圆面积
public static double CalculateEllipseArea(int[] lightData, List<(int m, int n)> lightPositions)
{
//if (lightData.Length != totalLights || lightPositions.Count != totalLights)
// throw new Exception("必须是81个灯的数据");
// 第一步:收集所有亮灯坐标
List<System.Drawing.Point> brightPoints = new List<System.Drawing.Point>();
for (int i = 0; i < totalLights; i++)
{
if (lightData[i] == 1)
{
var (m, n) = lightPositions[i];
System.Drawing.Point p = GetLightPoint(m, n);
brightPoints.Add(p);
}
}
// 第二步:用亮点拟合椭圆
var (cx, cy, a, b, area) = FitEllipse(brightPoints);
// 返回面积
return area;
}
/// 生成设备全部243盏灯的(m,n)位置 上爪1条、下爪1条、左右共用1条各81灯
private static System.Drawing.Point GetLightPoint(int m, int n)
{
double radH, radV;
// 上爪灯条n=0水平角固定m控制垂直角
if (n == 0)
{
radH = 0;
radV = m * angleStep * Math.PI / 180;
}
// 下爪灯条n=1水平角固定为180°m控制垂直角
else if (n == 1)
{
radH = Math.PI;
radV = m * angleStep * Math.PI / 180;
}
// 左右共用灯条n=2垂直角固定m控制水平角
else
{
radH = m * angleStep * Math.PI / 180;
radV = 0;
}
// 保留你原来的投影公式
double x = R * Math.Tan(radH);
double y = R * Math.Tan(radV);
return new System.Drawing.Point((int)Math.Round(x), (int)Math.Round(y));
}
// 最小二乘法拟合椭圆核心算法cx椭圆中心点的 X 坐标 cy椭圆中心点的 Y 坐标 a椭圆的长半轴长度较大的那个半径b椭圆的短半轴长度较小的那个半径
private static (double cx, double cy, double a, double b, double area) FitEllipse(List<Point> points)
{
int n = points.Count;
if (n < 5)
throw new Exception("至少需要5个点来拟合椭圆");
// 这里是正确写法
var M = MathNetMatrix.Build.Dense(n, 5);
var Y = MathNetVector.Build.Dense(n, i => -1.0);
for (int i = 0; i < n; i++)
{
double x = points[i].X;
double y = points[i].Y;
M[i, 0] = x * x;
M[i, 1] = x * y;
M[i, 2] = y * y;
M[i, 3] = x;
M[i, 4] = y;
}
// 求解
Vector<double> sol = M.QR().Solve(Y);
double A = sol[0], B = sol[1], C = sol[2], D = sol[3], E = sol[4], F = 1;
// 椭圆中心
double cx = (2 * C * D - B * E) / (B * B - 4 * A * C);
double cy = (2 * A * E - B * D) / (B * B - 4 * A * C);
// 半轴
double term1 = 2 * (A * E * E + C * D * D - B * D * E + (B * B - 4 * A * C) * F);
double term2 = (A + C) + Math.Sqrt((A - C) * (A - C) + B * B);
double term3 = (A + C) - Math.Sqrt((A - C) * (A - C) + B * B);
double a = Math.Sqrt(Math.Abs(term1 / ((B * B - 4 * A * C) * term3)));
double b = Math.Sqrt(Math.Abs(term1 / ((B * B - 4 * A * C) * term2)));
if (a < b) (a, b) = (b, a);
double area = Math.PI * a * b;
return (cx, cy, a, b, area);
}
}
}

View File

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

View File

@@ -10,8 +10,8 @@ namespace 头罩视野
public class TestRecord
{
public int Id { get; set; }
public string Time { get; set; } = string.Empty;
public string Date { get; set; } = string.Empty;
public string Time { get; set; }
public string Date { get; set; }
public double LeftEyeArea { get; set; }
public double RightEyeArea { get; set; }
public double BinocularArea { get; set; }
@@ -28,34 +28,8 @@ namespace 头罩视野
public static void AddNewRecord(TestRecord record)
{
foreach (var r in Records)
{
// 5个字段都一样就认为是重复
if (Math.Abs(r.LeftEyeArea - record.LeftEyeArea) < 0.01 &&
Math.Abs(r.RightEyeArea - record.RightEyeArea) < 0.01 &&
Math.Abs(r.BinocularArea - record.BinocularArea) < 0.01 &&
Math.Abs(r.LowerVision - record.LowerVision) < 0.01 &&
Math.Abs(r.VisionRetentionRate - record.VisionRetentionRate) < 0.01)
{
// 找到重复直接return不添加
return;
}
}
record.Id = _nextId++;
Records.Add(record);
}
public static class GlobalData
{
// 要传的所有数据放这里
public static double LeftEyeArea { get; set; }
public static double RightEyeArea { get; set; }
public static double TotalEyeArea { get; set; }
public static double BinocularArea { get; set; }
public static double BlankArea { get; set; }
public static double LowerVision { get; set; }//下方视野角度
public static double VisionRetentionRate { get; set; }
}
}
}

View File

@@ -8,7 +8,7 @@
mc:Ignorable="d"
Background="#F5F7FA"
d:DesignHeight="768" d:DesignWidth="1024"
Title="PageTest" Loaded="Page_Loaded" Unloaded="Page_Unloaded" >
Title="PageTest" Loaded="Page_Loaded" Unloaded="Page_Unloaded">
<Page.Resources>
<!-- 标题样式 -->
<Style x:Key="MainTitleStyle" TargetType="TextBlock">
@@ -90,7 +90,7 @@
<!-- 测试界面标题 -->
<TextBlock Grid.Column="2" Style="{StaticResource MainTitleStyle}" Text="测试界面"
HorizontalAlignment="Center" VerticalAlignment="Center"/>
</Grid>
@@ -125,65 +125,28 @@
<TextBox Name="zdangle" Text="" Style="{StaticResource TextBoxStyle}" GotFocus="zdangle_GotFocus"/>
<TextBlock Text="°/S" Style="{StaticResource UnitStyle}"/>
</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>
<!-- 去掉默认的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.Column="1">
<Image Grid.Row="2" Source="/Images/touzhao.png" Opacity="1" Width="224"
Margin="200,0,0,0" Height="194"/>
</StackPanel>
<Button Grid.Column="2" Content="打印" HorizontalAlignment="Left" Margin="77,6,0,0" VerticalAlignment="Top" Height="42" Width="75" Click="Button_Click_Print" FontSize="18" RenderTransformOrigin="0.360,-0.63"/>
<RadioButton Grid.Column="1" Content="试样测试"
Margin="121,16,0,0" VerticalAlignment="Top"
FontSize="18" HorizontalAlignment="Left"
Checked="RadioButton_Checked"
RenderTransformOrigin="1.521,-0.3"
Unchecked="RadioButton_Unchecked"
/>
<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>
</Grid>
<!-- 第三行:视野数据区 -->
<Grid Grid.Row="2" Margin="0,0,0,15">
<Grid Grid.Row="2" Margin="0,0,0,10">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
@@ -194,11 +157,11 @@
</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" >
Padding="25,20" Margin="0,0,0,15" >
<StackPanel Cursor="">
<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}"/>
<TextBox Name="zmsyarea" Text="" Style="{StaticResource TextBoxStyle}"/>
<TextBlock Text="cm²" Style="{StaticResource UnitStyle}"/>
</StackPanel>
@@ -219,7 +182,7 @@
<Border Grid.Column="1" Background="#FFFFFF" CornerRadius="10"
BorderBrush="#E5E8E8" BorderThickness="1"
Padding="25,20" Margin="31,0,19,-15" >
Padding="25,20" Margin="31,0,19,15" >
<StackPanel Cursor="">
<StackPanel Orientation="Horizontal" Margin="0,0,0,15">
<TextBlock Text="右目视野面积:" Style="{StaticResource LabelStyle}"/>
@@ -243,7 +206,7 @@
</Grid>
<!-- 第四行:控制按钮区 -->
<Grid Grid.Row="3" Margin="0,10,0,25">
<Grid Grid.Row="3" Margin="0,10,0,10">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
@@ -262,7 +225,7 @@
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"
<Button Grid.Row="0" Grid.Column="1" Content="左眼开" FontSize="18"
Width="120" Height="50" Background="#FF87CEFA" Foreground="White" Margin="5" Click="Button_Click_left" />
<!-- 反转 -->
@@ -271,16 +234,17 @@
PreviewMouseLeftButtonUp="Button_Click_ResUp" />
<!-- 右眼开 -->
<Button Grid.Row="1" Name="btnRight" Grid.Column="1" Content="右眼开" FontSize="18"
<Button Grid.Row="1" 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="4" Grid.RowSpan="2" Content="测试" FontSize="18"
Width="120" Height="50" Background="#A4ADB3" Foreground="White" Margin="5" Click="Button_Click_Test"/>
<!-- 停止 -->
<Button Grid.Row="0" Grid.Column="5" Grid.RowSpan="2" Content="停止" FontSize="18"
@@ -288,21 +252,21 @@ PreviewMouseLeftButtonUp="Button_Click_ForUp" />
</Grid>
<!-- 底部导航栏 -->
<Grid Grid.Row="4" Margin="0,0,0,10">
<Grid Grid.Row="4">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Button Style="{StaticResource TabButtonStyle}" Grid.Column="0" Content="主页"
<Button Style="{StaticResource TabButtonStyle}" Grid.Column="0" Content="主页"
Click="GoHome" />
<Button Style="{StaticResource TabButtonStyle}" Grid.Column="1" Content="测试界面"
<Button Style="{StaticResource TabButtonStyle}" Grid.Column="1" Content="测试界面"
Click="GoTest" />
<Button Style="{StaticResource TabButtonStyle}" Grid.Column="2" Content="数据记录"
<Button Style="{StaticResource TabButtonStyle}" Grid.Column="2" Content="数据记录"
Click="GoRecord" />
<Button Style="{StaticResource TabButtonStyle}" Grid.Column="3" Content="记录画面"
Click="GoView" />
Click="GoView" />
</Grid>
</Grid>
</Page>

View File

@@ -4,12 +4,10 @@ using Sunny.UI;
//using RecordDateView;
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
@@ -20,29 +18,26 @@ using System.Windows.Shapes;
using System.Windows.Threading;
using .Services;
using .Services.Data;
using static .TestDataStore;
namespace .Views
{
public partial class PageTest : Page
{
/// 只加这一个变量
private CancellationTokenSource? _cts;
private TcpClient _tcpClient => ModbusResourceManager.Instance.TcpClient;
private IModbusMaster _modbusMaster => ModbusResourceManager.Instance.ModbusMaster;
DispatcherTimer _timer;
DataChange c = new DataChange();
Function ma;
bool isFinished;
//// 定时采集用
private DispatcherTimer testTimer;
// 保存上一条数据(用于去重)
private TestDataStore.TestRecord? _lastRecord;
private object btnLeftEye;
private TestDataStore.TestRecord _lastRecord;
public PageTest()
{
InitializeComponent();
System.Diagnostics.Debug.WriteLine("页面加载了111111111");
_timer = InitDispatcherTimer();
// 2. 初始化定时器500毫秒 执行一次
@@ -50,148 +45,77 @@ namespace 头罩视野.Views
testTimer.Interval = TimeSpan.FromMilliseconds(500); // 500ms = 0.5秒
testTimer.Tick += Timer_Tick;
//// 判断连接
if (!ModbusHelper.IsConnected)
{
MessageBox.Show("未连接");
return;
}
}
//
// 蓝色亮(蓝色)
private void LedOn(Ellipse led)
{
led.Fill = Brushes.LightSkyBlue;
}
// 灯灭(灰色)
private void LedOff(Ellipse led)
{
led.Fill = Brushes.LightGray;
}
//复位btn
private void Button_Click_Reset(object sender, RoutedEventArgs e)
{
btnLeft.Content = "左眼开";
btnRight.Content = "右眼开";
LedOff(led1);
LedOff(led0);
ma.BtnClickFunction(Function.ButtonType., 90);
}
//左开眼
private void Button_Click_left(object sender, RoutedEventArgs e)
{
// 切换文案:开是关,关是开
if (btnLeft.Content.ToString() == "左眼开")
{
btnLeft.Content = "左眼关";
LedOn(led0);
if (btnRight.Content.ToString() == "右眼关")
{
btnRight.Content = "右眼开";
LedOff(led1);
ma.BtnClickFunction(Function.ButtonType., 1);
}
}
else
{
btnLeft.Content = "左眼开";
LedOff(led0);
}
ma.BtnClickFunction(Function.ButtonType., 0);
//LedOn(led0);
}
//右开眼
private void Button_Click_Right(object sender, RoutedEventArgs e)
{
// 切换文案:左眼开 ↔ 左眼关
if (btnRight.Content.ToString() == "右眼开")
{
btnRight.Content = "右眼关";
LedOn(led1);
if (btnLeft.Content.ToString() == "左眼关")
{
btnLeft.Content = "左眼开";
LedOff(led0);
ma.BtnClickFunction(Function.ButtonType., 0);
}
}
else
{
btnRight.Content = "右眼开";
LedOff(led1);
}
ma.BtnClickFunction(Function.ButtonType., 1);
//LedOn(led1);
}
//反转
private bool _isPressing = false;
private async void Button_Click_ResDown(object sender, MouseButtonEventArgs e)
{
await _modbusMaster.WriteSingleCoilAsync(1, 10, true);
System.Diagnostics.Debug.WriteLine("反转开始");
((Button)sender).CaptureMouse();
_isPressing = true;
await Task.Run(() => {
//重新占位写入
_modbusMaster.WriteSingleCoilAsync(1, 10, true);
Task.Delay(100);
System.Diagnostics.Debug.WriteLine("stard1111");
});
}
private async void Button_Click_ResUp(object sender, MouseButtonEventArgs e)
private void Button_Click_ResUp(object sender, MouseButtonEventArgs e)
{
await _modbusMaster.WriteSingleCoilAsync(1, 10, false);
System.Diagnostics.Debug.WriteLine("反转结束");
((Button)sender).ReleaseMouseCapture();
_isPressing = false;
System.Diagnostics.Debug.WriteLine("end1111");
}
//正转
private bool _isPressing1 = false;
private async void Button_Click_ForDown(object sender, MouseButtonEventArgs e)
{
await _modbusMaster.WriteSingleCoilAsync(1, 11, true);
((Button)sender).CaptureMouse();
_isPressing1 = true;
await Task.Run(() => {
//重新占位写入
_modbusMaster.WriteSingleCoilAsync(1, 11, true);
System.Diagnostics.Debug.WriteLine("正传start");
Task.Delay(100);
});
}
private async void Button_Click_ForUp(object sender, MouseButtonEventArgs e)
private void Button_Click_ForUp(object sender, MouseButtonEventArgs e)
{
((Button)sender).ReleaseMouseCapture();
await _modbusMaster.WriteSingleCoilAsync(1, 11, false);
//System.Diagnostics.Debug.WriteLine("正传end");
}
// 在 PageTest 类里面
private RecordDate? GetRecordDatePage()
{
// 拿到主窗口
var mainWin = Application.Current.MainWindow;
// 假设你全局切换页面的 Frame 名字叫 MainFrame
var frame = mainWin.FindName("MainFrame") as Frame;
// 返回 RecordDate 实例
return frame?.Content as RecordDate;
_isPressing1 = false;
System.Diagnostics.Debug.WriteLine("正传end");
}
//测试btn 测试按钮:读取数据,存入共享列表
private void Button_Click_Test(object sender, RoutedEventArgs e)
{
ma.BtnClickFunction(Function.ButtonType., 100);
ButtonTest.Content = "测试中....";
testTimer.Start();
//var recordPage = GetRecordDatePage();
//recordPage?.StartPlcReadTimer(100);
ma.BtnClickFunction(Function.ButtonType., 101);
}
//停止btn
private void Button_Click_Stop(object sender, RoutedEventArgs e)
{
ma.BtnClickFunction(Function.ButtonType., 103);
ButtonTest.Content = "测试";
testTimer.Stop();
var recordPage = GetRecordDatePage();
recordPage?.StopPlcTimer();
}
private async void Timer_Tick(object sender, EventArgs e)
{
@@ -207,7 +131,7 @@ namespace 头罩视野.Views
LeftEyeArea = double.TryParse(zmsyarea.Text, out var l) ? l : 0,
RightEyeArea = double.TryParse(ymsyarea.Text, out var r) ? r : 0,
BinocularArea = double.TryParse(smsyarea.Text, out var b) ? b : 0,
LowerVision = double.TryParse(xfsyarea.Text, out var lv) ? lv : 0,
LowerVision = double.TryParse(kbsyarea.Text, out var lv) ? lv : 0,
VisionRetentionRate = double.TryParse(sybhl.Text, out var vr) ? vr : 0
};
@@ -221,13 +145,21 @@ namespace 头罩视野.Views
{
return; // 一样就不添加
}
//原来存的数据清空 切换页面会清空
//TestDataStore.Records.Clear();
// 不一样 → 插入表格
TestDataStore.AddNewRecord(data);
_lastRecord = data;
}
private void Page_Unloaded(object sender, RoutedEventArgs e)
{
testTimer?.Stop();
}
//停止btn
private void Button_Click_Stop(object sender, RoutedEventArgs e)
{
testTimer.Stop();
MessageBox.Show("已停止");
ma.BtnClickFunction(Function.ButtonType., 103);
}
//打印
private void Button_Click_Print(object sender, RoutedEventArgs e)
@@ -238,26 +170,17 @@ namespace 头罩视野.Views
}
//试样测试
private void TbTest_Checked(object sender, RoutedEventArgs e)
private void RadioButton_Checked(object sender, RoutedEventArgs e)
{
// 选中 → 试样测试
ma.BtnClickFunction(Function.ButtonType., 41);
tbTest.Content = "空白测试";
tbTest.Background = System.Windows.Media.Brushes.LightSkyBlue;
System.Diagnostics.Debug.WriteLine($"1232312312");
_modbusMaster.WriteSingleCoilAsync(1, 41, true);
}
private void TbTest_Unchecked(object sender, RoutedEventArgs e)
private void RadioButton_Unchecked(object sender, RoutedEventArgs e)
{
// 取消 → 空白测试
tbTest.Content = "试样测试";
tbTest.Background = System.Windows.Media.Brushes.LightGray;
_modbusMaster.WriteSingleCoilAsync(1, 41, false);
ma.BtnClickFunction(Function.ButtonType., 41);
}
private void Button_Click_home(object sender, RoutedEventArgs e)
{
@@ -270,7 +193,7 @@ namespace 头罩视野.Views
{
var timer = new DispatcherTimer
{
Interval = TimeSpan.FromMilliseconds(500)
Interval = TimeSpan.FromMilliseconds(100)
};
timer.Tick += async (s, e) =>
{
@@ -293,36 +216,19 @@ namespace 头罩视野.Views
// 创建任务列表
var tasks = new List<Task>
{
//ReadAndUpdateFloatAsync(200, 2, fbspeed, "F2", "°"),
//ReadAndUpdateFloatAsync(202, 2, dqangle, "F2", "°"),
//ReadAndUpdateFloatAsync(204, 2, zmsyarea, "F2", "cm²"),
//ReadAndUpdateFloatAsync(206 ,2, xfsyarea, "F2", " "),
//ReadAndUpdateFloatAsync(208, 2, smsyarea, "F2", "cm²"),
//ReadAndUpdateFloatAsync(210 ,2, ymsyarea, "F2", " "),
ReadAndUpdateFloatRangeAsync(200, 12, "F2", "°"),
//ReadAndUpdateFloatAsync(424 ,2, kbsyarea, "F2", "cm²"),
ReadAndUpdateFloatAsync(200, 2, fbspeed, "F2", "°"),
ReadAndUpdateFloatAsync(202, 2, dqangle, "F2", "°"),
ReadAndUpdateFloatAsync(310, 2, zdangle, "F2", "°/S"),
//ReadAndUpdateFloatAsync(430 ,2, sybhl, "F2", " "),
//前1从站地址后1是长度
ReadAndUpdateFloatAsync(204, 2, zmsyarea, "F2", "cm²"),
ReadAndUpdateFloatAsync(208, 2, smsyarea, "F2", "cm²"),
ReadAndUpdateFloatAsync(424 ,2, kbsyarea, "F2", "cm²"),
ReadAndUpdateFloatAsync(210 ,2, ymsyarea, "F2", " "),
ReadAndUpdateFloatAsync(206 ,2, xfsyarea, "F2", " "),
ReadAndUpdateFloatAsync(430 ,2, sybhl, "F2", " "),
};
isFinished = _modbusMaster.ReadCoils(1, 102, 1)[0];
if (isFinished)
{
int.TryParse(fbspeed.Text, out int speedValue);
// 还不确定?
var recordPage = GetRecordDatePage();
recordPage?.StopPlcTimer();
recordPage?.getAllData(recordPage.LeftEyeDataList, recordPage.RightEyeDataList, int.Parse(fbspeed.Text));
//值显示在页面,
zmsyarea.Text = GlobalData.LeftEyeArea.ToString("0.00"); // 左目
smsyarea.Text = GlobalData.BinocularArea.ToString("0.00"); // 双目
kbsyarea.Text = GlobalData.BlankArea.ToString("0.00"); // 空白
ymsyarea.Text = GlobalData.RightEyeArea.ToString("0.00"); // 右目
xfsyarea.Text = GlobalData.LowerVision.ToString("0.00"); // 下方
sybhl.Text = GlobalData.VisionRetentionRate.ToString("0.00"); // 视野保存率
}
await Task.WhenAll(tasks);
}
catch (Exception ex)
@@ -334,14 +240,9 @@ namespace 头罩视野.Views
private async Task ReadAndUpdateFloatAsync(int address, int length, System.Windows.Controls.TextBox control, string format, string unit)
{
try
{ // 1. 页面销毁时直接退出,不执行
if (_cts?.IsCancellationRequested == true) return;
// 2. 关键:判断对象为空就直接返回,不执行
if (_modbusMaster == null) return;
{
ushort[] registers = await Task.Run(async () =>
await _modbusMaster!.ReadHoldingRegistersAsync(1, (ushort)address, (ushort)length)
await _modbusMaster.ReadHoldingRegistersAsync(1, (ushort)address, (ushort)length)
);
if (registers != null && registers.Length >= 2)
@@ -361,51 +262,12 @@ namespace 头罩视野.Views
}
}
private async Task ReadAndUpdateFloatRangeAsync(int address, int length, string format, string unit)
{
try
{
ushort[] registers = await Task.Run(async () =>
await _modbusMaster!.ReadHoldingRegistersAsync(1, (ushort)address, (ushort)length)
);
if (registers != null && registers.Length >= 2)
{
float value = c.UshortToFloat(registers[1], registers[0]);
float value2 = c.UshortToFloat(registers[3], registers[2]);
float value3 = c.UshortToFloat(registers[5], registers[4]);
//float value4 = c.UshortToFloat(registers[7], registers[6]);
//float value5 = c.UshortToFloat(registers[9], registers[8]);
//float value6 = c.UshortToFloat(registers[11], registers[10]);
Dispatcher.Invoke(() =>
{
fbspeed.Text = value.ToString(format) + unit;
dqangle.Text = value2.ToString(format) + unit;
//zmsyarea.Text = value3.ToString(format) + unit;
//xfsyarea.Text = value4.ToString(format) + unit;
//smsyarea.Text = value5.ToString(format) + unit;
//ymsyarea.Text = value6.ToString(format) + unit;
//control.Text = value.ToString(format) + unit);
});
}
}
catch (Exception ex)
{
System.Diagnostics.Debug.WriteLine($"读取地址{address}失败:{ex.Message}");
}
}
private async Task ReadAndUpdateFloatAsync(int address, int length, System.Windows.Controls.TextBlock control, string format, string unit)
{
try
{
ushort[] registers = await Task.Run(async () =>
await _modbusMaster!.ReadHoldingRegistersAsync(1, (ushort)address, (ushort)length)
await _modbusMaster.ReadHoldingRegistersAsync(1, (ushort)address, (ushort)length)
);
if (registers != null && registers.Length >= 2)
@@ -461,53 +323,29 @@ namespace 头罩视野.Views
}
private void dqangle_GotFocus(object sender, RoutedEventArgs e)
{
ma.WriteToPLCForNew(dqangle.Text.Trim(), 202, Function.DataType.);
ma.WriteToPLCForNew(fbspeed.Text.Trim(), 202, Function.DataType.);
System.Threading.Tasks.Task.Delay(50);
dqangle.Focus();
fbspeed.Focus();
}
private void zdangle_GotFocus(object sender, RoutedEventArgs e)
{
ma.WriteToPLCForNew(zdangle.Text.Trim(), 310, Function.DataType.);
ma.WriteToPLCForNew(fbspeed.Text.Trim(), 310, Function.DataType.);
System.Threading.Tasks.Task.Delay(50);
zdangle.Focus();
fbspeed.Focus();
}
//错误信息提示
private void ShowError(string msg) => MessageBox.Show(msg, "错误", MessageBoxButton.OK, MessageBoxImage.Error);
private void GoHome(object s, RoutedEventArgs e) => NavigationService.Content = null;
private void GoTest(object s, RoutedEventArgs e)
{
_timer.Stop();
NavigationService.Content = new Views.PageTest();
}
private void GoTest(object s, RoutedEventArgs e) => NavigationService.Content = new Views.PageTest();
private void GoRecord(object s, RoutedEventArgs e) => NavigationService.Content = new Views.RecordDate();
private void GoView(object s, RoutedEventArgs e) => NavigationService.Content = new Views.RecordPage();
private void Page_Loaded(object sender, RoutedEventArgs e)
{
System.Diagnostics.Debug.WriteLine("页面加载了112222222");
_timer.Start();
ma = new Function(_modbusMaster);
c = new DataChange();
//zmsyarea.Text = "4.00"; // 左目
//smsyarea.Text = "5.00"; // 双目
//kbsyarea.Text = "6.00"; // 空白
//ymsyarea.Text = "7.00"; // 右目
//xfsyarea.Text = "8.00"; // 下方
//sybhl.Text = "9.00"; // 视野保存率
}
private void Page_Unloaded(object sender, RoutedEventArgs e)
{
testTimer?.Stop();
_timer?.Stop();
_cts?.Cancel();
_cts = null;
}
}
}

View File

@@ -0,0 +1,258 @@
<Page x:Class="头罩视野.Views.RecordDate"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
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"
Title="RecordDate">
<Page.Resources>
<!-- 标题样式 -->
<Style x:Key="MainTitleStyle" TargetType="TextBlock">
<Setter Property="FontSize" Value="28"/>
<Setter Property="FontWeight" Value="Bold"/>
<Setter Property="Foreground" Value="#2C3E50"/>
<Setter Property="HorizontalAlignment" Value="Center"/>
<Setter Property="Margin" Value="0,15,0,15"/>
</Style>
<!-- DataGrid 样式 -->
<Style x:Key="DataGridStyle" TargetType="DataGrid">
<Setter Property="Background" Value="#FFFFFF"/>
<Setter Property="BorderBrush" Value="#E5E8E8"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="GridLinesVisibility" Value="Horizontal"/>
<Setter Property="HorizontalGridLinesBrush" Value="#ECF0F1"/>
<Setter Property="VerticalGridLinesBrush" Value="#ECF0F1"/>
<Setter Property="HeadersVisibility" Value="Column"/>
<Setter Property="CanUserAddRows" Value="False"/>
<Setter Property="CanUserDeleteRows" Value="False"/>
<Setter Property="AutoGenerateColumns" Value="False"/>
<Setter Property="IsReadOnly" Value="True"/>
<Setter Property="SelectionMode" Value="Single"/>
<Setter Property="SelectionUnit" Value="FullRow"/>
<Setter Property="RowHeight" Value="36"/>
<Setter Property="FontSize" Value="13"/>
<Setter Property="Foreground" Value="#2C3E50"/>
<Setter Property="ScrollViewer.CanContentScroll" Value="True"/>
<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto"/>
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto"/>
</Style>
<!-- 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="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"/>
</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"/>
<Setter Property="BorderThickness" Value="1"/>
</Trigger>
</Style.Triggers>
</Style>
<!-- DataGrid 单元格样式 -->
<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="VerticalAlignment" Value="Center"/>
<Setter Property="TextBlock.TextAlignment" Value="Center"/>
<Setter Property="Template">
<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>
</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>
</Page.Resources>
<Grid Margin="10">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</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"/>
</Grid>
<Grid Grid.Row="1">
<TextBlock Text="左眼" FontSize="16" Margin="0,0,0,5"/>
</Grid>
<!--表格1-->
<Grid Grid.Row="2" Margin="0 0 0 10">
<DataGrid x:Name="dataGrid1"
Height="190"
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 列) -->
<DataGrid.Columns>
<DataGridTextColumn Header="编号" Binding="{Binding Id}" Width="80"/>
<DataGridTextColumn Header="时间" Binding="{Binding Time}" Width="120"/>
<DataGridTextColumn Header="日期" Binding="{Binding Date}" Width="120"/>
<DataGridTextColumn Header="ch.1" Binding="{Binding ChOne}" Width="*"/>
<DataGridTextColumn Header="ch.2" Binding="{Binding ChTwo}" Width="*"/>
<DataGridTextColumn Header="ch.3" Binding="{Binding ChThree}" Width="*"/>
<DataGridTextColumn Header="ch.4" Binding="{Binding ChFour}" Width="*"/>
<DataGridTextColumn Header="ch.5" Binding="{Binding ChFive}" Width="*"/>
<DataGridTextColumn Header="ch.6" Binding="{Binding ChSix}" Width="*"/>
<DataGridTextColumn Header="ch.7" Binding="{Binding ChSeven}" Width="*"/>
<DataGridTextColumn Header="ch.8" Binding="{Binding ChEight}" Width="*"/>
</DataGrid.Columns>
</DataGrid>
</Grid>
<Grid Grid.Row="3">
<TextBlock Text="右眼" FontSize="16" Margin="0,10,0,5"/>
<Button Content="保存" FontSize="18"
Width="120" Height="50" Background="#3498DB" Foreground="White" HorizontalAlignment="Left" Margin="850,0,0,5" />
</Grid>
<!--表格2-->
<Grid Grid.Row="4" Margin="0 0 0 10">
<DataGrid x:Name="dataGrid2"
Height="190"
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 列) -->
<DataGrid.Columns>
<DataGridTextColumn Header="编号" Binding="{Binding Id}" Width="80"/>
<DataGridTextColumn Header="时间" Binding="{Binding Time}" Width="120"/>
<DataGridTextColumn Header="日期" Binding="{Binding Date}" Width="120"/>
<DataGridTextColumn Header="ch.1" Binding="{Binding ChOne}" Width="*"/>
<DataGridTextColumn Header="ch.2" Binding="{Binding ChTwo}" Width="*"/>
<DataGridTextColumn Header="ch.3" Binding="{Binding ChThree}" Width="*"/>
<DataGridTextColumn Header="ch.4" Binding="{Binding ChFour}" Width="*"/>
<DataGridTextColumn Header="ch.5" Binding="{Binding ChFive}" Width="*"/>
<DataGridTextColumn Header="ch.6" Binding="{Binding ChSic}" Width="*"/>
<DataGridTextColumn Header="ch.7" Binding="{Binding ChSeven}" Width="*"/>
<DataGridTextColumn Header="ch.8" Binding="{Binding ChEight}" Width="*"/>
</DataGrid.Columns>
</DataGrid>
</Grid>
<!--按钮-->
<Grid Grid.Row="5" >
<!-- 停止 -->
<Button Content="保存" FontSize="18"
Width="120" Height="50" Background="#3498DB" Foreground="White" HorizontalAlignment="Left" Margin="850,0,0,0" />
<Button Content="清除" FontSize="18"
Width="120" Height="50" Background="White" BorderBrush="red" Foreground="red" HorizontalAlignment="Left" Margin="14,0,0,0" />
<TextBlock HorizontalAlignment="Left" Foreground="red"
FontSize="18"
Width="142" Margin="148,25,0,23" RenderTransformOrigin="0.5,0.5">
<TextBlock.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform AngleY="-0.614"/>
<RotateTransform/>
<TranslateTransform Y="-0.739"/>
</TransformGroup>
</TextBlock.RenderTransform><Run Language="zh-cn" Text="备注: 清除长按"/></TextBlock>
</Grid>
<!-- 底部导航栏 -->
<Grid Grid.Row="6" 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" />
</Grid>
</Grid>
</Page>

View File

@@ -0,0 +1,90 @@
using Sunny.UI;
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace .Views
{
/// <summary>
/// RecordDate.xaml 的交互逻辑
/// </summary>
///
public class VisionData
{
public int Id { get; set; }
public string Time { get; set; } = string.Empty;
public string Date { get; set; } = string.Empty;
public double ChOne { get; set; }
public double ChTwo { get; set; }
public double ChThree { get; set; }
public double ChFour { get; set; }
public double ChFive { get; set; }
public double ChSix { get; set; }
public double ChSeven { get; set; }
public double ChEight { get; set; }
}
public partial class RecordDate : Page
{
public RecordDate()
{
InitializeComponent();
CreateTableData(); // 生成表格
}
// 核心:生成表格数据
private void CreateTableData()
{
// 新建列表
List<VisionData> list = new List<VisionData>();
// 添加测试数据(可循环添加多条)
list.Add(new VisionData
{
Id = 1,
Time = "10:25:30",
Date = "2025-12-25",
ChOne = 66,
ChTwo = 12,
ChThree = 67,
ChFour = 89,
ChFive = 94,
ChSix = 87,
ChSeven = 21,
ChEight = 55,
});
// 验证输出列表数据条数运行后看控制台确认有2条
Console.WriteLine($"数据条数:{list.Count}");
Console.WriteLine($"数据条数1111");
// ########### 加这行调试输出 ###########
Console.WriteLine("Hello, World!");
System.Diagnostics.Debug.WriteLine("页面加载了112222222");
// ####################################
// 绑定到 DataGrid 显示
dataGrid1.ItemsSource = list;
}
private void btnBack_Click(object sender, RoutedEventArgs e)
{
NavigationService.Content = null;
}
private void GoHome(object s, RoutedEventArgs e) => NavigationService.Content = null;
private void GoTest(object s, RoutedEventArgs e) => NavigationService.Content = new Views.PageTest();
private void GoRecord(object s, RoutedEventArgs e) => NavigationService.Content = new Views.RecordDate();
private void GoView(object s, RoutedEventArgs e) => NavigationService.Content = new Views.RecordPage();
//NavigationService.Navigate(new Views.RecordDate()); 页面相互跳转
}
}

View File

@@ -6,7 +6,7 @@
xmlns:local="clr-namespace:头罩视野.Views"
mc:Ignorable="d"
d:DesignHeight="768" d:DesignWidth="1024"
Background="#F5F7FA" Loaded="Page_Loaded"
Background="#F5F7FA" Loaded="Page_Loaded"
Title="RecordPage">
<Page.Resources>
@@ -168,8 +168,7 @@
<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" />
Width="120" Height="50" Background="White" BorderBrush="red" Foreground="red" Margin="10,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Click="btnClear_Click"/>
<TextBlock HorizontalAlignment="Left" Foreground="red" Margin="139,14,0,0" TextWrapping="Wrap" VerticalAlignment="Top" FontSize="18" Width="202"><Run Language="zh-cn" Text="备注: 清除长按"/></TextBlock>
</Grid>

View File

@@ -28,9 +28,8 @@ namespace 头罩视野.Views
/// </summary>
public partial class RecordPage : Page
{
//长按清除
private bool _isClearPressed = false;
private Thread _clearThread;
private TcpClient _tcpClient => ModbusResourceManager.Instance.TcpClient;
private IModbusMaster _modbusMaster => ModbusResourceManager.Instance.ModbusMaster;
public RecordPage()
@@ -39,55 +38,16 @@ namespace 头罩视野.Views
}
//#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)
private void btnClear_Click(object sender, RoutedEventArgs e)
{
_isClearPressed = true;
_clearThread = new Thread(() =>
// 确认清除
if (MessageBox.Show("确定要清除所有记录吗?", "确认", MessageBoxButton.YesNo) == MessageBoxResult.Yes)
{
Thread.Sleep(500); // 长按1秒触发
if (_isClearPressed)
{
Application.Current.Dispatcher.Invoke(() => ClearAllData());
}
});
_clearThread.Start();
TestDataStore.Records.Clear();
RecordDataGrid.ItemsSource = null;
RecordDataGrid.ItemsSource = TestDataStore.Records;
}
}
// 清除所有数据
private void ClearAllData()
{
TestDataStore.Records.Clear();
RecordDataGrid.ItemsSource = null;
RecordDataGrid.ItemsSource = TestDataStore.Records;
MessageBox.Show("数据已清除");
}
private void btnClear_MouseUp(object sender, MouseButtonEventArgs e)
{
_isClearPressed = false;
_clearThread?.Join(100); // 等待线程结束最多100毫秒然后强制结束
}
private void Page_Unloaded(object sender, RoutedEventArgs e)
{
//_plcReadTimer?.Stop();
//_plcReadTimer?.Dispose();
//_modbusMaster?.Dispose();
//ModbusHelper.TcpClient?.Close();
}
//#endregion
//#region 3. 保存为Excel
private void btnSave_Click(object sender, RoutedEventArgs e)
@@ -125,20 +85,9 @@ namespace 头罩视野.Views
private void Page_Loaded(object sender, RoutedEventArgs e)
{
//进入页面是否要保留原来的数据????,
//进入页面是否要保留原来的数据????,
RecordDataGrid.ItemsSource = null;
RecordDataGrid.ItemsSource = TestDataStore.Records;
// 判断连接
if (!ModbusHelper.IsConnected)
{
MessageBox.Show("未连接");
return;
}
// 获取客户端
//var client = ModbusHelper.TcpClient;
}

View File

@@ -7,7 +7,7 @@
mc:Ignorable="d"
d:DesignHeight="769" d:DesignWidth="1024"
Background="#F5F7FA"
Title="VisiData" Loaded="Page_Loaded" Unloaded="Page_Unloaded" >
Title="VisiData" Loaded="Page_Loaded" >
<Page.Resources>
<!-- 标题样式 -->
<Style x:Key="MainTitleStyle" TargetType="TextBlock">
@@ -124,12 +124,17 @@
<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"
@@ -264,7 +269,7 @@ Padding="20" Margin="20,0,0,0" >
Width="120" Height="40" Background="red" Foreground="White" Margin="5" Click="Button_Click_Reset" />
<!-- 左眼开 -->
<Button Grid.Row="0" Name="btnLeft" Grid.Column="1" Content="左眼开" FontSize="18"
<Button Grid.Row="0" Grid.Column="1" Content="左眼开" FontSize="18"
Width="120" Height="40" Background="#FF87CEFA" Foreground="White" Margin="5" Click="Button_Click_left"/>
<!-- 反转 -->
@@ -273,7 +278,7 @@ Padding="20" Margin="20,0,0,0" >
PreviewMouseLeftButtonUp="Button_Click_ResUp" />
<!-- 右眼开 -->
<Button Grid.Column="3" Name="btnRight" Content="右眼开" FontSize="18"
<Button Grid.Column="3" Content="右眼开" FontSize="18"
Width="120" Height="40" Background="#FF87CEFA" Foreground="White" Margin="6,0,0,0" Click="Button_Click_Right"
HorizontalAlignment="Left"/>

View File

@@ -25,103 +25,92 @@ namespace 头罩视野.Views
private IModbusMaster _modbusMaster => ModbusResourceManager.Instance.ModbusMaster;
DispatcherTimer _timer;
DataChange c = new DataChange();
Function ma ;
Function ma;
public VisiData()
{
InitializeComponent();
_timer = InitDispatcherTimer();
// 判断连接
if (!ModbusHelper.IsConnected)
{
MessageBox.Show("未连接");
return;
}
}
//复位btn
private void Button_Click_Reset(object sender, RoutedEventArgs e)
{
btnLeft.Content = "左眼开";
btnRight.Content = "右眼开";
ma.BtnClickFunction(Function.ButtonType., 90);
}
//左开眼
private void Button_Click_left(object sender, RoutedEventArgs e)
{
// 切换文案:左眼开 ↔ 左眼关
if (btnLeft.Content.ToString() == "左眼开")
{
btnLeft.Content = "左眼关";
if (btnRight.Content.ToString() == "右眼关")
{
btnRight.Content = "右眼开";
ma.BtnClickFunction(Function.ButtonType., 1);
}
}
else
{
btnLeft.Content = "左眼开";
}
ma.BtnClickFunction(Function.ButtonType., 0);
}
//右开眼
private void Button_Click_Right(object sender, RoutedEventArgs e)
{ // 切换文案:左眼开 ↔ 左眼关
if (btnRight.Content.ToString() == "右眼开")
{
btnRight.Content = "右眼关";
if (btnLeft.Content.ToString() == "左眼关")
{
btnLeft.Content = "左眼开";
ma.BtnClickFunction(Function.ButtonType., 0);
}
}
else
{
btnRight.Content = "右眼开";
}
{
ma.BtnClickFunction(Function.ButtonType., 1);
}
//反转
private bool _isPressing = false;
private async void Button_Click_ResDown(object sender, MouseButtonEventArgs e)
{
await _modbusMaster.WriteSingleCoilAsync(1, 10, true);
System.Diagnostics.Debug.WriteLine("反转开始");
((Button)sender).CaptureMouse();
_isPressing = true;
await Task.Run(() => {
//重新占位写入
_modbusMaster.WriteSingleCoilAsync(1, 10, true);
Task.Delay(100);
System.Diagnostics.Debug.WriteLine("stard1111");
});
}
private async void Button_Click_ResUp(object sender, MouseButtonEventArgs e)
private void Button_Click_ResUp(object sender, MouseButtonEventArgs e)
{
await _modbusMaster.WriteSingleCoilAsync(1, 10, false);
System.Diagnostics.Debug.WriteLine("反转结束");
((Button)sender).ReleaseMouseCapture();
_isPressing = false;
System.Diagnostics.Debug.WriteLine("end1111");
}
//正转
private bool _isPressing1 = false;
private async void Button_Click_ForDown(object sender, MouseButtonEventArgs e)
{
await _modbusMaster.WriteSingleCoilAsync(1, 11, true);
((Button)sender).CaptureMouse();
_isPressing1 = true;
await Task.Run(() => {
//重新占位写入
_modbusMaster.WriteSingleCoilAsync(1, 11, true);
System.Diagnostics.Debug.WriteLine("正传start");
Task.Delay(100);
});
}
private async void Button_Click_ForUp(object sender, MouseButtonEventArgs e)
private void Button_Click_ForUp(object sender, MouseButtonEventArgs e)
{
((Button)sender).ReleaseMouseCapture();
await _modbusMaster.WriteSingleCoilAsync(1, 11, false);
//System.Diagnostics.Debug.WriteLine("正传end");
_isPressing1 = false;
System.Diagnostics.Debug.WriteLine("正传end");
}
//测试btn
private void Button_Click_Test(object sender, RoutedEventArgs e)
{
ma.BtnClickFunction(Function.ButtonType., 101);
}
//停止btn
private void Button_Click_Stop(object sender, RoutedEventArgs e)
{
ma.BtnClickFunction(Function.ButtonType., 103);
}
//读取
//读取数据
private DispatcherTimer InitDispatcherTimer()
{
var timer = new DispatcherTimer
{
Interval = TimeSpan.FromMilliseconds(500)
Interval = TimeSpan.FromMilliseconds(100)
};
timer.Tick += async (s, e) =>
{
@@ -144,28 +133,30 @@ namespace 头罩视野.Views
// 创建任务列表
var tasks = new List<Task>
{
//ReadAndUpdateFloatAsync(350, 1, c, "F2", ""),
//ReadAndUpdateFloatAsync(351, 1, sdtsj2, "F2", ""),
//ReadAndUpdateFloatAsync(352, 1, sdtsj3, "F2", ""),
//ReadAndUpdateFloatAsync(353, 1, sdtsj4, "F2", ""),
//ReadAndUpdateFloatAsync(354, 1, sdtsj5, "F2", ""),
//ReadAndUpdateFloatAsync(355, 1, xdtsj1, "F2", " "),
//ReadAndUpdateFloatAsync(356, 1, xdtsj2, "F2", " "),
//ReadAndUpdateFloatAsync(357, 1, xdtsj3, "F2", " "),
//ReadAndUpdateFloatAsync(358, 1, xdtsj4, "F2", " "),
//ReadAndUpdateFloatAsync(359, 1, xdtsj5, "F2", " "),
//ReadAndUpdateFloatAsync(360, 1, zdtsj1, "F2", " "),
//ReadAndUpdateFloatAsync(361, 1, zdtsj2, "F2", " "),
//ReadAndUpdateFloatAsync(362, 1, zdtsj3, "F2", " "),
//ReadAndUpdateFloatAsync(363, 1, zdtsj4, "F2", " "),
//ReadAndUpdateFloatAsync(364, 1, zdtsj5, "F2", " "),
ReadAndUpdateFloatAsync(350, 1, sdtsj1, "F2", ""),
ReadAndUpdateFloatAsync(351, 1, sdtsj2, "F2", ""),
ReadAndUpdateFloatAsync(352, 1, sdtsj3, "F2", ""),
ReadAndUpdateFloatAsync(353, 1, sdtsj4, "F2", ""),
ReadAndUpdateFloatAsync(354, 1, sdtsj5, "F2", ""),
ReadAndUpdateFloatAsync(212, 2, zymjxs, "F2", ""),
ReadAndUpdateFloatAsync(214, 2, yymjxs, "F2", ""),
ReadAndUpdateFloatAsync(428, 2, bcjzxs, "F2", ""),
ReadAndUpdateFloatAsync(340,2, fwbc, "F2", " "),
ReadAndUpdateFloatAsync(355, 1, xdtsj1, "F2", " "),
ReadAndUpdateFloatAsync(356, 1, xdtsj2, "F2", " "),
ReadAndUpdateFloatAsync(357, 1, xdtsj3, "F2", " "),
ReadAndUpdateFloatAsync(358, 1, xdtsj4, "F2", " "),
ReadAndUpdateFloatAsync(359, 1, xdtsj5, "F2", " "),
ReadAndUpdateFloatAsync(360, 1, zdtsj1, "F2", " "),
ReadAndUpdateFloatAsync(361, 1, zdtsj2, "F2", " "),
ReadAndUpdateFloatAsync(362, 1, zdtsj3, "F2", " "),
ReadAndUpdateFloatAsync(363, 1, zdtsj4, "F2", " "),
ReadAndUpdateFloatAsync(364, 1, zdtsj5, "F2", " "),
ReadAndUpdateFloatAsync(340,2, fwbc, "F2", " "),
ReadAndUpdateFloatAsync(330,2, djxw, "F2", " "),
ReadAndUpdateFloatRangeAsync(350, 15, "F2", ""),
};
await Task.WhenAll(tasks);
@@ -175,44 +166,6 @@ namespace 头罩视野.Views
ShowError($"读取数据失败:{ex.Message}");
}
}
private async Task ReadAndUpdateFloatRangeAsync(int address, int length, string format, string unit)
{
try
{
ushort[] registers = await Task.Run(async () =>
await _modbusMaster!.ReadHoldingRegistersAsync(1, (ushort)address, (ushort)length)
);
if (registers != null && registers.Length >= 2)
{
var controls = new TextBox[]
{
sdtsj1, sdtsj2, sdtsj3, sdtsj4, sdtsj5,
xdtsj1, xdtsj2, xdtsj3, xdtsj4, xdtsj5,
zdtsj1, zdtsj2, zdtsj3, zdtsj4, zdtsj5
};
// 一次在UI线程批量更新避免多次Invoke阻塞0
await Application.Current.Dispatcher.BeginInvoke(new Action(() =>
{
for (int i = 0; i < controls.Length; i++)
{
// 因为你这里是1个寄存器=1个值所以直接用registers[i]
controls[i].Text = registers[i].ToString(format);
}
}), DispatcherPriority.Background);
}
}
catch (Exception ex)
{
System.Diagnostics.Debug.WriteLine($"读取地址{address}失败:{ex.Message}");
}
}
// 地址, 根据格式显示字符长度 322 161 绑定页面的name 值F2 保留两位小数,单位
private async Task ReadAndUpdateFloatAsync(int address, int length, System.Windows.Controls.TextBox control, string format, string unit)
{
@@ -298,19 +251,10 @@ namespace 头罩视野.Views
private void Page_Loaded(object sender, RoutedEventArgs e)
{
_timer.Start();
ma = new Function(_modbusMaster);
c = new DataChange();
}
private void Page_Unloaded(object sender, RoutedEventArgs e)
{
_timer?.Stop();
}
}
}

View File

@@ -0,0 +1,84 @@
#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

@@ -0,0 +1,140 @@
#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

@@ -0,0 +1,140 @@
#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

@@ -0,0 +1,152 @@
#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

@@ -0,0 +1,76 @@
#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

@@ -0,0 +1,343 @@
#pragma checksum "..\..\..\..\Views\PageTest.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "CC165992FB311CDDE115E339868F704FC7865550"
//------------------------------------------------------------------------------
// <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>
/// PageTest
/// </summary>
public partial class PageTest : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector {
#line 113 "..\..\..\..\Views\PageTest.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBox fbspeed;
#line default
#line hidden
#line 119 "..\..\..\..\Views\PageTest.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBox dqangle;
#line default
#line hidden
#line 125 "..\..\..\..\Views\PageTest.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBox zdangle;
#line default
#line hidden
#line 145 "..\..\..\..\Views\PageTest.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock ;
#line default
#line hidden
#line 164 "..\..\..\..\Views\PageTest.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBox zmsyarea;
#line default
#line hidden
#line 170 "..\..\..\..\Views\PageTest.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBox smsyarea;
#line default
#line hidden
#line 176 "..\..\..\..\Views\PageTest.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBox kbsyarea;
#line default
#line hidden
#line 189 "..\..\..\..\Views\PageTest.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBox ymsyarea;
#line default
#line hidden
#line 195 "..\..\..\..\Views\PageTest.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBox xfsyarea;
#line default
#line hidden
#line 201 "..\..\..\..\Views\PageTest.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBox sybhl;
#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/pagetest.xaml", System.UriKind.Relative);
#line 1 "..\..\..\..\Views\PageTest.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:
#line 11 "..\..\..\..\Views\PageTest.xaml"
((.Views.PageTest)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);
#line default
#line hidden
#line 11 "..\..\..\..\Views\PageTest.xaml"
((.Views.PageTest)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.Page_Unloaded);
#line default
#line hidden
return;
case 2:
this.fbspeed = ((System.Windows.Controls.TextBox)(target));
#line 113 "..\..\..\..\Views\PageTest.xaml"
this.fbspeed.GotFocus += new System.Windows.RoutedEventHandler(this.fbspeed_GotFocus);
#line default
#line hidden
return;
case 3:
this.dqangle = ((System.Windows.Controls.TextBox)(target));
#line 119 "..\..\..\..\Views\PageTest.xaml"
this.dqangle.GotFocus += new System.Windows.RoutedEventHandler(this.dqangle_GotFocus);
#line default
#line hidden
return;
case 4:
this.zdangle = ((System.Windows.Controls.TextBox)(target));
#line 125 "..\..\..\..\Views\PageTest.xaml"
this.zdangle.GotFocus += new System.Windows.RoutedEventHandler(this.zdangle_GotFocus);
#line default
#line hidden
return;
case 5:
#line 136 "..\..\..\..\Views\PageTest.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_Print);
#line default
#line hidden
return;
case 6:
#line 141 "..\..\..\..\Views\PageTest.xaml"
((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);
#line default
#line hidden
#line 143 "..\..\..\..\Views\PageTest.xaml"
((System.Windows.Controls.RadioButton)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.RadioButton_Unchecked);
#line default
#line hidden
return;
case 7:
this. = ((System.Windows.Controls.TextBlock)(target));
return;
case 8:
this.zmsyarea = ((System.Windows.Controls.TextBox)(target));
return;
case 9:
this.smsyarea = ((System.Windows.Controls.TextBox)(target));
return;
case 10:
this.kbsyarea = ((System.Windows.Controls.TextBox)(target));
return;
case 11:
this.ymsyarea = ((System.Windows.Controls.TextBox)(target));
return;
case 12:
this.xfsyarea = ((System.Windows.Controls.TextBox)(target));
return;
case 13:
this.sybhl = ((System.Windows.Controls.TextBox)(target));
return;
case 14:
#line 225 "..\..\..\..\Views\PageTest.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_Reset);
#line default
#line hidden
return;
case 15:
#line 229 "..\..\..\..\Views\PageTest.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_left);
#line default
#line hidden
return;
case 16:
#line 233 "..\..\..\..\Views\PageTest.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_Res);
#line default
#line hidden
return;
case 17:
#line 237 "..\..\..\..\Views\PageTest.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_Right);
#line default
#line hidden
return;
case 18:
#line 241 "..\..\..\..\Views\PageTest.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_For);
#line default
#line hidden
return;
case 19:
#line 245 "..\..\..\..\Views\PageTest.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_Test);
#line default
#line hidden
return;
case 20:
#line 249 "..\..\..\..\Views\PageTest.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_Stop);
#line default
#line hidden
return;
case 21:
#line 261 "..\..\..\..\Views\PageTest.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.GoHome);
#line default
#line hidden
return;
case 22:
#line 263 "..\..\..\..\Views\PageTest.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.GoTest);
#line default
#line hidden
return;
case 23:
#line 265 "..\..\..\..\Views\PageTest.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.GoRecord);
#line default
#line hidden
return;
case 24:
#line 267 "..\..\..\..\Views\PageTest.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.GoView);
#line default
#line hidden
return;
}
this._contentLoaded = true;
}
}
}

View File

@@ -0,0 +1,133 @@
#pragma checksum "..\..\..\..\Views\RecordDate.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "26A6787944E77FB072929431D63045D09E531706"
//------------------------------------------------------------------------------
// <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>
/// RecordDate
/// </summary>
public partial class RecordDate : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector {
#line 146 "..\..\..\..\Views\RecordDate.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.DataGrid dataGrid1;
#line default
#line hidden
#line 183 "..\..\..\..\Views\RecordDate.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.DataGrid dataGrid2;
#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/recorddate.xaml", System.UriKind.Relative);
#line 1 "..\..\..\..\Views\RecordDate.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.dataGrid1 = ((System.Windows.Controls.DataGrid)(target));
return;
case 2:
this.dataGrid2 = ((System.Windows.Controls.DataGrid)(target));
return;
case 3:
#line 245 "..\..\..\..\Views\RecordDate.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.GoHome);
#line default
#line hidden
return;
case 4:
#line 247 "..\..\..\..\Views\RecordDate.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.GoTest);
#line default
#line hidden
return;
case 5:
#line 249 "..\..\..\..\Views\RecordDate.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.GoRecord);
#line default
#line hidden
return;
case 6:
#line 251 "..\..\..\..\Views\RecordDate.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.GoView);
#line default
#line hidden
return;
}
this._contentLoaded = true;
}
}
}

View File

@@ -0,0 +1,146 @@
#pragma checksum "..\..\..\..\Views\RecordPage.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "7C25257D5B49F85310AA23991215A080D30141C5"
//------------------------------------------------------------------------------
// <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>
/// RecordPage
/// </summary>
public partial class RecordPage : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector {
#line 136 "..\..\..\..\Views\RecordPage.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.DataGrid RecordDataGrid;
#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/recordpage.xaml", System.UriKind.Relative);
#line 1 "..\..\..\..\Views\RecordPage.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:
#line 9 "..\..\..\..\Views\RecordPage.xaml"
((.Views.RecordPage)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);
#line default
#line hidden
return;
case 2:
this.RecordDataGrid = ((System.Windows.Controls.DataGrid)(target));
return;
case 3:
#line 169 "..\..\..\..\Views\RecordPage.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);
#line default
#line hidden
return;
case 4:
#line 171 "..\..\..\..\Views\RecordPage.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnClear_Click);
#line default
#line hidden
return;
case 5:
#line 185 "..\..\..\..\Views\RecordPage.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.GoHome);
#line default
#line hidden
return;
case 6:
#line 187 "..\..\..\..\Views\RecordPage.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.GoTest);
#line default
#line hidden
return;
case 7:
#line 189 "..\..\..\..\Views\RecordPage.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.GoRecord);
#line default
#line hidden
return;
case 8:
#line 191 "..\..\..\..\Views\RecordPage.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.GoView);
#line default
#line hidden
return;
}
this._contentLoaded = true;
}
}
}

View File

@@ -0,0 +1,277 @@
#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

@@ -0,0 +1,261 @@
#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

@@ -0,0 +1,18 @@
is_global = true
build_property.TargetFramework = net10.0-windows
build_property.TargetFrameworkIdentifier = .NETCoreApp
build_property.TargetFrameworkVersion = v10.0
build_property.TargetPlatformMinVersion = 7.0
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = 头罩视野
build_property.ProjectDir = D:\work\hoodFieldOfView\头罩视野slove\头罩视野\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
build_property.CsWinRTUseWindowsUIXamlProjections = false
build_property.EffectiveAnalysisLevelStyle = 10.0
build_property.EnableCodeStyleSeverity =

View File

@@ -0,0 +1 @@
1b5037bba807e51f9f9806aa25e4e4a18475e10245cb9df956b023739f5bd1c8

View File

@@ -0,0 +1,146 @@
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

@@ -0,0 +1,605 @@
{
"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

@@ -0,0 +1,20 @@
头罩视野
winexe
C#
.cs
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\obj\Debug\net10.0-windows\
头罩视野
none
false
TRACE;DEBUG;NET;NET10_0;NETCOREAPP;WINDOWS;WINDOWS7_0;NET5_0_OR_GREATER;NET6_0_OR_GREATER;NET7_0_OR_GREATER;NET8_0_OR_GREATER;NET9_0_OR_GREATER;NET10_0_OR_GREATER;NETCOREAPP3_0_OR_GREATER;NETCOREAPP3_1_OR_GREATER;WINDOWS7_0_OR_GREATER
D:\work\hoodFieldOfView\头罩视野slove\头罩视野\App.xaml
91871649718
23-2095027487
2291904981109
MainWindow.xaml;Views\ChangeLanguage.xaml;Views\Help.xaml;Views\PageTest.xaml;Views\RecordDate.xaml;Views\RecordPage.xaml;Views\SetPassWord.xaml;Views\SetTime.xaml;Views\VisiData.xaml;
False

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,56 @@
{
"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

@@ -0,0 +1,386 @@
{
"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

@@ -25,7 +25,6 @@
<ItemGroup>
<PackageReference Include="EPPlus" Version="8.5.3" />
<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" />

View File

@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup />
<ItemGroup>
<Compile Update="Views\Help.xaml.cs">
<SubType>Code</SubType>
</Compile>
<Compile Update="Views\RecordDate.xaml.cs">
<SubType>Code</SubType>
</Compile>
<Compile Update="Views\RecordPage.xaml.cs">
<SubType>Code</SubType>
</Compile>
<Compile Update="Views\SetPassWord.xaml.cs">
<SubType>Code</SubType>
</Compile>
<Compile Update="Views\SetTime.xaml.cs">
<SubType>Code</SubType>
</Compile>
<Compile Update="Views\ChangeLanguage.xaml.cs">
<SubType>Code</SubType>
</Compile>
<Compile Update="Views\PageTest.xaml.cs">
<SubType>Code</SubType>
</Compile>
<Compile Update="Views\VisiData.xaml.cs">
<SubType>Code</SubType>
</Compile>
</ItemGroup>
</Project>