2015-08-11 06:50:32 +00:00
|
|
|
|
///
|
2017-10-11 06:47:36 +00:00
|
|
|
|
/// Copyright (c) 2015-2017 Sensus Metering Systems
|
2015-08-11 06:50:32 +00:00
|
|
|
|
/// Author: Milan Hanajík
|
|
|
|
|
|
///
|
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
|
|
namespace TBF.BenchControl.TestMethods.iPerlCommunication
|
|
|
|
|
|
{
|
|
|
|
|
|
public class CommCompletedEventArgs : EventArgs
|
|
|
|
|
|
{
|
|
|
|
|
|
public int ThreadId;
|
2017-11-03 09:57:30 +00:00
|
|
|
|
public int WMNr0; /// 0-based water meter position
|
2017-10-11 06:47:36 +00:00
|
|
|
|
public iPerlHead.IperlHead Ihead;
|
|
|
|
|
|
public Results.Entities.WaterMeter Wm;
|
2015-08-11 06:50:32 +00:00
|
|
|
|
public string CommMessage;
|
2017-10-11 06:47:36 +00:00
|
|
|
|
public CommErr CommErr;
|
2015-08-11 06:50:32 +00:00
|
|
|
|
|
2017-11-03 09:57:30 +00:00
|
|
|
|
public CommCompletedEventArgs(int threadId, int wmNr0, iPerlHead.IperlHead ihead, Results.Entities.WaterMeter wm, string commMessage, CommErr commErr)
|
2015-08-11 06:50:32 +00:00
|
|
|
|
{
|
|
|
|
|
|
this.ThreadId = threadId;
|
2017-11-03 09:57:30 +00:00
|
|
|
|
this.WMNr0 = wmNr0;
|
2017-10-11 06:47:36 +00:00
|
|
|
|
this.Ihead = ihead;
|
|
|
|
|
|
this.Wm = wm;
|
2015-08-11 06:50:32 +00:00
|
|
|
|
this.CommMessage = commMessage;
|
2017-10-11 06:47:36 +00:00
|
|
|
|
this.CommErr = commErr;
|
2015-08-11 06:50:32 +00:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|