Refactorization : BenchControl -> Rig
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
///
|
||||
/// Copyright (c) 2013-2015 Sensus Metering Systems
|
||||
///
|
||||
using TBF.Rig.Generic;
|
||||
|
||||
namespace TBF.Rig.GenericDevices
|
||||
{
|
||||
public interface IPump : IComponent
|
||||
{
|
||||
/// <summary>
|
||||
/// Pump state: true = on, false = off
|
||||
/// </summary>
|
||||
bool State { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Delay of the valve in [s] (open or close time, whichever is larger)
|
||||
/// </summary>
|
||||
int Delay { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Current pump power in [%] (0 .. 100.0f)
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
double Power { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user