HGWebScan修改demo

This commit is contained in:
luoliangyi 2022-09-07 13:59:29 +08:00
parent 626a59e03f
commit 56f72acd4d
1 changed files with 7 additions and 7 deletions

View File

@ -91,7 +91,7 @@
{ {
socket.send(JSON.stringify({ socket.send(JSON.stringify({
'Func':'GetDeviceList', 'Func':'GetDeviceList',
'arg':0 'arg':'0'
})); }));
} }
@ -99,7 +99,7 @@
{ {
socket.send(JSON.stringify({ socket.send(JSON.stringify({
'Func':'SelectDevice', 'Func':'SelectDevice',
'arg':0 'arg':'0'
})); }));
} }
@ -107,7 +107,7 @@
{ {
socket.send(JSON.stringify({ socket.send(JSON.stringify({
'Func':'SetScanColorType', 'Func':'SetScanColorType',
'arg':3 'arg':'3'
})); }));
} }
@ -115,7 +115,7 @@
{ {
socket.send(JSON.stringify({ socket.send(JSON.stringify({
'Func':'SetDPI', 'Func':'SetDPI',
'arg':200 'arg':'200'
})); }));
} }
@ -123,7 +123,7 @@
{ {
socket.send(JSON.stringify({ socket.send(JSON.stringify({
'Func':'SetDuplex', 'Func':'SetDuplex',
'arg':1 'arg':'1'
})); }));
} }
@ -131,7 +131,7 @@
{ {
socket.send(JSON.stringify({ socket.send(JSON.stringify({
'Func':'SetScanJPGQuality', 'Func':'SetScanJPGQuality',
'arg':60 'arg':'60'
})); }));
} }
@ -139,7 +139,7 @@
{ {
socket.send(JSON.stringify({ socket.send(JSON.stringify({
'Func':'StartScan', 'Func':'StartScan',
'arg':60 'arg':'60'
})); }));
} }