修改pmroutine
This commit is contained in:
@@ -1288,18 +1288,18 @@ namespace SicModules.PMs.Routines.Base
|
||||
int cIntLv = (int)level;
|
||||
if (cIntLv < 100)
|
||||
{
|
||||
Notify($"Set MFC28,29,31,40 to pressureLevel [20-100]");
|
||||
Notify($"Set MFC27,28,29,31,40 to pressureLevel [20-100]");
|
||||
}
|
||||
else if (cIntLv >= 950)
|
||||
{
|
||||
Notify($"Set MFC28,29,31,40 to pressureLevel [950]");
|
||||
Notify($"Set MFC27,28,29,31,40 to pressureLevel [950]");
|
||||
}
|
||||
else
|
||||
{
|
||||
Notify($"Set MFC28,29,31,40 to pressureLevel [{cIntLv - 50},{cIntLv + 50})");
|
||||
Notify($"Set MFC27,28,29,31,40 to pressureLevel [{cIntLv - 50},{cIntLv + 50})");
|
||||
}
|
||||
_lastPressureLevel = level;
|
||||
_pm.SetMfcRampByGroupAndPressure(MfcGroupName.M28293140, Convert.ToDouble((int)level));
|
||||
_pm.SetMfcRampByGroupAndPressure(MfcGroupName.M27M28293140, Convert.ToDouble((int)level));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1772,7 +1772,7 @@ namespace SicModules.PMs.Routines.Base
|
||||
},
|
||||
() =>
|
||||
{
|
||||
//SetMfcRampByGroupAndPressureAlways(currentPressureUpOrDown);
|
||||
SetMfcRampByGroupAndPressureAlways(currentPressureUpOrDown);
|
||||
return _IoThrottle.PressureFeedback >= pressure;
|
||||
},
|
||||
timeout * 1000);
|
||||
|
||||
Reference in New Issue
Block a user