MettlerToledo.Multi workaround for Badger-stredna-trat, ver. 2.18.833
This commit is contained in:
@@ -226,7 +226,11 @@ namespace TBF.BenchControl.Elde
|
||||
|
||||
for (int i = 0; i < MettlerToledo.Multi.BalanceDev.BalancesCount; i++)
|
||||
{
|
||||
controlCom.SetWeight(i, MettlerToledo.Multi.BalanceDev.Masses[i]);
|
||||
#if BADGER_STREDNA_TRAT
|
||||
controlCom.SetWeight(i, MettlerToledo.Multi.BalanceDev.Masses[MettlerToledo.Multi.BalanceDev.BalancesCount - 1 - i]);
|
||||
#else
|
||||
controlCom.SetWeight(i, MettlerToledo.Multi.BalanceDev.Masses[i]);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ namespace TBF.BenchControl.MettlerToledo.Multi
|
||||
|
||||
protected readonly BalanceCfg balanceCfg;
|
||||
protected static BalanceCfg balance1Cfg;
|
||||
|
||||
public int MultiIdNr { get { return balanceCfg.IdNr; } }
|
||||
/// <summary>
|
||||
/// Enumeration of balances via static fields and methods
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user