I had a friend bring this engine to me he purchased and someone had kludged this board set into it. Since it was a 2-rail locomotive, I'm guessing this is a DCC setup from QSI. I've never seen this setup before, so I'd like to ID it.
For whatever reason, the track power was wired to the motor outputs in the wiring, so I suspect they may have killed the motor drive. He said it has some lame sound but stopped working after a spell and he wanted to find out why.