add a new method

getNetType