Hello Hasan,
Here is wiki on creating controls, which has detailed explanation about it.
Creating Controls - Conditions, Actions and Control Sets
Also here are videos, demos on creating controls using HAMMER / WaterGEMS / SewerGEMS.
Bentley Hydraulics…