Unfortunately, this is something that no one will be able to predict.I need to know if I will be able to return to work after surgery.
Would it be at all possible to do your job sitting on the floor, instead of kneeling?
Do talk to your surgeon, if you can. Sometimes, if you have arthritis at the back of your kneecap, the damaged cartilage will be removed and replaced with a plastic button. That surgery leaves the kneecap itself rather thin, and at risk of being damaged if you kneel too much. That's why some surgeons prefer you not to kneel after surgery.
New Zealand
A lot of our tkr people here seem to be teachers, nurses (and others who work on their feet) and people who work in physically demanding jobs like yours.