Add missing break statement after update from dev
This commit is contained in:
@@ -3,9 +3,9 @@
|
|||||||
|
|
||||||
This document describes the changes and updates that have been made in version 2.3 of EPANET.
|
This document describes the changes and updates that have been made in version 2.3 of EPANET.
|
||||||
|
|
||||||
- The check for at least two nodes, one tank/reservoir and no unconnected junction nodes was moved from `EN_open` to `EN_openH` and `EN_openQ` so that partial network data files to be opened by the toolkit.
|
- The check for at least two nodes, one tank/reservoir and no unconnected junction nodes was moved from `EN_open` to `EN_openH` and `EN_openQ` so that partial network data files could be opened by the toolkit.
|
||||||
- A `EN_setcurvetype` function was added to allow API clients to set a curve's type (e.g., `EN_PUMP_CURVE,` `EN_VOLUME_CURVE,` etc.).
|
- A `EN_setcurvetype` function was added to allow API clients to set a curve's type (e.g., `EN_PUMP_CURVE,` `EN_VOLUME_CURVE,` etc.).
|
||||||
- A `EN_setvertex` function was added to allow API clients to change the coordinates of a link's vertex.
|
- A `EN_setvertex` function was added to allow API clients to change the coordinates of a single link vertex.
|
||||||
- The index of a General Purpose Valve's (GPV's) head loss curve was added to the list of editable Link Properties using the symbolic constant name `EN_GPV_CURVE`.
|
- The index of a General Purpose Valve's (GPV's) head loss curve was added to the list of editable Link Properties using the symbolic constant name `EN_GPV_CURVE`.
|
||||||
- The `EN_getlinkvalue` and `EN_setlinkvalue` functions were updated to get and set the value of `EN_GPV_CURVE`.
|
- The `EN_getlinkvalue` and `EN_setlinkvalue` functions were updated to get and set the value of `EN_GPV_CURVE`.
|
||||||
|
|
||||||
|
|||||||
@@ -3796,6 +3796,7 @@ int DLLEXPORT EN_getlinkvalue(EN_Project p, int index, int property, double *val
|
|||||||
{
|
{
|
||||||
v = Link[index].Kc;
|
v = Link[index].Kc;
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
case EN_LINK_INCONTROL:
|
case EN_LINK_INCONTROL:
|
||||||
v = (double)incontrols(p, LINK, index);
|
v = (double)incontrols(p, LINK, index);
|
||||||
|
|||||||
Reference in New Issue
Block a user