计算 byte[] 转 int
modebus 指定位数 获取值 使用
if (bytetores.Length > 6)
{
int total = 0;
for (int i = 0; i < bytetores[3]; ++i)
{
total += bytetores[i + 3] * (256 ^ (bytetores[3] - i - 1));
}
}