"the threshing of the last wheat-rick"

To thresh means to separate out the grains of wheat from the straw and husks.

The machine that Izz and Tess worked on would have been something similar to this: