Is that picture of the motor in the font fork your pic?
What you're showing appears to be a bare controller not connected to anything, That's a hopeless project without specs on the controller. Sorry, I can't help there. THere's not enough info. I thought you had a bike where you were changing out throttle,
You can buy a 30A controller for 40 bucks with english descriptions of all the connectors. Beats spending hours and hours guessing,