修改device错误绑定

This commit is contained in:
SIC1016\caipeilun
2026-08-19 10:25:32 +08:00
parent 8b8246bec0
commit 67cdb3e88e
6 changed files with 43 additions and 127 deletions
+15 -1
View File
@@ -95,6 +95,17 @@ namespace SicSimulator.Instances
private void SetDefaultValue(string mod)
{
SetWaterTemp(mod);
IO.DI[$"{mod}.DI_PMH2SDetector1SW"].Value = true;
IO.DI[$"{mod}.DI_PMH2SeDetector1SW"].Value = true;
IO.DI[$"{mod}.DI_PMH2SeDetector2SW"].Value = true;
IO.DI[$"{mod}.DI_PMSO2Detector2SW"].Value = true;
IO.DI[$"{mod}.DI_PMGasDetectorFault2SW"].Value = true;
IO.DI[$"{mod}.DI_PMSO2Detector1SW"].Value = true;
IO.DI[$"{mod}.DI_GBH2SDetectorSW"].Value = true;
IO.DI[$"{mod}.DI_GBH2SeDetectorSW"].Value = true;
IO.DI[$"{mod}.DI_PMSmokeDetectorSW"].Value = true;
IO.DI[$"{mod}.DI_PMH2SDetector2SW"].Value = true;
IO.DI[$"{mod}.DI_ConfinementRingDone"].Value = true;
IO.DI[$"{mod}.DI_DryPumpAlarm"].Value = true;
@@ -259,7 +270,7 @@ namespace SicSimulator.Instances
IO.DI[$"{mod}.DI_PMAExhaustDPSW"].Value = true;
IO.DI[$"{mod}.DI_ServoDriverFaultSW"].Value = true;
IO.DI[$"{mod}.DI_GN2InletPressSW"].Value = true;
IO.DI[$"{mod}.DI_GN2InletPressSW"].Value = false;
IO.DI[$"{mod}.DI_ArInletPressSW"].Value = true;
IO.DI[$"{mod}.DI_FacilityWarningSW"].Value = true;
@@ -297,6 +308,9 @@ namespace SicSimulator.Instances
IO.DO[$"{mod}.DO_HeaterEnable"].Value = true;
IO.DO[$"{mod}.DO_EPV2"].Value = true;
IO.DO[$"{mod}.DO_Foreline1FlowTemp"].Value = true;
IO.DO[$"{mod}.DO_Foreline2FlowTemp"].Value = true;
}
private void SetWaterTemp(string mod)