| | |
| | | writeDynamicload_Control(master,dcontrol); |
| | | PowerArk_Task_SQL.update_Dynamicload_Control(conn_pool, dcontrol); |
| | | }*/ |
| | | //控制页面 |
| | | PowerArk_Task_SQL.queryDynamicload_Control(conn_pool, dcontrol); |
| | | { |
| | | |
| | | } |
| | | |
| | | if (runCount % 2 == 0) { |
| | | // *************************** 更新负载按钮信息******************************//* |
| | | |
| | |
| | | BatchRead<Integer> batch = dstate.createBatchRead(master,dstate.fz_button_num); |
| | | //System.out.println("id"+dinf.getDev_id()+" button_num"+dstate.fz_button_num); |
| | | BatchResults<Integer> res = MyModbusUtils.readMutilRegisters(batch, master); |
| | | dstate.putBatchResult(res); |
| | | dstate.putBatchResult(res,dstate.fz_button_num); |
| | | } |
| | | |
| | | /** |