Hi,
Again here I see no need for "no interruption". This just causes trouble .. at least in finding suitable solutions.
A simple capacitor will provide enough energy to cleanly switch from one source to the other.
"No time" is not a useful requirement. Consider a useful timing specification.
Diodes will work when generator voltage is higher than battery_charging_end voltage. This will be much higher than 24V.
Otherwise the charger may not be able to fully charge the batteries.
Usually charger_input comes directly from generator, not via the load_switching_circuit.
Klaus