|
@@ -17,8 +17,7 @@ namespace PunkHPX8_RT.Devices.Facilities
|
|
|
public class SystemFacilities : BaseDevice, IDevice
|
|
|
{
|
|
|
#region 常量
|
|
|
- private const string FACILITIES = "Facilities";
|
|
|
- private const string FACILITIES_DATA = "Facilities_Data";
|
|
|
+
|
|
|
private const string CDA_1_PRESSURE = "CDA_1_Pressure";
|
|
|
private const string CDA_2_PRESSURE = "CDA_2_Pressure";
|
|
|
private const string N2_1A_PRESSURE = "N2_1A_Pressure";
|
|
@@ -29,20 +28,14 @@ namespace PunkHPX8_RT.Devices.Facilities
|
|
|
private const string HOUSE_CHILLED_WATER_FLOW = "HouseChilledWater_Flow";
|
|
|
private const string CDA_EXTERNAL_PRESSURE = "CDA_External_Pressure";
|
|
|
private const string VACUUM_PRESSURE = "Vacuum_Pressure";
|
|
|
- private const string EXHAUST_PRESSURE = "Exhaust_Pressure";
|
|
|
+ private const string EXHAUST_PRESSURE1 = "Exhaust_Pressure1";
|
|
|
+ private const string EXHAUST_PRESSURE2 = "Exhaust_Pressure2";
|
|
|
+ private const string DIW_RETRUN_FLOW = "DIW_Return_Flow";
|
|
|
private const string ERROR_MAX = "Error_Max";
|
|
|
private const string ERROR_MIN = "Error_Min";
|
|
|
private const string WARNING_MAX = "Warning_Max";
|
|
|
private const string WARNING_MIN = "Warning_Min";
|
|
|
- private const string N2_ENABLE = "N2Enable";
|
|
|
- private const string CDA_ENABLE = "CDAEnable";
|
|
|
- private const string EXTERNAL_CDA_ENABLE = "ExternalCDAEnable";
|
|
|
- private const string DI_WATER_ENABLE = "DiWaterEnable";
|
|
|
- private const string HOUSE_CHILLED_WATER_ENABLE = "HouseChilledWaterEnable";
|
|
|
- private const string DI_REPLEN_ENABLE = "DiReplenEnable";
|
|
|
- private const string DI_FILL_ENABLE = "DiFillEnable";
|
|
|
private const string LOADER_DI_ENABLE = "LoaderDiEnable";
|
|
|
- private const string FILTER_PURGE_ENABLE = "FilterPurgeEnable";
|
|
|
private const string N2_1A_PRESSURE_VALUE = "Nitrogen1APressure";
|
|
|
private const string N2_1B_PRESSURE_VALUE = "Nitrogen1BPressure";
|
|
|
private const string N2_2A_PRESSURE_VALUE = "Nitrogen2APressure";
|
|
@@ -54,7 +47,6 @@ namespace PunkHPX8_RT.Devices.Facilities
|
|
|
private const string HOUSE_CHILLED_WATER_PRESSURE_VALUE = "HouseChilledWaterPressure";
|
|
|
private const string EXHAUST_PRESSURE_VALUE = "ExhaustPressure";
|
|
|
private const string VACUUM_PRESSURE_VALUE = "VacuumPressure";
|
|
|
- private const string N2_BLANKET_PRESSURE_VALUE = "N2BlanketPressure";
|
|
|
private const string SAMPLE_ENABLE = "SampleEnable";
|
|
|
private const string SAMPLE_FLOW_1_ENABLE = "SampleFlow1Enable";
|
|
|
private const string SAMPLE_FLOW_2_ENABLE = "SampleFlow2Enable";
|
|
@@ -67,6 +59,27 @@ namespace PunkHPX8_RT.Devices.Facilities
|
|
|
private const string ARS_FLUID_DETECT = "ArsFluidDetect";
|
|
|
private const string PROCESS_FLUID_DETECT = "ProcessFluidDetect";
|
|
|
private const string SAMPLE_FLUID_DETECT = "SampleFluidDetect";
|
|
|
+ private const string FACILITIES = "Facilities";
|
|
|
+ private const string FACILITIES_DATA = "Facilities_Data";
|
|
|
+ private const string N2_ENABLE = "N2Enable";
|
|
|
+ private const string CDA_ENABLE = "CDAEnable";
|
|
|
+ private const string EXTERNAL_CDA_ENABLE = "ExternalCDAEnable";
|
|
|
+ private const string DI_WATER_ENABLE = "DiWaterEnable";
|
|
|
+ private const string HOUSE_CHILLED_WATER_ENABLE = "HouseChilledWaterEnable";
|
|
|
+ private const string VPW_DI_ENABLE = "VpwDiEnable";
|
|
|
+ private const string DI_REPLEN_ENABLE = "DiReplenEnable";
|
|
|
+ private const string DI_FILL_ENABLE = "DiFillEnable";
|
|
|
+ private const string SRD_DI_ENABLE = "SrdDiEnable";
|
|
|
+ private const string SAMPLE_STATION_ENABLE = "SampleStationEnable";
|
|
|
+ private const string FILTER_PURGE_ENABLE = "FilterPurgeEnable";
|
|
|
+ private const string N2_BLANKET_PRESSURE_VALUE = "N2BlanketPressure";
|
|
|
+ private const string N2_OVERFLOW_PRESSURE_VALUE = "N2OverflowPressure";
|
|
|
+ private const string CLAMSHELL_CYLINDER_PRESSURE_VALUE = "ClamshellCylinderPressure";
|
|
|
+ private const string TILT_CYLINDER_PRESSURE_VALUE = "TiltCylinderPressure";
|
|
|
+ private const string FFU_PLATECELL_PRESSURE_ERROR = "FFUPlateCellPressureError";
|
|
|
+ private const string FFU_CORRIDOR_PRESSURE_ERROR = "FFUCorridorPressureError";
|
|
|
+ private const string FFU_PLATECELL_PRESSURE_PRESSURE = "FFUPlateCellPressure";
|
|
|
+ private const string FFU_CORRIDOR_PRESSURE = "FFUCorridorPressure";
|
|
|
#endregion
|
|
|
|
|
|
#region 内部常量
|
|
@@ -296,8 +309,12 @@ namespace PunkHPX8_RT.Devices.Facilities
|
|
|
_facilitiesDataDic[CDA_EXTERNAL_PRESSURE_VALUE] = _facilitiesDataList[8];
|
|
|
_facilitiesDataList.Add(InitialFacilitiesData(VACUUM_PRESSURE));
|
|
|
_facilitiesDataDic[VACUUM_PRESSURE_VALUE] = _facilitiesDataList[9];
|
|
|
- _facilitiesDataList.Add(InitialFacilitiesData(EXHAUST_PRESSURE));
|
|
|
+ _facilitiesDataList.Add(InitialFacilitiesData(EXHAUST_PRESSURE1));
|
|
|
_facilitiesDataDic[EXHAUST_PRESSURE_VALUE] = _facilitiesDataList[10];
|
|
|
+ _facilitiesDataList.Add(InitialFacilitiesData(EXHAUST_PRESSURE2));
|
|
|
+ _facilitiesDataDic[EXHAUST_PRESSURE_VALUE] = _facilitiesDataList[11];
|
|
|
+ _facilitiesDataList.Add(InitialFacilitiesData(DIW_RETRUN_FLOW));
|
|
|
+ _facilitiesDataDic[EXHAUST_PRESSURE_VALUE] = _facilitiesDataList[12];
|
|
|
|
|
|
DATA.Subscribe($"{Module}.{Name}.{FACILITIES_DATA}", () => _facilitiesDataList, SubscriptionAttribute.FLAG.IgnoreSaveDB);
|
|
|
DATA.Subscribe($"{Module}.{Name}.{N2_ENABLE}", () => _n2Enabled, SubscriptionAttribute.FLAG.IgnoreSaveDB);
|