IParamsProvider.UpdateParam(...) returns CfgUpdateFlags now.
This commit is contained in:
@@ -56,16 +56,16 @@ namespace TBF.BenchControl.Network.Camera.Roi
|
||||
}
|
||||
|
||||
/// Retrieves parameters from UI controls
|
||||
public void UpdateParam(int i, string strValue)
|
||||
public CfgUpdateFlags UpdateParam(int i, string strValue)
|
||||
{
|
||||
switch (i)
|
||||
{
|
||||
case 0: PulsesPerLtr = Utils.ParseUDouble(strValue); return;
|
||||
case 1: DetectionImagesCount = int.Parse(strValue); return;
|
||||
case 2: DetectionPeriod1 = int.Parse(strValue); return;
|
||||
case 3: DetectionPeriod2 = int.Parse(strValue); return;
|
||||
case 4: RoiParams = strValue; return;
|
||||
default: return;
|
||||
case 0: PulsesPerLtr = Utils.ParseUDouble(strValue); return CfgUpdateFlags.None;
|
||||
case 1: DetectionImagesCount = int.Parse(strValue); return CfgUpdateFlags.None;
|
||||
case 2: DetectionPeriod1 = int.Parse(strValue); return CfgUpdateFlags.None;
|
||||
case 3: DetectionPeriod2 = int.Parse(strValue); return CfgUpdateFlags.None;
|
||||
case 4: RoiParams = strValue; return CfgUpdateFlags.None;
|
||||
default: return CfgUpdateFlags.None;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user