Big fix for scale s/n communication for iPerl (2 sec StateMachine ticks).

This commit is contained in:
Milan Hanajik 2017-08-16 15:32:05 +02:00
parent f73d89f41b
commit 8eb2472171
2 changed files with 10 additions and 2 deletions

View File

@ -8,7 +8,15 @@ using Config.Entities;
namespace Results.Entities
{
public class WaterMeter
public enum ResultCodeBit
{
None = 0,
OptoComPort = (1 << 16),
RfidCommFailed = (1 << 17),
}
public class WaterMeter
{
public virtual int Id { get; protected set; }
public virtual string SerialNr { get; set; } /// Main s/n for compound meters, PCB Number for iPerl water meter

View File

@ -162,7 +162,7 @@ namespace TBF.BenchControl.Sequences
break;
}
}
if (e.Contains(Event.TimerExpired))
if (e.Contains(Event.Busy) && e.Contains(Event.TimerExpired))
{
if (i == nrRetries)
{