Four generations of a railway family have accumulated over 200 years of railway service between them.