1.modify MSGTYPE
2.Change class scheduler extend by class ThreadBase