|
@@ -1,4 +1,5 @@
|
|
|
using Aitex.Core.Common.DeviceData;
|
|
|
+using Aitex.Core.RT.SCCore;
|
|
|
using ExcelLibrary.BinaryFileFormat;
|
|
|
using MECF.Framework.Common.DataCenter;
|
|
|
using MECF.Framework.Common.OperationCenter;
|
|
@@ -119,7 +120,6 @@ namespace Venus_MainPages.ViewModels
|
|
|
TMIsATM = CommonFunction.GetValue<bool>(RtDataValues, "SETM.TMIsATM");
|
|
|
VCEIsVAC = CommonFunction.GetValue<bool>(RtDataValues, "SETM.VCEVACSensor.Value");
|
|
|
VCEIsATM = CommonFunction.GetValue<bool>(RtDataValues, "SETM.VCEIsATM");
|
|
|
-
|
|
|
VCEDoorIsOpen = !CommonFunction.GetValue<bool>(RtDataValues, "SETM.VCESlitDoorClosed");
|
|
|
PMADoorIsOpen = !CommonFunction.GetValue<bool>(RtDataValues, "SETM.PMASlitDoorClosed");
|
|
|
PMBDoorIsOpen = !CommonFunction.GetValue<bool>(RtDataValues, "SETM.PMBSlitDoorClosed");
|
|
@@ -237,11 +237,10 @@ namespace Venus_MainPages.ViewModels
|
|
|
PMCDoorIsOpen = !CommonFunction.GetValue<bool>(RtDataValues, "SETM.PMCSlitDoorClosed");
|
|
|
VCEOutDoorIsOpen = !CommonFunction.GetValue<bool>(RtDataValues, "VCE1.VCEOutDoorClosed");
|
|
|
|
|
|
- TMIsVAC = CommonFunction.GetValue<bool>(RtDataValues, "SETM.TMVACSensor.Value");
|
|
|
+ TMIsVAC = (CommonFunction.GetValue<int>(RtDataValues, "SETM.TMPressure.Value") < Convert.ToInt32(QueryDataClient.Instance.Service.GetConfig($"SETM.VACTargetPressure"))) ;
|
|
|
TMIsATM = CommonFunction.GetValue<bool>(RtDataValues, "SETM.TMIsATM");
|
|
|
- VCEIsVAC = CommonFunction.GetValue<bool>(RtDataValues, "SETM.VCEVACSensor.Value");
|
|
|
+ VCEIsVAC = (CommonFunction.GetValue<int>(RtDataValues, "SETM.VCEPressure.Value") < Convert.ToInt32(QueryDataClient.Instance.Service.GetConfig($"VCE1.VACTargetPressure")));
|
|
|
VCEIsATM = CommonFunction.GetValue<bool>(RtDataValues, "SETM.VCEIsATM");
|
|
|
-
|
|
|
}
|
|
|
private void vceHome()
|
|
|
{
|