Paths : Selector : UI changes.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
///
|
||||
/// Copyright (c) 2013-2015 Sensus Metering Systems
|
||||
/// Copyright (c) 2013-2021 Sensus Slovensko a.s.
|
||||
///
|
||||
using System.Collections.Generic;
|
||||
using TBF.Rig.GenericDevices;
|
||||
@@ -12,6 +12,7 @@ namespace TBF.Rig
|
||||
public string Name;
|
||||
public float Qfrom;
|
||||
public float Qto;
|
||||
public string Selector;
|
||||
public ITempMeter TempMtrUp;
|
||||
public ITempMeter TempMtrDown;
|
||||
public IPressureMeter PressMtrUp;
|
||||
@@ -36,6 +37,7 @@ namespace TBF.Rig
|
||||
{
|
||||
Qfrom = entity.Qfrom;
|
||||
Qto = entity.Qto;
|
||||
Selector = entity.Selector;
|
||||
TempMtrUp = TbfComponents.FindComponent(entity.TempMtrUp, components) as ITempMeter;
|
||||
TempMtrDown = TbfComponents.FindComponent(entity.TempMtrDown, components) as ITempMeter;
|
||||
PressMtrUp = TbfComponents.FindComponent(entity.PressMtrUp, components) as IPressureMeter;
|
||||
|
||||
@@ -12,7 +12,8 @@ namespace TBF.Rig
|
||||
public string Name;
|
||||
public float Qfrom;
|
||||
public float Qto;
|
||||
public IValve Pump; /// pump to use with this path or null
|
||||
public string Selector;
|
||||
public IValve Pump; /// pump to use with this path or null
|
||||
public IList<IRegValve> RegulValves;
|
||||
public IList<float> RegulValvesPct;
|
||||
public IList<IValve> ValvesOpen; /// a list of valves to open or null
|
||||
@@ -35,7 +36,8 @@ namespace TBF.Rig
|
||||
{
|
||||
Qfrom = entity.Qfrom;
|
||||
Qto = entity.Qto;
|
||||
Pump = (IValve)TbfComponents.FindComponent(entity.Pump, components);
|
||||
Selector = entity.Selector;
|
||||
Pump = (IValve)TbfComponents.FindComponent(entity.Pump, components);
|
||||
|
||||
///
|
||||
/// Feeding regulation valve components
|
||||
|
||||
@@ -12,6 +12,7 @@ namespace TBF.Rig
|
||||
public string Name;
|
||||
public float Qfrom;
|
||||
public float Qto;
|
||||
public string Selector;
|
||||
public IFlowMeter FlowMeter;
|
||||
public IRegValve RegValve;
|
||||
public float PidCoef;
|
||||
@@ -44,6 +45,7 @@ namespace TBF.Rig
|
||||
{
|
||||
Qfrom = entity.Qfrom;
|
||||
Qto = entity.Qto;
|
||||
Selector = entity.Selector;
|
||||
FlowMeter = (IFlowMeter)TbfComponents.FindComponent(entity.FlowMeter, components);
|
||||
RegValve = (IRegValve)TbfComponents.FindComponent(entity.RegValve, components);
|
||||
PidCoef = entity.PidCoef;
|
||||
|
||||
Reference in New Issue
Block a user