Diverter change (PETERSBURG_200).

This commit is contained in:
Milan Hanajik 2018-02-01 23:04:15 +01:00
parent c5c4a571c5
commit 6bf5bdce2b

View File

@ -160,10 +160,10 @@ namespace TBF.BenchControl.Elde.Diverter
{
DiverterCfg tmpcfg = args.Cfg as DiverterCfg;
if (tmpcfg != null && tmpcfg.Name.Equals(Name))
{
#if GENESIS
{
#if GENESIS || PETERSBURG_200
int flowMtrNr = int.Parse(Name.Substring(3)) + 1;
#else
#else /// PETERSBURG_50
int flowMtrNr = Name.Contains("1") ? 1 : 3;
#endif