Edit D:\rfid\libsystem\js\websocket.js
var myWebSocket;function initWebSocket(){if("WebSocket" in window){myWebSocket=new WebSocket("ws://127.0.0.1:12345/readcard");myWebSocket.onopen=function(){};myWebSocket.onmessage=function(a){myWSOnMessage(a)};myWebSocket.onclose=function(a){openMessageDlg("WebSocket?????????????????...")};myWebSocket.onerror=function(a){openMessageDlg("??????...")}}else{openMessageDlg("???????????? WebSocket!")}}function myWSOnMessage(a){var b=JSON.parse(a.data);if(b.respcode=="200"){handlerFun(b)}else{}}function setWebSocket(a){if(a.readercard=="1"){initWebSocket()}else{if(myWebSocket){myWebSocket.close()}}}function handlerFun(a){$("#keyword").textbox("textbox").focus().select();setValue("keyword",a.readvalue);searchRdrRecord(null,a.readfield)};
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de