将Feature/XP.Common和Feature/XP.Hardware分支合并至Develop/XP.forHardwareAndCommon,完善XPapp注册和相关硬件类库通用类库功能。

This commit is contained in:
QI Mingxuan
2026-04-16 17:31:13 +08:00
parent 6ec4c3ddaa
commit 2bd6e566c3
581 changed files with 74600 additions and 222 deletions
@@ -0,0 +1,33 @@
using System;
using XP.Hardware.Detector.Abstractions.Enums;
namespace XP.Hardware.Detector.Abstractions
{
/// <summary>
/// 校正完成事件参数 | Correction completed event arguments
/// 携带校正类型和结果信息
/// </summary>
public class CorrectionCompletedEventArgs : EventArgs
{
/// <summary>
/// 校正类型 | Correction type
/// </summary>
public CorrectionType Type { get; set; }
/// <summary>
/// 校正结果 | Correction result
/// </summary>
public DetectorResult Result { get; set; }
/// <summary>
/// 构造函数 | Constructor
/// </summary>
/// <param name="type">校正类型 | Correction type</param>
/// <param name="result">校正结果 | Correction result</param>
public CorrectionCompletedEventArgs(CorrectionType type, DetectorResult result)
{
Type = type;
Result = result;
}
}
}