将Feature/XP.Common和Feature/XP.Hardware分支合并至Develop/XP.forHardwareAndCommon,完善XPapp注册和相关硬件类库通用类库功能。
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace XP.Hardware.RaySource.Abstractions
|
||||
{
|
||||
/// <summary>
|
||||
/// 射线源工厂接口 | X-Ray Source Factory Interface
|
||||
/// 定义创建射线源实例的工厂方法 | Defines factory methods for creating X-ray source instances
|
||||
/// </summary>
|
||||
public interface IRaySourceFactory
|
||||
{
|
||||
/// <summary>
|
||||
/// 创建指定类型的射线源实例 | Create X-ray source instance of specified type
|
||||
/// </summary>
|
||||
/// <param name="sourceType">射线源类型名称 | X-ray source type name</param>
|
||||
/// <returns>射线源实例 | X-ray source instance</returns>
|
||||
IXRaySource CreateRaySource(string sourceType);
|
||||
|
||||
/// <summary>
|
||||
/// 获取支持的射线源类型列表 | Get list of supported X-ray source types
|
||||
/// </summary>
|
||||
/// <returns>类型名称列表 | List of type names</returns>
|
||||
IEnumerable<string> GetSupportedSourceTypes();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user