Refactorization.

This commit is contained in:
Milan Hanajik
2020-12-02 13:44:59 +01:00
parent 59c1cb76f0
commit d4ac2453b8
3 changed files with 24 additions and 24 deletions
+2 -2
View File
@@ -598,7 +598,7 @@ namespace TBF.BenchControl.Sequences
/// FM controlled pumps are canged imediately without using any state operations
log.DebugFormat("step.PumpWithFMPcts = {0}", step.PumpWithFMPcts);
float[] allFMPumpPcts = Utils.GetPumpWithFMPcts(step);
float[] allFMPumpPcts = Utils.GetPumpWithFMPcts(step.PumpWithFMPcts);
for (int i = 0; i < allFMPumpPcts.Length; i++)
{
float pwr = allFMPumpPcts[i];
@@ -613,7 +613,7 @@ namespace TBF.BenchControl.Sequences
}
/// Get new regulation valve positions,
float[] allRegvPositions = Utils.GetRegulValvesPositions(step);
float[] allRegvPositions = Utils.GetRegulValvesPositions(step.RegulValvesPct);
/// Prepare necessary SetRegValvePositionOp operations for RV-s with changed positions
IList<IOperation> rvPosOps = new List<IOperation>();