将工程所有的cs文件以及xaml文件的编码格式转换为utf-8编码,请安装vs 2022的Force utf-8(No BOM) 2022插件

This commit is contained in:
TianSong
2026-04-20 14:38:06 +08:00
parent 28a1ae0898
commit 9af453bc8d
63 changed files with 66 additions and 66 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
using System;
using System;
using System.IO;
namespace XP.Common.Configs
+1 -1
View File
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@@ -1,4 +1,4 @@
using Microsoft.Data.Sqlite;
using Microsoft.Data.Sqlite;
using System;
using System.Collections.Generic;
using System.Data;
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
+1 -1
View File
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
+1 -1
View File
@@ -1,4 +1,4 @@
using System.Configuration;
using System.Configuration;
using XP.Common.Configs;
using XP.Common.Dump.Configs;
@@ -1,4 +1,4 @@
using System;
using System;
using Serilog;
using XP.Common.Logging.Interfaces;
@@ -1,4 +1,4 @@
using System;
using System;
namespace XP.Common.Logging.Interfaces
{
+1 -1
View File
@@ -1,4 +1,4 @@
using System;
using System;
using Serilog;
using Serilog.Events;
using XP.Common.Configs;
+1 -1
View File
@@ -1,4 +1,4 @@
using System;
using System;
using Prism.Ioc;
using Prism.Modularity;
using XP.Common.Dump.Configs;
+1 -1
View File
@@ -1,4 +1,4 @@
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
@@ -1,4 +1,4 @@
using Prism.Ioc;
using Prism.Ioc;
using Prism.Modularity;
using System.Resources;
using XP.Common.Localization;
+1 -1
View File
@@ -1,4 +1,4 @@
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
@@ -1,4 +1,4 @@
using System;
using System;
using System.Configuration;
using System.IO;
using XP.Common.Logging.Interfaces;
@@ -1,4 +1,4 @@
using System.Collections.Generic;
using System.Collections.Generic;
using XP.Hardware.MotionControl.Abstractions.Enums;
namespace XP.Hardware.MotionControl.Config
+1 -1
View File
@@ -1,4 +1,4 @@
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
@@ -1,4 +1,4 @@
using System;
using System;
using System.Windows;
using Prism.Commands;
using Prism.Events;
@@ -1,4 +1,4 @@
<UserControl x:Class="XP.Hardware.MotionControl.Views.MotionControlView"
<UserControl x:Class="XP.Hardware.MotionControl.Views.MotionControlView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+1 -1
View File
@@ -1,4 +1,4 @@
using Prism.Ioc;
using Prism.Ioc;
using Prism.Modularity;
namespace XP.Hardware.PLC.Sentry
+1 -1
View File
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
+1 -1
View File
@@ -1,4 +1,4 @@
using System;
using System;
using System.Configuration;
using XP.Common.Logging.Interfaces;
using XP.Hardware.Plc.Exceptions;
+1 -1
View File
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
+1 -1
View File
@@ -1,4 +1,4 @@
using HslCommunication.Profinet.Siemens;
using HslCommunication.Profinet.Siemens;
using HslCommunication;
using System;
using System.Threading.Tasks;
+1 -1
View File
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
+1 -1
View File
@@ -1,4 +1,4 @@
using HslCommunication;
using HslCommunication;
using XP.Hardware.Plc.Exceptions;
namespace XP.Hardware.PLC.Helpers
+1 -1
View File
@@ -1,4 +1,4 @@
using Prism.Ioc;
using Prism.Ioc;
using Prism.Modularity;
using System;
using System.IO;
+1 -1
View File
@@ -1,4 +1,4 @@
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
+1 -1
View File
@@ -1,4 +1,4 @@
using Prism.Mvvm;
using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -1,4 +1,4 @@
<Window x:Class="XP.Hardware.PLC.Views.PlcAddrConfigEditorWindow"
<Window x:Class="XP.Hardware.PLC.Views.PlcAddrConfigEditorWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
@@ -1,4 +1,4 @@
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
@@ -1,4 +1,4 @@
using System;
using System;
namespace XP.Hardware.RaySource.Abstractions
{
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@@ -1,4 +1,4 @@
using System;
using System;
namespace XP.Hardware.RaySource.Abstractions
{
@@ -1,4 +1,4 @@
using System;
using System;
namespace XP.Hardware.RaySource.Config
{
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
@@ -1,4 +1,4 @@
using Prism.Ioc;
using Prism.Ioc;
using Prism.Modularity;
using System.Resources;
using XP.Common.Localization;
+1 -1
View File
@@ -1,4 +1,4 @@
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
@@ -1,4 +1,4 @@
using Prism.Commands;
using Prism.Commands;
using Prism.Events;
using Prism.Mvvm;
using System;
@@ -1,4 +1,4 @@
using Prism.Commands;
using Prism.Commands;
using Prism.Events;
using Prism.Mvvm;
using System;
@@ -1,4 +1,4 @@
<UserControl x:Class="XP.Hardware.RaySource.Views.RaySourceConfigView"
<UserControl x:Class="XP.Hardware.RaySource.Views.RaySourceConfigView"
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"
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@@ -1,4 +1,4 @@
<UserControl
<UserControl
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:converters="clr-namespace:XP.Hardware.RaySource.Converters"
@@ -1,4 +1,4 @@
using System;
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
+1 -1
View File
@@ -1,4 +1,4 @@
<prism:PrismApplication x:Class="XP.Scan.App"
<prism:PrismApplication x:Class="XP.Scan.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:XP.Scan"
+1 -1
View File
@@ -1,4 +1,4 @@
using System;
using System;
using System.Windows;
using Prism.Container.DryIoc;
using Prism.Ioc;
+1 -1
View File
@@ -1,4 +1,4 @@
using Prism.Mvvm;
using Prism.Mvvm;
namespace XP.Scan.ViewModels
{
+1 -1
View File
@@ -1,4 +1,4 @@
<Window x:Class="XP.Scan.Views.MainWindow"
<Window x:Class="XP.Scan.Views.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:prism="http://prismlibrary.com/"
+1 -1
View File
@@ -1,4 +1,4 @@
using System.Windows;
using System.Windows;
namespace XP.Scan.Views
{
+4 -4
View File
@@ -10,14 +10,14 @@ using XplorePlane.Services;
namespace XplorePlane.Tests.Helpers
{
/// <summary>
/// 瘚贝𨭌撌亙嚗𡁜撱?Mock 霂閧鍂
/// 测试辅助工具:创?Mock 和测试用图像
/// </summary>
internal static class TestHelpers
{
public static readonly string[] DefaultKeys = { "Blur", "Sharpen", "Threshold" };
/// <summary>
/// 𥕦遣銝?1x1 ?BitmapSource嚗𣬚鍂鈭擧?
/// 创建一?1x1 像素?BitmapSource,用于测?
/// </summary>
public static BitmapSource CreateTestBitmap(int width = 4, int height = 4)
{
@@ -31,13 +31,13 @@ namespace XplorePlane.Tests.Helpers
}
/// <summary>
/// 𥕦遣銝銝芾憭批㦛𧶏瘚贝蝻拇𦆮嚗?
/// 创建一个超大图像(用于测试预览缩放?
/// </summary>
public static BitmapSource CreateLargeBitmap(int width = 4096, int height = 4096)
=> CreateTestBitmap(width, height);
/// <summary>
/// 𥕦遣 Mock IImageProcessingService嚗峕釣?DefaultKeys 銝剔蝞堒
/// 创建标准 Mock IImageProcessingService,注?DefaultKeys 中的算子
/// </summary>
public static Mock<IImageProcessingService> CreateMockImageService(
string[]? keys = null,
+1 -1
View File
@@ -1,4 +1,4 @@
<Application x:Class="XplorePlane.App"
<Application x:Class="XplorePlane.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Application.Resources>
+1 -1
View File
@@ -1,4 +1,4 @@
using DryIoc;
using DryIoc;
using Prism.DryIoc;
using Prism.Ioc;
using Prism.Modularity;
@@ -1,4 +1,4 @@
using Prism.Mvvm;
using Prism.Mvvm;
using System;
using System.Globalization;
using System.Linq;
@@ -1,4 +1,4 @@
<UserControl
<UserControl
x:Class="XplorePlane.Views.ImageProcessingPanelView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+1 -1
View File
@@ -1,4 +1,4 @@
<telerik:RadRibbonWindow
<telerik:RadRibbonWindow
x:Class="XplorePlane.Views.MainWindowB"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"