

var idcard_callback;
function idReaderReadInfo(data, callback) {
    idcard_callback = callback;
    window.external.Read_IDCard("IDCard_getback");
}

function IDCard_getback(json) {
    idcard_callback(json)
}

var stop_callback;
function stopRead(data, callback) {
    stop_callback = callback;
    window.external.Close_IDCard("stopRead_getback");
}

function stopRead_getback(json) {
    stop_callback(json)
}

