2017-02-14 update 2 Add AddressCombiner tests.

This commit is contained in:
parallelbgls
2017-02-14 14:08:26 +08:00
parent 9c29442b65
commit ad9465b41d
2 changed files with 191 additions and 5 deletions

View File

@@ -24,7 +24,7 @@
//Modbus协议错误
if (content[7] > 127)
{
throw new ModbusProtocalErrorException(content[8]);
throw new ModbusProtocalErrorException(content[2] > 0 ? content[2] : content[8]);
}
return true;
}