public void setLiftState(LiftState liftState) { _liftState = liftState; //把当前的环境通知到各个实现类中 _liftState.setContext(this); }