Text this: A Three-Stage Dynamic Assessment Framework for Industrial Control System Security Based on a Method of W-HMM