add type master
return total stay time (code 99)
Merge branch 'add_total_time'