reformat tr primitive code, bug fixing
reformat tr primitive code, bug fixing

lianke123321/centinel,iclab/centinel,iclab/centinel,lianke123321/centinel,rpanah/centinel,iclab/centinel,lianke123321/centinel,rpanah/centinel,rpanah/centinel