It's not an "ECU" as we know it. It appears to be a regulator or maybe a rectifier and regulator in one box but it's not a Electronic CU....
OK, so it's maybe points, maybe not, maybe magneto, maybe battery ignition system.
First step is to get a wiring diagram and a manual to determine what the ignition system consists of. Then you can troubleshoot it and check the wiring to get a spark. I think you will find that it's a flywheel magneto system with points hiding inside the flywheel. They will need to be cleaned and gapped first and then check each circuit one at a time for continuity and to see if the 2 charge coils are in spec.
Looks like you can get a manual here http://www.sunnymeadcycles.com/AermacchiHD.html