Add a new simple control
ENaddcontrol(type, linkIndex, setting, nodeIndex, level)
index index of the new control.
the type of control to add (see details)
the index of a link to control (starting from 1)
control setting applied to the link
index of the node used to control the link (0 for EN_TIMER and EN_TIMEOFDAY controls).
action level (tank level, junction pressure, or time in seconds) that triggers the control.