You should have received a wiring diagram along with the MCCB ? Each manufacturer has his own way of wiring, so one can't generalise.
In general, there needs to be a two-position selector switch for Auto / Manual selection. Only one mode of operation possible, since the selector switch will stay put in one position only.
The charging mechanism will have a freewheeling clutch in it somewhere, so that overcharging is not possible. There will also be a microswitch to cut off supply to the motor when charging is complete.
So, you see, it is quite complex and you need to scrupulously follow the wiring diagram.
"The greater danger for most of us lies not in setting our aim too high and falling short; but in setting our aim too low, and achieving our mark." -- Michelangelo