Refactorization : BenchControl -> Rig

This commit is contained in:
Milan Hanajik
2021-03-05 16:12:24 +01:00
parent 84c8ec26b6
commit 6cf3bd6160
1461 changed files with 6330 additions and 6330 deletions
+50
View File
@@ -0,0 +1,50 @@
///
/// Copyright (c) 2013-2015 Sensus Metering Systems
///
using TBF.Rig.Generic;
namespace TBF.Rig.GenericDevices
{
public interface IValve : IComponent
{
/// <summary>
/// Valve state: true = open, false = closed
/// </summary>
bool State { get; }
/// <summary>
/// All, Feeding, Bench, Output or None
/// </summary>
ValveCategory Category { get; }
/// <summary>
/// Delay of the valve in [s] (open or close time, whichever is larger)
/// </summary>
int Delay { get; }
/// <summary>
/// Coupled valve or null.
/// This valve is a slave and follows the coupled valve, which is a master.
/// In case of CoupledValve == null, this valve can be independently controlled.
/// </summary>
IValve CoupledTo { get; }
/// <summary>
/// The coupled valve is inverted referred to the master valve.
/// This property is used only in case 'CoupledTo' is non-null.
/// </summary>
bool InvertCouple { get; }
/// <summary>
/// Delay (referred to the master valve) when opening this (coupled, slave) valve in [s]
/// This property is used only in case 'CoupledTo' is non-null.
/// </summary>
int LagOpening { get; }
/// <summary>
/// Delay (referred to the master valve) when opening this (coupled, slave) valve in [s]
/// This property is used only in case 'CoupledTo' is non-null.
/// </summary>
int LagClosing { get; }
}
}