修复运动控制问题:ExecuteToggleEnable 在 PLC 写入失败或异常时回滚 IsJoystickEnabled 状态;OnPlcConnectionChanged 中改为 new List<>(dict.Keys) 遍历副本,避免潜在的集合修改问题;SendSourceDetectorZMoveCommand 新增 sourcePropertyName 参数,根据用户编辑的是 SourceZ 还是 DetectorZ 来决定 delta 计算方向;SavePositionsCommand 增加 () => IsPlcConnected 条件,PLC 未连接时禁止保存。

补充射线源和PLC类库所需配置和信号地址定义文件。
This commit is contained in:
QI Mingxuan
2026-05-11 10:53:45 +08:00
parent f4a2856b92
commit e9596b013a
11 changed files with 9656 additions and 467 deletions
@@ -0,0 +1,90 @@
[sys1____]
"SerialNumber"
[geo_dm__#Cougar]
"Name9"
"Value9"
"Name10"
"Value10"
"Name19"
"Value19"
"Name21"
"Value21"
"Name24"
"Value24"
"Name29"
"Value29"
"Name30"
"Value30"
"Name48"
"Value48"
[geo_dm__#Cheetah]
"Name9"
"Value9"
"Name10"
"Value10"
"Name12"
"Value12"
"Name13"
"Value13"
"Name22"
"Value22"
"Name24"
"Value24"
"Name27"
"Value27"
"Name48"
"Value48"
[joyspeed]
"Speed0"
"Speed1"
"Speed2"
"Speed3"
"Speed4"
"Speed5"
"Speed6"
"Speed7"
"Speed8"
"Speed9"
[loadpos_]
"SafePos[3]"
[para_1__]
"PosSW_End"
"NegSW_End"
"RefPosition"
[para_2__]
"PosSW_End"
"NegSW_End"
"RefPosition"
[para_3__]
"PosSW_End"
"NegSW_End"
"RefPosition"
[para_4__]
"PosSW_End"
"NegSW_End"
"RefPosition"
"RefPositionEnd"
[para_5__]
"PosSW_End"
"NegSW_End"
"RefPosition"
[para_6__]
"PosSW_End"
"NegSW_End"
"RefPosition"
"DistPerTurn"
[para_7__]
"PosSW_End"
"NegSW_End"
"RefPosition"
[para_8__]
"PosSW_End"
"NegSW_End"
"RefPosition"
[para_9__]
"PosSW_End"
"NegSW_End"
"RefPosition"
[dm_door_]
"DoorOpenSwitchAvail#410"
EOF