Add option to get\set default demand pattern
also updates the net builder test
This commit is contained in:
@@ -138,6 +138,7 @@ Public Const EN_EMITEXPON = 3
|
||||
Public Const EN_DEMANDMULT = 4
|
||||
Public Const EN_HEADERROR = 5
|
||||
Public Const EN_FLOWCHANGE = 6
|
||||
Public Const EN_DEMANDDEFPAT = 7
|
||||
|
||||
Public Const EN_LOWLEVEL = 0 ' Control types
|
||||
Public Const EN_HILEVEL = 1
|
||||
|
||||
@@ -219,13 +219,14 @@ typedef enum { /* Demand model types. */
|
||||
|
||||
/// Simulation Option codes
|
||||
typedef enum {
|
||||
EN_TRIALS = 0,
|
||||
EN_ACCURACY = 1,
|
||||
EN_TOLERANCE = 2,
|
||||
EN_EMITEXPON = 3,
|
||||
EN_DEMANDMULT = 4,
|
||||
EN_HEADERROR = 5,
|
||||
EN_FLOWCHANGE = 6
|
||||
EN_TRIALS = 0,
|
||||
EN_ACCURACY = 1,
|
||||
EN_TOLERANCE = 2,
|
||||
EN_EMITEXPON = 3,
|
||||
EN_DEMANDMULT = 4,
|
||||
EN_HEADERROR = 5,
|
||||
EN_FLOWCHANGE = 6,
|
||||
EN_DEMANDDEFPAT = 7
|
||||
} EN_Option;
|
||||
|
||||
typedef enum {
|
||||
|
||||
Reference in New Issue
Block a user