Merge branch 'develop' of http://112.124.35.216:65000/Sic-Software/MoS2 into develop

This commit is contained in:
SIC1016\caipeilun
2026-08-21 09:24:40 +08:00
5 changed files with 70 additions and 23 deletions
@@ -1,12 +1,14 @@
using System;
using System.Collections.Generic;
using Aitex.Core.Common.DeviceData;
using Aitex.Core.Common.DeviceData;
using Aitex.Core.RT.Device.Devices;
using Aitex.Core.RT.Device.PmDevices;
using Aitex.Core.RT.Event;
using Aitex.Core.RT.OperationCenter;
using Aitex.Core.RT.Routine;
using Aitex.Core.RT.SCCore;
using MECF.Framework.Common.Equipment;
using MECF.Framework.RT.EquipmentLibrary.HardwareUnits.PMs;
using System;
using System.Collections.Generic;
using static Aitex.Core.RT.Device.PmDevices.DicMode;
namespace SicModules.PMs.Routines.Base
@@ -21,6 +23,7 @@ namespace SicModules.PMs.Routines.Base
protected bool _checkChamberLowThan20 = false;
protected bool _checkChamberHighThan20 = false;
protected bool _v72IsOpen = false;
protected bool isSimulator;
protected bool _finalOpen = false;
protected bool _isTvOpen = false;
@@ -106,6 +109,7 @@ namespace SicModules.PMs.Routines.Base
{
Module = module.ToString();
_pm = pm1;
isSimulator = SC.GetValue<bool>("System.IsSimulatorMode");
}
@@ -2288,5 +2292,37 @@ namespace SicModules.PMs.Routines.Base
return fixedMode;
}
protected void AKunTriggerTempRunId(string runId)
{
if (isSimulator)
return;
OP.DoOperation($"{Module}.AKunTriggerTemp.RunID", runId);
}
protected void AKunTriggerTempStepCode(string stepCode)
{
if (isSimulator)
return;
OP.DoOperation($"{Module}.AKunTriggerTemp.StepCode", stepCode);
}
protected void AKunTriggerTempStart()
{
if (isSimulator)
return;
OP.DoOperation($"{Module}.AKunTriggerTemp.MarkerActive", 1);
}
protected void AKunTriggerTempStop()
{
if (isSimulator)
return;
OP.DoOperation($"{Module}.AKunTriggerTemp.MarkerActive", 0);
}
}
}