46 lines
2.1 KiB
XML
46 lines
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<configuration>
|
|
<appSettings>
|
|
<!-- 探测器配置 | Detector Configuration -->
|
|
|
|
<!-- 探测器类型 | Detector Type -->
|
|
<!-- 可选值: Varex, IRay, Hamamatsu | Available values: Varex, IRay, Hamamatsu -->
|
|
<add key="Detector:Type" value="Varex" />
|
|
|
|
<!-- 通用配置 | Common Configuration -->
|
|
<add key="Detector:IP" value="192.168.1.200" />
|
|
<add key="Detector:Port" value="5000" />
|
|
<add key="Detector:SavePath" value="C:\DetectorImages" />
|
|
<add key="Detector:AutoSave" value="true" />
|
|
|
|
<!-- Varex 探测器专属配置 | Varex Detector Specific Configuration -->
|
|
<!-- Binning 模式: Bin1x1, Bin2x2, Bin4x4 | Binning mode: Bin1x1, Bin2x2, Bin4x4 -->
|
|
<add key="Detector:Varex:BinningMode" value="Bin1x1" />
|
|
<!-- 增益模式: Low, High | Gain mode: Low, High -->
|
|
<add key="Detector:Varex:GainMode" value="High" />
|
|
<!-- 曝光时间(毫秒)| Exposure time (milliseconds) -->
|
|
<add key="Detector:Varex:ExposureTime" value="100" />
|
|
<!-- ROI 区域 | ROI Region -->
|
|
<add key="Detector:Varex:ROI_X" value="0" />
|
|
<add key="Detector:Varex:ROI_Y" value="0" />
|
|
<add key="Detector:Varex:ROI_Width" value="2880" />
|
|
<add key="Detector:Varex:ROI_Height" value="2880" />
|
|
|
|
<!-- iRay 探测器专属配置 | iRay Detector Specific Configuration -->
|
|
<!-- 采集模式: Continuous, SingleFrame | Acquisition mode: Continuous, SingleFrame -->
|
|
<add key="Detector:IRay:AcquisitionMode" value="Continuous" />
|
|
<!-- 默认增益值 | Default gain value -->
|
|
<add key="Detector:IRay:DefaultGain" value="1.0" />
|
|
|
|
<!-- 校正配置 | Correction Configuration -->
|
|
<add key="Detector:Correction:DarkFrameCount" value="10" />
|
|
<add key="Detector:Correction:GainFrameCount" value="10" />
|
|
<add key="Detector:Correction:SaveCorrectionData" value="true" />
|
|
|
|
<!-- 操作超时配置 | Operation Timeout Configuration -->
|
|
<add key="Detector:InitializationTimeout" value="30000" />
|
|
<add key="Detector:AcquisitionTimeout" value="10000" />
|
|
<add key="Detector:CorrectionTimeout" value="60000" />
|
|
</appSettings>
|
|
</configuration>
|