fix don't know what cause a window turn to deactivated after show() , use showdialog() instead
mod 修改hasError为noError以增加代码一致性
del 删除无用窗口
add 添加NUnit测试框架
fix try to fix 功率为负时解析不正常的问题
*  fucking user manual page 24, actually it returns an unsigned short