27 lines
552 B
C#
27 lines
552 B
C#
///
|
|
/// 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; }
|
|
}
|
|
}
|