#0014 初步集成射线源

This commit is contained in:
zhengxuan.zhang
2026-03-14 18:02:55 +08:00
parent 9b48d5a56b
commit 80cd34fe76
12 changed files with 120 additions and 44 deletions
+14 -8
View File
@@ -9,14 +9,20 @@
<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"/>
<!-- 射线源配置key 格式: RaySource:xxx,与 ConfigLoader 一致) -->
<add key="RaySource:PlcIpAddress" value="192.168.1.100" />
<add key="RaySource:PlcPort" value="11160" />
<add key="RaySource:StationNumber" value="1" />
<add key="RaySource:CpuName" value="X20CP1584" />
<add key="RaySource:ConnectionTimeout" value="5000" />
<add key="RaySource:MinVoltage" value="20" />
<add key="RaySource:MaxVoltage" value="225" />
<add key="RaySource:MinCurrent" value="10" />
<add key="RaySource:MaxCurrent" value="1000" />
<add key="RaySource:WarmUpTimeout" value="300000" />
<add key="RaySource:StartUpTimeout" value="180000" />
<add key="RaySource:StatusPollingInterval" value="500" />
<add key="RaySource:EnableAutoStatusMonitoring" value="true" />
<!-- 探测器配置 -->
<add key="Detector.Type" value="Varex4343"/>