The contacts are for the power and ground circuit for the electric actuator for the slide lock for your front door that was designed to be used with the keyless entry system, but on your coach it probably works with the cargo bay lock switch also when the door is closed.
Gerald