<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <appSettings>
    <!-- Serilog 日志配置 -->
    <add key="Serilog:LogPath" value="logs" />
    <add key="Serilog:MinimumLevel" value="Information" />
    <add key="Serilog:EnableConsole" value="true" />
    <add key="Serilog:RollingInterval" value="Day" />
    <add key="Serilog:FileSizeLimitMB" value="100" />
    <add key="Serilog:RetainedFileCountLimit" value="30" />
    
    <!-- 射线源配置 -->
    <add key="RaySource.Type" value="Comet225"/>
    <add key="RaySource.StationName" value="XRAY_STATION"/>
    <add key="RaySource.ConnectionTimeout" value="5000"/>
    <add key="RaySource.VoltageMin" value="20"/>
    <add key="RaySource.VoltageMax" value="225"/>
    <add key="RaySource.CurrentMin" value="10"/>
    <add key="RaySource.CurrentMax" value="1000"/>
    
    <!-- 探测器配置 -->
    <add key="Detector.Type" value="Varex4343"/>
    <add key="Detector.IPAddress" value="192.168.1.101"/>
    <add key="Detector.Port" value="8080"/>
    
    <!-- PLC 配置 -->
    <add key="PLC.Type" value="B&amp;R"/>
    <add key="PLC.StationName" value="PLC_STATION"/>
    <add key="PLC.ConnectionTimeout" value="5000"/>
  </appSettings>
</configuration>
