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++)
|
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 readonly BalanceCfg balanceCfg;
|
||||||
protected static BalanceCfg balance1Cfg;
|
protected static BalanceCfg balance1Cfg;
|
||||||
|
public int MultiIdNr { get { return balanceCfg.IdNr; } }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Enumeration of balances via static fields and methods
|
/// Enumeration of balances via static fields and methods
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
|
|||||||
// Build Number
|
// Build Number
|
||||||
// Revision
|
// Revision
|
||||||
//
|
//
|
||||||
[assembly: AssemblyVersion("2.18.832.0")]
|
[assembly: AssemblyVersion("2.18.833.0")]
|
||||||
[assembly: AssemblyFileVersion("2.18.832.0")]
|
[assembly: AssemblyFileVersion("2.18.833.0")]
|
||||||
|
|||||||
Reference in New Issue
Block a user