Grin's Phaserunner and Baserunner motor controllers: versatile, fully programmable FOC controllers for almost any brushless ebike motor, from 27V up to 88V.
From google it looks like the DP C18 supports 36v, just figure out how to toggle it and you should be all set. The batteries have identical connectors I presume?