From 68959ce11940880e392945be83f82fc69dbd1c9f Mon Sep 17 00:00:00 2001 From: rain Date: Tue, 21 Apr 2026 12:46:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=81=9C=E6=AD=A2=E8=BF=BD=E9=92=9F=E4=B8=8D?= =?UTF-8?q?=E5=BF=85=E8=A6=81=E7=9A=84=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 6 +- .../obj/Debug/net10.0-windows/Views/PageTest.g.i.cs | 343 ------------------ .../obj/Debug/net10.0-windows/Views/RecordDate.g.i.cs | 133 ------- .../obj/Debug/net10.0-windows/Views/RecordPage.g.i.cs | 146 -------- 4 files changed, 5 insertions(+), 623 deletions(-) delete mode 100644 头罩视野slove/头罩视野/obj/Debug/net10.0-windows/Views/PageTest.g.i.cs delete mode 100644 头罩视野slove/头罩视野/obj/Debug/net10.0-windows/Views/RecordDate.g.i.cs delete mode 100644 头罩视野slove/头罩视野/obj/Debug/net10.0-windows/Views/RecordPage.g.i.cs diff --git a/.gitignore b/.gitignore index fcb9258..477f8a8 100644 --- a/.gitignore +++ b/.gitignore @@ -72,4 +72,8 @@ Thumbs.db *.g.i.cs *.log Thumbs.db -.DS_Store \ No newline at end of file +.DS_Store +# 忽略编译生成的 obj 目录(核心!) +obj/ +*.g.cs +*.g.i.cs \ No newline at end of file diff --git a/头罩视野slove/头罩视野/obj/Debug/net10.0-windows/Views/PageTest.g.i.cs b/头罩视野slove/头罩视野/obj/Debug/net10.0-windows/Views/PageTest.g.i.cs deleted file mode 100644 index c5dbcfe..0000000 --- a/头罩视野slove/头罩视野/obj/Debug/net10.0-windows/Views/PageTest.g.i.cs +++ /dev/null @@ -1,343 +0,0 @@ -#pragma checksum "..\..\..\..\Views\PageTest.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "CC165992FB311CDDE115E339868F704FC7865550" -//------------------------------------------------------------------------------ -// -// 此代码由工具生成。 -// 运行时版本:4.0.30319.42000 -// -// 对此文件的更改可能会导致不正确的行为,并且如果 -// 重新生成代码,这些更改将会丢失。 -// -//------------------------------------------------------------------------------ - -using HandyControl.Controls; -using HandyControl.Data; -using HandyControl.Expression.Media; -using HandyControl.Expression.Shapes; -using HandyControl.Interactivity; -using HandyControl.Media.Animation; -using HandyControl.Media.Effects; -using HandyControl.Properties.Langs; -using HandyControl.Themes; -using HandyControl.Tools; -using HandyControl.Tools.Converter; -using HandyControl.Tools.Extension; -using System; -using System.Diagnostics; -using System.Windows; -using System.Windows.Automation; -using System.Windows.Controls; -using System.Windows.Controls.Primitives; -using System.Windows.Controls.Ribbon; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Ink; -using System.Windows.Input; -using System.Windows.Markup; -using System.Windows.Media; -using System.Windows.Media.Animation; -using System.Windows.Media.Effects; -using System.Windows.Media.Imaging; -using System.Windows.Media.Media3D; -using System.Windows.Media.TextFormatting; -using System.Windows.Navigation; -using System.Windows.Shapes; -using System.Windows.Shell; -using 头罩视野.Views; - - -namespace 头罩视野.Views { - - - /// - /// PageTest - /// - 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; - - /// - /// InitializeComponent - /// - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.6.0")] - public void InitializeComponent() { - if (_contentLoaded) { - return; - } - _contentLoaded = true; - System.Uri resourceLocater = new System.Uri("/头罩视野;component/views/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; - } - } -} - diff --git a/头罩视野slove/头罩视野/obj/Debug/net10.0-windows/Views/RecordDate.g.i.cs b/头罩视野slove/头罩视野/obj/Debug/net10.0-windows/Views/RecordDate.g.i.cs deleted file mode 100644 index 0dcad9b..0000000 --- a/头罩视野slove/头罩视野/obj/Debug/net10.0-windows/Views/RecordDate.g.i.cs +++ /dev/null @@ -1,133 +0,0 @@ -#pragma checksum "..\..\..\..\Views\RecordDate.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "26A6787944E77FB072929431D63045D09E531706" -//------------------------------------------------------------------------------ -// -// 此代码由工具生成。 -// 运行时版本:4.0.30319.42000 -// -// 对此文件的更改可能会导致不正确的行为,并且如果 -// 重新生成代码,这些更改将会丢失。 -// -//------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Windows; -using System.Windows.Automation; -using System.Windows.Controls; -using System.Windows.Controls.Primitives; -using System.Windows.Controls.Ribbon; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Ink; -using System.Windows.Input; -using System.Windows.Markup; -using System.Windows.Media; -using System.Windows.Media.Animation; -using System.Windows.Media.Effects; -using System.Windows.Media.Imaging; -using System.Windows.Media.Media3D; -using System.Windows.Media.TextFormatting; -using System.Windows.Navigation; -using System.Windows.Shapes; -using System.Windows.Shell; -using 头罩视野.Views; - - -namespace 头罩视野.Views { - - - /// - /// RecordDate - /// - 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; - - /// - /// InitializeComponent - /// - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.6.0")] - public void InitializeComponent() { - if (_contentLoaded) { - return; - } - _contentLoaded = true; - System.Uri resourceLocater = new System.Uri("/头罩视野;component/views/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; - } - } -} - diff --git a/头罩视野slove/头罩视野/obj/Debug/net10.0-windows/Views/RecordPage.g.i.cs b/头罩视野slove/头罩视野/obj/Debug/net10.0-windows/Views/RecordPage.g.i.cs deleted file mode 100644 index d5766ad..0000000 --- a/头罩视野slove/头罩视野/obj/Debug/net10.0-windows/Views/RecordPage.g.i.cs +++ /dev/null @@ -1,146 +0,0 @@ -#pragma checksum "..\..\..\..\Views\RecordPage.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "7C25257D5B49F85310AA23991215A080D30141C5" -//------------------------------------------------------------------------------ -// -// 此代码由工具生成。 -// 运行时版本:4.0.30319.42000 -// -// 对此文件的更改可能会导致不正确的行为,并且如果 -// 重新生成代码,这些更改将会丢失。 -// -//------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Windows; -using System.Windows.Automation; -using System.Windows.Controls; -using System.Windows.Controls.Primitives; -using System.Windows.Controls.Ribbon; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Ink; -using System.Windows.Input; -using System.Windows.Markup; -using System.Windows.Media; -using System.Windows.Media.Animation; -using System.Windows.Media.Effects; -using System.Windows.Media.Imaging; -using System.Windows.Media.Media3D; -using System.Windows.Media.TextFormatting; -using System.Windows.Navigation; -using System.Windows.Shapes; -using System.Windows.Shell; -using 头罩视野.Views; - - -namespace 头罩视野.Views { - - - /// - /// RecordPage - /// - 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; - - /// - /// InitializeComponent - /// - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.6.0")] - public void InitializeComponent() { - if (_contentLoaded) { - return; - } - _contentLoaded = true; - System.Uri resourceLocater = new System.Uri("/头罩视野;component/views/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; - } - } -} -