whyclxw
2021-08-30 c18aed04a5d3f8eb3aae493e37e611ec4871d30b
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();
   }
   
   /**