feat: 工作台改版并区分东大与新大陆扫码
This commit is contained in:
@@ -10,7 +10,8 @@ import {
|
||||
} from '@/common/scanConfig.js';
|
||||
|
||||
const PDA_DEVICE_KEYWORDS = [
|
||||
'newland', 'nls', 'sunmi', 'urovo', 'zebra', 'honeywell', 'idata', 'seuic',
|
||||
'newland', 'nls', 'nlscan', 'sunmi', 'urovo', 'zebra', 'honeywell',
|
||||
'idata', 'seuic', 'autoid', '东集', '东大',
|
||||
];
|
||||
|
||||
export default {
|
||||
@@ -29,16 +30,18 @@ export default {
|
||||
getScannerConfigs() {
|
||||
return [
|
||||
{
|
||||
brand: 'newland',
|
||||
name: '东集',
|
||||
// 东大集成 SEUIC / AUTOID 系列(如 AUTOID9),勿与新大陆 nlscan 混淆
|
||||
brand: 'seuic',
|
||||
name: '东大集成(AUTOID)',
|
||||
action: 'com.android.server.scannerservice.broadcast',
|
||||
dataKey: 'scannerdata',
|
||||
needSetup: true,
|
||||
setupAction: 'com.android.scanner.service_settings',
|
||||
setupParams: {
|
||||
barcode_send_mode: 'BROADCAST',
|
||||
action_barcode_broadcast: 'com.android.server.scannerservice.broadcast',
|
||||
key_barcode_broadcast: 'scannerdata',
|
||||
endchar: 'ENTER'
|
||||
endchar: 'NONE'
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -56,6 +59,7 @@ export default {
|
||||
needSetup: false
|
||||
},
|
||||
{
|
||||
// 新大陆 Newland,广播为 nlscan.action.SCANNER_RESULT
|
||||
brand: 'nlscan',
|
||||
name: '新大陆',
|
||||
action: 'nlscan.action.SCANNER_RESULT',
|
||||
|
||||
Reference in New Issue
Block a user