Diverter - preparation for calibration

This commit is contained in:
Milan Hanajik
2015-04-18 07:31:52 +02:00
parent 63b4004d85
commit 2b2cc0f6f8
5 changed files with 49 additions and 12 deletions
@@ -17,8 +17,8 @@ namespace TBF.BenchControl.Elde.Diverter
/// Serialized parameters
///
public int BitPosition; /// 0..63
public int StartingEdge; /// 0..100 in %, threshold for the ADC value to start the test
public int StoppingEdge; /// 0..100 in %, threshold for the ADC value to start the test
public int StartingLevel; /// 0..100 in %, threshold for the ADC value to start the test
public int StoppingLevel; /// 0..100 in %, threshold for the ADC value to start the test
/// Private parameterless constructor invoked by all other (public) constructors
DiverterCfg()
@@ -26,8 +26,8 @@ namespace TBF.BenchControl.Elde.Diverter
Name = "Div";
ParentName = "CB";
BitPosition = 0;
StartingEdge = 50;
StoppingEdge = 50;
StartingLevel = 50;
StoppingLevel = 50;
}
public DiverterCfg(IComponentFactory factory)
@@ -42,8 +42,8 @@ namespace TBF.BenchControl.Elde.Diverter
Name,
(string.IsNullOrEmpty(ParentName) ? "-" : ParentName),
BitPosition,
StartingEdge,
StoppingEdge);
StartingLevel,
StoppingLevel);
}
}
}