Refactorization : IRegValve.position is double, Uni.RegValve.adcChannel properly initialized, ver. 3.1.1603
This commit is contained in:
+5
-5
@@ -8,7 +8,7 @@ using TBF.Boxes;
|
||||
|
||||
namespace TBF.BenchControl.GenericDevices
|
||||
{
|
||||
public interface IRegulValve : IComponent
|
||||
public interface IRegValve : IComponent
|
||||
{
|
||||
/// <summary>
|
||||
/// All, Feeding, Bench, Output or None
|
||||
@@ -23,12 +23,12 @@ namespace TBF.BenchControl.GenericDevices
|
||||
/// <summary>
|
||||
/// Regulation valve position 0.0 .. 100.0 %
|
||||
/// </summary>
|
||||
float Position { get; }
|
||||
double Position { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Dictionary for position re-use
|
||||
/// </summary>
|
||||
IDictionary<double, float> Dict { get; }
|
||||
IDictionary<double, double> Dict { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Operation to set the water flow within tolerances
|
||||
@@ -65,7 +65,7 @@ namespace TBF.BenchControl.GenericDevices
|
||||
/// <param name="posHiPct">Higher limit of the required valve position in %</param>
|
||||
/// <param name="timeout">Timeout in [s]</param>
|
||||
/// <returns>SetPositionOp instance</returns>
|
||||
IOperation SetRegulValvePositionOp(float posLoPct, float posHiPct, int timeout);
|
||||
IOperation SetRegulValvePositionOp(double posLoPct, double posHiPct, int timeout);
|
||||
|
||||
/// <summary>
|
||||
/// Operation to set the regulation valve to a required position
|
||||
@@ -73,6 +73,6 @@ namespace TBF.BenchControl.GenericDevices
|
||||
/// </summary>
|
||||
/// <param name="timePulseSec">Time pulse in sec</param>
|
||||
/// <returns>SetPositionOp instance</returns>
|
||||
IOperation ChangeRegulValvePositionOp(float timePulseSec);
|
||||
IOperation ChangeRegulValvePositionOp(double timePulseSec);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user