初次完成
add function findDevice() to find working device,add fuction taskOne() to reopen working.Need add:find priority device