26 lines
988 B
C#
26 lines
988 B
C#
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();
|
|
}
|
|
}
|