IComponentCfg and IComponentFactory interfaces and all derived classes modified.
This commit is contained in:
@@ -82,10 +82,10 @@ namespace TBF.BenchControl.MettlerToledo.Standard
|
||||
/// </summary>
|
||||
/// <param name="cfg">Balance properties</param>
|
||||
/// <param components="cfg">A list of components loaded so far</param>
|
||||
public BalanceDev(BalanceCfg cfg)
|
||||
public BalanceDev(Generic.IComponentCfg cfg)
|
||||
: base(cfg)
|
||||
{
|
||||
balanceCfg = cfg;
|
||||
balanceCfg = cfg as BalanceCfg;
|
||||
|
||||
balanceNr = nextBalanceIdx++;
|
||||
Masses = new float[nextBalanceIdx]; /// (re)initialize the static array of masses of all balances
|
||||
|
||||
Reference in New Issue
Block a user