So do most normal trains, and they all have speed gauges that work fine, rain snow or dust. Clearly the technology exists.
Especially because the trains were operating well past their planned lifespan because their replacements were ordered but not delivered, so the major overhaul that would that would normally be done to life-extend a train kept running for decades didn't happen.