|
@@ -76,6 +76,14 @@ namespace PunkHPX8_RT.Devices.VpwCell
|
|
|
/// main device
|
|
|
/// </summary>
|
|
|
private VpwMainDevice _vpwMainDevice;
|
|
|
+ /// <summary>
|
|
|
+ /// cell flow 初始设定值
|
|
|
+ /// </summary>
|
|
|
+ private bool _cellFLowSetValue;
|
|
|
+ /// <summary>
|
|
|
+ /// cell流量满足初始设定值自动打开排水阀的时间
|
|
|
+ /// </summary>
|
|
|
+ private int _dripValveOpenIdlePeriod;
|
|
|
#endregion
|
|
|
|
|
|
#region 属性
|
|
@@ -268,16 +276,15 @@ namespace PunkHPX8_RT.Devices.VpwCell
|
|
|
LOG.WriteLog(eEvent.ERR_VPW, Module, $"Start rotation paramater is wrong");
|
|
|
return false;
|
|
|
}
|
|
|
-<<<<<<< Updated upstream
|
|
|
double targetPostion = (int)args[0] * 6 * (int)args[1];
|
|
|
object[] param = new object[] { "",targetPostion };
|
|
|
int degSpeed = (int)args[0] * 6;
|
|
|
SetRotationSpeed(degSpeed);
|
|
|
- return _rotationAxis.JogUpPosition("", param);
|
|
|
-=======
|
|
|
- double targetPostion = (int)args[0] * 6 * (int)args[1];
|
|
|
- return RotationProfilePosition(targetPostion);
|
|
|
->>>>>>> Stashed changes
|
|
|
+ //return _rotationAxis.JogUpPosition("", param);
|
|
|
+
|
|
|
+ double AfterChangetargetPostion = (int)args[0] * 6 * (int)args[1];
|
|
|
+ return RotationProfilePosition(AfterChangetargetPostion);
|
|
|
+
|
|
|
}
|
|
|
|
|
|
private bool StopRotationAction(string cmd, object[] args)
|
|
@@ -593,9 +600,9 @@ namespace PunkHPX8_RT.Devices.VpwCell
|
|
|
VpwMainDevice vpwCellDevice = DEVICE.GetDevice<VpwMainDevice>(ModuleName.VPWMain1.ToString());
|
|
|
if (vpwCellDevice != null)
|
|
|
{
|
|
|
- if (!vpwCellDevice.CommonData.ChamberOpened && vpwCellDevice.CommonData.ChamberClosed)
|
|
|
+ if (vpwCellDevice.CommonData.ChamberOpened && !vpwCellDevice.CommonData.ChamberClosed)
|
|
|
{
|
|
|
- LOG.WriteLog(eEvent.ERR_AXIS, $"{Module}.{Name}", "chamber is not closed, Cannot execute GotoSavedPosition");
|
|
|
+ LOG.WriteLog(eEvent.ERR_AXIS, $"{Module}.{Name}", "chamber is not closed, Cannot execute Rotation Profile Position");
|
|
|
return false;
|
|
|
}
|
|
|
}
|