新增interlockV75 屏蔽重复interlock
This commit is contained in:
parent
07d6c0b68c
commit
ea8a78922d
|
@ -1152,6 +1152,9 @@
|
|||
<Limit di="PM1.DI_UPS1LowBattery" value="false" tip="" tip.zh-CN="" tip.en-US="DI-84"/>
|
||||
<Limit di="PM1.DI_UPS2LowBattery" value="false" tip="" tip.zh-CN="" tip.en-US="DI-85"/>
|
||||
</Action>
|
||||
<Action do="PM1.DO_DORVac(V75)" value="true" tip="" tip.zh-CN="" tip.en-US="DO-48">
|
||||
<Limit di="PM1.DI_DORRefillFB(V76)" value="false" tip="" tip.zh-CN="" tip.en-US="DI-209" ignoreReverse="true"/>
|
||||
</Action>
|
||||
<Action do="PM1.DO_DORRefill(V76)" value="true" tip="" tip.zh-CN="" tip.en-US="DO-49">
|
||||
<Limit di="PM1.DI_PMH2DetectorSW" value="true" tip="" tip.zh-CN="" tip.en-US="DI-30"/>
|
||||
<Limit di="PM1.DI_GBHCLDetectorSW" value="true" tip="" tip.zh-CN="" tip.en-US="DI-31"/>
|
||||
|
|
|
@ -1152,6 +1152,9 @@
|
|||
<Limit di="PM2.DI_UPS1LowBattery" value="false" tip="" tip.zh-CN="" tip.en-US="DI-84"/>
|
||||
<Limit di="PM2.DI_UPS2LowBattery" value="false" tip="" tip.zh-CN="" tip.en-US="DI-85"/>
|
||||
</Action>
|
||||
<Action do="PM2.DO_DORVac(V75)" value="true" tip="" tip.zh-CN="" tip.en-US="DO-48">
|
||||
<Limit di="PM2.DI_DORRefillFB(V76)" value="false" tip="" tip.zh-CN="" tip.en-US="DI-209" ignoreReverse="true"/>
|
||||
</Action>
|
||||
<Action do="PM2.DO_DORRefill(V76)" value="true" tip="" tip.zh-CN="" tip.en-US="DO-49">
|
||||
<Limit di="PM2.DI_PMH2DetectorSW" value="true" tip="" tip.zh-CN="" tip.en-US="DI-30"/>
|
||||
<Limit di="PM2.DI_GBHCLDetectorSW" value="true" tip="" tip.zh-CN="" tip.en-US="DI-31"/>
|
||||
|
|
|
@ -2639,121 +2639,121 @@ namespace SicModules.PMs
|
|||
//}
|
||||
|
||||
//14.DOR Vac (DO48 V75常闭)[V76常闭]
|
||||
if (V75 != null)
|
||||
{
|
||||
V75.FuncCheckInterLock = (setValue) =>
|
||||
{
|
||||
if (setValue)
|
||||
{
|
||||
if (V76 != null)
|
||||
{
|
||||
if (V76.Status)
|
||||
{
|
||||
EV.PostWarningLog(Module, "Condition:V76 should be closed");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
EV.PostWarningLog(Module, "Condition:V76 should be not null");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
//if (V75 != null)
|
||||
//{
|
||||
// V75.FuncCheckInterLock = (setValue) =>
|
||||
// {
|
||||
// if (setValue)
|
||||
// {
|
||||
// if (V76 != null)
|
||||
// {
|
||||
// if (V76.Status)
|
||||
// {
|
||||
// EV.PostWarningLog(Module, "Condition:V76 should be closed");
|
||||
// return false;
|
||||
// }
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// EV.PostWarningLog(Module, "Condition:V76 should be not null");
|
||||
// return false;
|
||||
// }
|
||||
// }
|
||||
|
||||
return true;
|
||||
};
|
||||
// return true;
|
||||
// };
|
||||
|
||||
//返回True,表明条件满足,强制关阀
|
||||
V75.FuncForceOpen = (curStatue) =>
|
||||
{
|
||||
if (curStatue)
|
||||
{
|
||||
//满足条件,强制执行
|
||||
if (V76 != null)
|
||||
{
|
||||
if (V76.Status)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// //返回True,表明条件满足,强制关阀
|
||||
// V75.FuncForceOpen = (curStatue) =>
|
||||
// {
|
||||
// if (curStatue)
|
||||
// {
|
||||
// //满足条件,强制执行
|
||||
// if (V76 != null)
|
||||
// {
|
||||
// if (V76.Status)
|
||||
// {
|
||||
// return true;
|
||||
// }
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// return false;
|
||||
// }
|
||||
// }
|
||||
|
||||
return false;
|
||||
};
|
||||
}
|
||||
// return false;
|
||||
// };
|
||||
//}
|
||||
|
||||
//15.DOR Refill (DO49 V76常闭)
|
||||
if (V76 != null)
|
||||
{
|
||||
V76.FuncCheckInterLock = (setValue) =>
|
||||
{
|
||||
if (setValue)
|
||||
{
|
||||
if (SensorPMATMSW != null && _pmInterLock != null && V75 != null)
|
||||
{
|
||||
if (SensorPMATMSW.Value) //DI9=1
|
||||
{
|
||||
EV.PostWarningLog(Module, "Condition:DI-4 PM AT ATM ");
|
||||
return false;
|
||||
}
|
||||
////15.DOR Refill (DO49 V76常闭)
|
||||
//if (V76 != null)
|
||||
//{
|
||||
// V76.FuncCheckInterLock = (setValue) =>
|
||||
// {
|
||||
// if (setValue)
|
||||
// {
|
||||
// if (SensorPMATMSW != null && _pmInterLock != null && V75 != null)
|
||||
// {
|
||||
// if (SensorPMATMSW.Value) //DI9=1
|
||||
// {
|
||||
// EV.PostWarningLog(Module, "Condition:DI-4 PM AT ATM ");
|
||||
// return false;
|
||||
// }
|
||||
|
||||
if (!_pmInterLock.DoLidOpenRoutineSucceed)
|
||||
{
|
||||
EV.PostWarningLog(Module, "Condition:Purge Routine Succeed should be on ");
|
||||
return false;
|
||||
}
|
||||
// if (!_pmInterLock.DoLidOpenRoutineSucceed)
|
||||
// {
|
||||
// EV.PostWarningLog(Module, "Condition:Purge Routine Succeed should be on ");
|
||||
// return false;
|
||||
// }
|
||||
|
||||
if (V75.Status)
|
||||
{
|
||||
EV.PostWarningLog(Module, "Condition:V75 should be Closed!");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
EV.PostWarningLog(Module, "Condition:SensorPMATMSW should be not null");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// if (V75.Status)
|
||||
// {
|
||||
// EV.PostWarningLog(Module, "Condition:V75 should be Closed!");
|
||||
// return false;
|
||||
// }
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// EV.PostWarningLog(Module, "Condition:SensorPMATMSW should be not null");
|
||||
// return false;
|
||||
// }
|
||||
// }
|
||||
|
||||
return true;
|
||||
};
|
||||
// return true;
|
||||
// };
|
||||
|
||||
//返回True,表明条件满足,强制关阀
|
||||
V76.FuncForceOpen = (curStatue) =>
|
||||
{
|
||||
if (curStatue)
|
||||
{
|
||||
//满足条件,强制执行
|
||||
if (SensorPMATMSW != null)
|
||||
{
|
||||
if (SensorPMATMSW.Value)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
// //返回True,表明条件满足,强制关阀
|
||||
// V76.FuncForceOpen = (curStatue) =>
|
||||
// {
|
||||
// if (curStatue)
|
||||
// {
|
||||
// //满足条件,强制执行
|
||||
// if (SensorPMATMSW != null)
|
||||
// {
|
||||
// if (SensorPMATMSW.Value)
|
||||
// {
|
||||
// return true;
|
||||
// }
|
||||
// }
|
||||
|
||||
//V76和V75只能开一个
|
||||
if (V75 != null)
|
||||
{
|
||||
if (V75.Status)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// //V76和V75只能开一个
|
||||
// if (V75 != null)
|
||||
// {
|
||||
// if (V75.Status)
|
||||
// {
|
||||
// return true;
|
||||
// }
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// return false;
|
||||
// }
|
||||
// }
|
||||
|
||||
return false;
|
||||
};
|
||||
}
|
||||
// return false;
|
||||
// };
|
||||
//}
|
||||
|
||||
//16.17.PM pump bypass valve force open (DO52 V27) Checked
|
||||
if (V27 != null)
|
||||
|
|
Loading…
Reference in New Issue