The white wire goes to terminal no. 3 (which is linked to no. 2 (earth).
The green wire goes to terminal no. 4; but there's no wire leading from it to the wiring harness!
The red wire goes to terminal no. 1; a black lead goes from there to the wiring harness, so this must be the direct lighting lead, I guess.
But what does the green wire supply and where to? Perhaps it was intended to go to a rectifier and then to a battery. Perhaps someone added another coil, or maybe this isn't the original stator plate for the D1.
Anyhow, it keeps me from doing the household chores!