All scales support GetSerNumOp (however some return null). Reading S/N of all scales on program startup, ver. 2.14.588

This commit is contained in:
Milan Hanajik
2017-06-26 13:22:36 +02:00
parent 71e1cf47df
commit 2fb1c44ff2
13 changed files with 149 additions and 103 deletions
@@ -79,5 +79,12 @@ namespace TBF.BenchControl.GenericDevices
/// <param name="method">Method: false = slow (precise), true = fast (immediate)</param>
/// <returns>ReadMassAverageOp instance reference casted to IOperaton</returns>
IOperation ReadStableMassOp(ref DoubleBox mass, int readingsCount, double maxSpread, Config.Entities.MassMethod method);
}
/// <summary>
/// Events: Done, Error
/// </summary>
/// <param name="serialNumber">Reference to the serialNumber</param>
/// <returns>GetBalanceSerNumOp instance reference casted to IOperaton</returns>
IOperation GetSerNumOp(ref string serialNumber);
}
}
@@ -1,17 +0,0 @@
///
/// Copyright (c) 2013-2015 Sensus Metering Systems
///
using TBF.BenchControl.Generic;
namespace TBF.BenchControl.GenericDevices
{
public interface IScale2 : IScale, IComponent
{
/// <summary>
/// Events: Done, Error
/// </summary>
/// <param name="serialNumber">Reference to the serialNumber</param>
/// <returns>GetBalanceSNOp instance reference casted to IOperaton</returns>
IOperation GetBalanceSNOp(ref string serialNumber);
}
}