/// /// Copyright (c) 2016 Sensus Metering Systems /// using System; using Config.Entities; namespace TBF.UiBridge { class ProcessDataEventArgs : EventArgs { public string TestName; public int Part; public int Repeats; public int RepetitionNr; public Progress TestPhase; //public FloatBox RegValvePos; /// Current regulation valve position in [%] (0 .. 100.0) //public bool PumpOn; //public bool DivToTank; public ProcessDataEventArgs(Test test, int repetitionNr, Progress testPhase) { TestName = Results.Utils.GetTestName(test.Name, test.Repeats, repetitionNr); Part = test.Part; Repeats = test.Repeats; RepetitionNr = repetitionNr; TestPhase = testPhase; } public ProcessDataEventArgs(Test test, Progress testPhase) : this(test, 1, testPhase) { } } }