Compare the wires on the first floor panel to those on the top floor. Provided the first floor have fire service key switch, the top floor should only be different in that it is for a top floor down hall call and not a bottom floor up. Turn off the main line and verify no voltage at controller and see where these wires terminate in the controller. Be carefull not to disturbe any wires. Most important be safe and if any question call in professionals, because I would not want there to be any additional repaires needed.