- Introduced simulation timers in `FlyingStartStopTestOp`. - Added `Simulate` methods in `WaterMetrologyData`, `WaterMetrologyDataC7`, and `WaterMetrologyDataC2`. - Enhanced `SmartCommunicationForm` with textbox resizing logic and initialization code. - Implemented flow rate and volume calculation from optohead telemetry in `SmartReader`. - Added unit tests for Poseidon correction parsing.
28 lines
752 B
C#
28 lines
752 B
C#
using TBF.Rig.Configs.NameOnly;
|
|
using TBF.Rig.Generic;
|
|
using TBF.Rig.RegisterReaders.CommonRR.IPerl;
|
|
|
|
namespace TBF.Rig.Uni.SharedDialogs.SmartMetersCommunication
|
|
{
|
|
public abstract class SmartComponentBase : ComponentBase, ISmartTestMethod
|
|
{
|
|
private ITestMethodCfg cfg;
|
|
|
|
public abstract void MeterCommMilestone(int iItem, bool bValue);
|
|
public abstract bool IsMeterCommMilestone(int iItem);
|
|
public ITestMethodCfg TestMethodCfg { get => cfg; }
|
|
|
|
|
|
public SmartComponentBase()
|
|
: base()
|
|
{
|
|
cfg = null;
|
|
}
|
|
|
|
public SmartComponentBase(IComponentCfg cfg)
|
|
: base(cfg)
|
|
{
|
|
this.cfg = cfg as ITestMethodCfg;
|
|
}
|
|
}
|
|
} |