Genesis specific changes, error messages fixed, smalled branch scale fixed, ver.2.12.455
This commit is contained in:
@@ -72,12 +72,6 @@ namespace Config
|
||||
public const int CompoundWMsCount = 0;
|
||||
public const int HeatMetersCount = 0;
|
||||
public const int MaxPartNr = WMsCount / LineSize;
|
||||
#elif BERLIN
|
||||
public const int WMsCount = 6;
|
||||
public const int LineSize = 6;
|
||||
public const int CompoundWMsCount = 1;
|
||||
public const int HeatMetersCount = 0;
|
||||
public const int MaxPartNr = WMsCount / LineSize;
|
||||
#endif
|
||||
|
||||
///
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
///
|
||||
/// Copyright (c) 2013-2016 Sensus Metering Systems
|
||||
/// Copyright (c) 2013-2017 Sensus Metering Systems
|
||||
///
|
||||
using System;
|
||||
using System.Text;
|
||||
@@ -281,8 +281,14 @@ ControlComponent_Izrael2014.UserControl1 ctrlBrdComponent,
|
||||
}
|
||||
else
|
||||
{
|
||||
#if GENESIS
|
||||
BalanceRange = new uint[tankCapacities.Length];
|
||||
#endif
|
||||
int cnt = Math.Min(BalanceRange.Length, tankCapacities.Length);
|
||||
for (int i = 0; i < cnt; i++) BalanceRange[i] = (uint)tankCapacities[i];
|
||||
for (int i = 0; i < cnt; i++)
|
||||
{
|
||||
BalanceRange[i] = (uint)tankCapacities[i];
|
||||
}
|
||||
controlCom = new ControlComWrap(ctrlBrdComponent);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
[assembly: AssemblyVersion("2.12.453.1")]
|
||||
[assembly: AssemblyFileVersion("2.12.453.1")]
|
||||
[assembly: AssemblyVersion("2.12.455.1")]
|
||||
[assembly: AssemblyFileVersion("2.12.455.1")]
|
||||
|
||||
Reference in New Issue
Block a user