Resilience analysis of four-state engineering systems under the framework of continuous-time Markov chain model