修改device错误绑定
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user