Added retrieval of emitter flow to the API
This commit is contained in:
@@ -37,6 +37,7 @@ Public Const EN_MAXVOLUME = 25
|
||||
Public Const EN_CANOVERFLOW = 26
|
||||
Public Const EN_DEMANDDEFICIT = 27
|
||||
Public Const EN_NODE_INCONTROL = 28
|
||||
Public Const EN_EMITTERFLOW = 29
|
||||
|
||||
Public Const EN_DIAMETER = 0 ' Link parameters
|
||||
Public Const EN_LENGTH = 1
|
||||
|
||||
@@ -48,6 +48,8 @@ namespace EpanetCSharpLibrary
|
||||
public const int EN_MAXVOLUME = 25;
|
||||
public const int EN_CANOVERFLOW = 26;
|
||||
public const int EN_DEMANDDEFICIT = 27;
|
||||
public const int EN_NODE_INCONTROL = 28;
|
||||
public const int EN_EMITTERFLOW = 29;
|
||||
|
||||
public const int EN_DIAMETER = 0; //Link parameters
|
||||
public const int EN_LENGTH = 1;
|
||||
@@ -45,6 +45,7 @@ const
|
||||
EN_CANOVERFLOW = 26;
|
||||
EN_DEMANDDEFICIT = 27;
|
||||
EN_NODE_INCONTROL = 28;
|
||||
EN_EMITTERFLOW = 29;
|
||||
|
||||
EN_DIAMETER = 0; { Link parameters }
|
||||
EN_LENGTH = 1;
|
||||
|
||||
@@ -41,6 +41,7 @@ Public Const EN_MAXVOLUME = 25
|
||||
Public Const EN_CANOVERFLOW = 26
|
||||
Public Const EN_DEMANDDEFICIT = 27
|
||||
Public Const EN_NODE_INCONTROL = 28
|
||||
Public Const EN_EMITTERFLOW = 29
|
||||
|
||||
Public Const EN_DIAMETER = 0 ' Link parameters
|
||||
Public Const EN_LENGTH = 1
|
||||
|
||||
@@ -64,7 +64,8 @@ typedef enum {
|
||||
EN_MAXVOLUME = 25, //!< Tank maximum volume (read only)
|
||||
EN_CANOVERFLOW = 26, //!< Tank can overflow (= 1) or not (= 0)
|
||||
EN_DEMANDDEFICIT = 27,//!< Amount that full demand is reduced under PDA (read only)
|
||||
EN_NODE_INCONTROL = 28 //!< Is present in any simple or rule-based control (= 1) or not (= 0)
|
||||
EN_NODE_INCONTROL = 28, //!< Is present in any simple or rule-based control (= 1) or not (= 0)
|
||||
EN_EMITTERFLOW = 29 //!< Current emitter flow (read only)
|
||||
} EN_NodeProperty;
|
||||
|
||||
/// Link properties
|
||||
|
||||
Reference in New Issue
Block a user