whyclj
2020-07-21 28674e596fcaf647b3494075b3a37d5d75c60cbb
修改
1个文件已修改
8 ■■■■ 已修改文件
src/com/data/PowerArk_SocketCliet_Thread.java 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/com/data/PowerArk_SocketCliet_Thread.java
@@ -78,16 +78,16 @@
                        }
                    }
                    
                    /*if(run_count % 8 == 0) {
                    if(run_count % 8 == 0) {
                        //读取状态信息      0x8000-8013
                        basedata = new BaseData(Modbus_ComBase.READ_COIL_STATUS, Modbus_ComBase.ButtonOutPut_Start_Addr, 14);
                        if(SocketComm(basedata.createReadData(), socket)) {
                            //读取Q区状态成功 
                            PowerArk_ServerSocket_Thread_SQL.updateDynamicload_ButtonTable(conn_pool, button);
                        }
                    }*/
                    }
                    
                    /*if(run_count % 10 ==0 ) {
                    if(run_count % 10 ==0 ) {
                        //读取各个按钮状态  0x40-x0160
                        basedata = new BaseData(Modbus_ComBase.READ_COIL_STATUS, Modbus_ComBase.LocalControl_Start_Addr, 121);
                        if(SocketComm(basedata.createReadData(), socket)) {
@@ -103,7 +103,7 @@
                            //读取V区状态成功 
                            PowerArk_ServerSocket_Thread_SQL.updateDynamicload_StateTable(conn_pool, state);
                        }
                    }*/
                    }
                }
                
                /******************************************  д״̬   **********************************************/