You can simply edit the fields of the existing detector to match that of the new one. Sensor programming is simply telling the panel when sensor ID and loop to listen to, and how to interpret the data.
You can find programming instructions for the PIR1-345 here.