src/com/modbus/data/MyModbusUtils.java
@@ -429,7 +429,7 @@ * @return */ public static int CreateSwitchRanDom() { return new BigDecimal(Math.random()).setScale(0, BigDecimal.ROUND_HALF_UP).intValue(); return new BigDecimal(Math.random()).setScale(0, BigDecimal.ROUND_HALF_DOWN).intValue(); } /**