Updated language binding files added.
This commit is contained in:
@@ -1045,8 +1045,9 @@ __Remarks:__
|
||||
|<B>GPV</B> (general purpose valve) | ID of head loss curve |
|
||||
2. Shutoff valves and check valves are considered to be part of a pipe, not a separate control valve component (see @ref PipesPage).
|
||||
3. The loss coefficient setting for a TCV should not be less than its fully open loss coefficient.
|
||||
4. The characteristic curve for a PCV relates the valve's fraction of fully open flow to the fraction open.
|
||||
5. The head loss curve for a GPV relates head loss across the valve to the flow rate through it.
|
||||
4. The characteristic curve for a PCV relates the valve's fraction of fully open flow to the fraction open. If not supplied then a linear curve is assumed.
|
||||
5. The partially opened loss coefficient for a PCV is the inverse of the squared value from its characteristic curve times the fully open loss coefficient.
|
||||
6. The head loss curve for a GPV relates head loss across the valve to the flow rate through it.
|
||||
*/
|
||||
|
||||
/**
|
||||
|
||||
@@ -73,6 +73,9 @@ namespace EpanetCSharpLibrary
|
||||
public const int EN_PUMP_ECURVE = 20;
|
||||
public const int EN_PUMP_ECOST = 21;
|
||||
public const int EN_PUMP_EPAT = 22;
|
||||
public const int EN_LINK_INCONTROL = 23;
|
||||
public const int EN_GPV_CURVE = 24;
|
||||
public const int EN_PCV_CURVE = 25;
|
||||
|
||||
public const int EN_DURATION = 0; //Time parameters
|
||||
public const int EN_HYDSTEP = 1;
|
||||
@@ -126,6 +129,7 @@ namespace EpanetCSharpLibrary
|
||||
public const int EN_FCV = 6;
|
||||
public const int EN_TCV = 7;
|
||||
public const int EN_GPV = 8;
|
||||
public const int EN_PCV = 9;
|
||||
|
||||
public const int EN_NONE = 0; //Quality analysis types
|
||||
public const int EN_CHEM = 1;
|
||||
@@ -209,6 +213,7 @@ namespace EpanetCSharpLibrary
|
||||
public const int EN_EFFIC_CURVE = 2; //Efficiency curve
|
||||
public const int EN_HLOSS_CURVE = 3; //Head loss curve
|
||||
public const int EN_GENERIC_CURVE = 4; //Generic curve
|
||||
public const int EN_VALVE_CURVE = 5; //Valve position curve
|
||||
|
||||
public const int EN_UNCONDITIONAL = 0; //Unconditional object deletion
|
||||
public const int EN_CONDITIONAL = 1; //Conditional object deletion
|
||||
|
||||
@@ -5,7 +5,7 @@ Attribute VB_Name = "Module1"
|
||||
'Declarations of functions in the EPANET PROGRAMMERs TOOLKIT
|
||||
'(EPANET2.DLL)
|
||||
|
||||
'Last updated on 02/01/2020
|
||||
'Last updated on 07/28/2022
|
||||
|
||||
' These are codes used by the DLL functions
|
||||
Public Const EN_ELEVATION = 0 ' Node parameters
|
||||
@@ -63,6 +63,7 @@ Public Const EN_PUMP_ECOST = 21
|
||||
Public Const EN_PUMP_EPAT = 22
|
||||
Public Const EN_LINK_INCONTROL = 23
|
||||
Public Const EN_GPV_CURVE = 24
|
||||
Public Const EN_PCV_CURVE= 25
|
||||
|
||||
Public Const EN_DURATION = 0 ' Time parameters
|
||||
Public Const EN_HYDSTEP = 1
|
||||
@@ -117,6 +118,7 @@ Public Const EN_PBV = 5
|
||||
Public Const EN_FCV = 6
|
||||
Public Const EN_TCV = 7
|
||||
Public Const EN_GPV = 8
|
||||
Public Const EN_PCV = 9
|
||||
|
||||
Public Const EN_CLOSED = 0 ' Link status types
|
||||
Public Const EN_OPEN = 1
|
||||
@@ -209,6 +211,7 @@ Public Const EN_PUMP_CURVE = 1 ' Pump curve
|
||||
Public Const EN_EFFIC_CURVE = 2 ' Efficiency curve
|
||||
Public Const EN_HLOSS_CURVE = 3 ' Head loss curve
|
||||
Public Const EN_GENERIC_CURVE = 4 ' Generic curve
|
||||
Public Const EN_VALVE_CURVE = 5 ' Valve position curve
|
||||
|
||||
Public Const EN_UNCONDITIONAL = 0 ' Unconditional object deletion
|
||||
Public Const EN_CONDITIONAL = 1 ' Conditional object deletion
|
||||
|
||||
@@ -3,7 +3,7 @@ unit epanet2;
|
||||
{ Declarations of imported procedures from the EPANET PROGRAMMERs TOOLKIT }
|
||||
{ (EPANET2.DLL) }
|
||||
|
||||
{Last updated on 02/01/2020}
|
||||
{Last updated on 07/28/2022}
|
||||
|
||||
interface
|
||||
|
||||
@@ -69,6 +69,7 @@ const
|
||||
EN_PUMP_EPAT = 22;
|
||||
EN_LINK_INCONTROL = 23;
|
||||
EN_GPV_CURVE = 24;
|
||||
EN_PCV_CURVE = 25;
|
||||
|
||||
EN_DURATION = 0; { Time parameters }
|
||||
EN_HYDSTEP = 1;
|
||||
@@ -123,6 +124,7 @@ const
|
||||
EN_FCV = 6;
|
||||
EN_TCV = 7;
|
||||
EN_GPV = 8;
|
||||
EN_PCV = 9;
|
||||
|
||||
EN_CLOSED = 0; { Link status types }
|
||||
EN_OPEN = 1;
|
||||
@@ -215,6 +217,7 @@ const
|
||||
EN_EFFIC_CURVE = 2;
|
||||
EN_HLOSS_CURVE = 3;
|
||||
EN_GENERIC_CURVE = 4;
|
||||
EN_VALVE_CURVE = 5;
|
||||
|
||||
EN_UNCONDITIONAL = 0; { Deletion action codes }
|
||||
EN_CONDITIONAL = 1;
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
'Declarations of functions in the EPANET PROGRAMMERs TOOLKIT
|
||||
'(EPANET2.DLL) for use with VB.Net.
|
||||
|
||||
'Last updated on 02/01/2020
|
||||
'Last updated on 07/28/2022
|
||||
|
||||
Imports System.Runtime.InteropServices
|
||||
Imports System.Text
|
||||
@@ -67,6 +67,7 @@ Public Const EN_PUMP_ECOST = 21
|
||||
Public Const EN_PUMP_EPAT = 22
|
||||
Public Const EN_LINK_INCONTROL = 23
|
||||
Public Const EN_GPV_CURVE = 24
|
||||
Public Const EN_PCV_CURVE = 25
|
||||
|
||||
Public Const EN_DURATION = 0 ' Time parameters
|
||||
Public Const EN_HYDSTEP = 1
|
||||
@@ -120,6 +121,7 @@ Public Const EN_PBV = 5
|
||||
Public Const EN_FCV = 6
|
||||
Public Const EN_TCV = 7
|
||||
Public Const EN_GPV = 8
|
||||
Public Const EN_PCV = 9
|
||||
|
||||
Public Const EN_NONE = 0 ' Quality analysis types
|
||||
Public Const EN_CHEM = 1
|
||||
@@ -203,6 +205,7 @@ Public Const EN_PUMP_CURVE = 1 ' Pump curve
|
||||
Public Const EN_EFFIC_CURVE = 2 ' Efficiency curve
|
||||
Public Const EN_HLOSS_CURVE = 3 ' Head loss curve
|
||||
Public Const EN_GENERIC_CURVE = 4 ' Generic curve
|
||||
Public Const EN_VALVE_CURVE = 5 ' Valve position curve
|
||||
|
||||
Public Const EN_UNCONDITIONAL = 0 ' Unconditional object deletion
|
||||
Public Const EN_CONDITIONAL = 1 ' Conditional object deletion
|
||||
|
||||
Reference in New Issue
Block a user