MettlerToledo.Multi workaround for Badger-stredna-trat, ver. 2.18.833

This commit is contained in:
Milan Hanajik 2018-03-09 17:29:13 +01:00
parent bbea6da45c
commit 62b06b23a5
3 changed files with 8 additions and 4 deletions

View File

@ -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
}
}

View File

@ -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>

View File

@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
// Build Number
// Revision
//
[assembly: AssemblyVersion("2.18.832.0")]
[assembly: AssemblyFileVersion("2.18.832.0")]
[assembly: AssemblyVersion("2.18.833.0")]
[assembly: AssemblyFileVersion("2.18.833.0")]