New Samples Update. Modbus Coil Read Write Fix.

This commit is contained in:
parallelbgls
2016-11-01 14:25:21 +08:00
parent e7e0a7795d
commit 47b7ae324c
591 changed files with 95743 additions and 21528 deletions

View File

@@ -0,0 +1,20 @@
$(document).ready(function () {
setInterval("startRequest()", 1000);
});
function startRequest() {
var url = "/Home/Get";
$.ajax({
type: "get",
async: true,
url: url,
timeout: 1000,
success: function (datas) {
$.each(datas, function(index) {
$('#' + datas[index].Id).html(datas[index].Value);
});
},
error: function () {
}
});
}