using System; using System.Collections.Generic; namespace XP.Hardware.RaySource.Abstractions { /// /// 射线源工厂接口 | X-Ray Source Factory Interface /// 定义创建射线源实例的工厂方法 | Defines factory methods for creating X-ray source instances /// public interface IRaySourceFactory { /// /// 创建指定类型的射线源实例 | Create X-ray source instance of specified type /// /// 射线源类型名称 | X-ray source type name /// 射线源实例 | X-ray source instance IXRaySource CreateRaySource(string sourceType); /// /// 获取支持的射线源类型列表 | Get list of supported X-ray source types /// /// 类型名称列表 | List of type names IEnumerable GetSupportedSourceTypes(); } }