DOG2 a CLAAS hall sensor

Hi, I have a question, can I use a hall sensor from the claas header with the number 0000117800 instead of DOG 2 ?