Update TreeView and Bacnet TSTAT View

1.When user click a device ,it will auto change the T3000 comunication
,if it's a net work device ,it will open it's network, if it's  comport
device it will open the correspondings comport and baudrates.
2.Refresh the treeview every 20s , the last version has some bug of show
the status of the device , now it's solved.
3.Add the bacnet tstats into the CM5.
4.Solved the problem about when close the T3000 ,sometimes it will
crashed.Because control some of the userinterface can not deal in the
thread.