调整json

This commit is contained in:
13038267101 2022-08-11 17:34:48 +08:00
parent 5d87d7b97d
commit 7028449b54
2 changed files with 76 additions and 56 deletions

View File

@ -1,6 +1,6 @@
{ {
"device_type": "G139-239-x86", "device_type": "G139-239-x86",
"option_count": 67, "option_count": 68,
"1": { "1": {
"category": "base", "category": "base",
"name": "cfg-1", "name": "cfg-1",
@ -636,6 +636,16 @@
"55": { "55": {
"category": "base", "category": "base",
"name": "cfg-55", "name": "cfg-55",
"title": "待纸扫描",
"desc": "",
"type": "bool",
"cur": false,
"default": false,
"size": 4
},
"56": {
"category": "base",
"name": "cfg-56",
"title": "扫描张数", "title": "扫描张数",
"desc": "扫描纸张数量", "desc": "扫描纸张数量",
"type": "string", "type": "string",
@ -644,20 +654,20 @@
"size": 32, "size": 32,
"range": ["连续扫描", "扫描指定张数"] "range": ["连续扫描", "扫描指定张数"]
}, },
"56": { "57": {
"category": "base", "category": "base",
"name": "cfg-56", "name": "cfg-57",
"title": " 扫描数量", "title": " 扫描数量",
"desc": "扫描指定数量", "desc": "扫描指定数量",
"type": "int", "type": "int",
"cur": 1, "cur": 1,
"default": 1, "default": 1,
"size": 4, "size": 4,
"depend_or": ["55==扫描指定张数"] "depend_or": ["56==扫描指定张数"]
}, },
"57": { "58": {
"category": "base", "category": "base",
"name": "cfg-57", "name": "cfg-58",
"title": "文稿方向", "title": "文稿方向",
"desc": "文稿方向", "desc": "文稿方向",
"type": "string", "type": "string",
@ -666,20 +676,20 @@
"size": 40, "size": 40,
"range": ["0°", "90°", "180°", "-90°"] "range": ["0°", "90°", "180°", "-90°"]
}, },
"58": { "59": {
"category": "base", "category": "base",
"name": "cfg-58", "name": "cfg-59",
"title": "背面旋转180°", "title": "背面旋转180°",
"desc": "背面扫描的图像旋转180°", "desc": "背面扫描的图像旋转180°",
"type": "bool", "type": "bool",
"cur": false, "cur": false,
"default": false, "default": false,
"size": 4, "size": 4,
"depend_and": ["26!=单面", "26!=对折", "57!=自动文本方向识别°"] "depend_and": ["26!=单面", "26!=对折", "58!=自动文本方向识别°"]
}, },
"59": { "60": {
"category": "base", "category": "base",
"name": "cfg-59", "name": "cfg-60",
"title": "折角检测", "title": "折角检测",
"desc": "纸张折角检测", "desc": "纸张折角检测",
"type": "bool", "type": "bool",
@ -687,9 +697,9 @@
"default": false, "default": false,
"size": 4 "size": 4
}, },
"60": { "61": {
"category": "base", "category": "base",
"name": "cfg-60", "name": "cfg-61",
"title": " 折角大小", "title": " 折角大小",
"desc": "值越小,代表能检测到的折角越小", "desc": "值越小,代表能检测到的折角越小",
"type": "int", "type": "int",
@ -700,11 +710,11 @@
"min": 0, "min": 0,
"max": 100 "max": 100
}, },
"depend_or": ["59==true"] "depend_or": ["60==true"]
}, },
"61": { "62": {
"category": "base", "category": "base",
"name": "cfg-61", "name": "cfg-62",
"title": "歪斜检测", "title": "歪斜检测",
"desc": "纸张歪斜检测", "desc": "纸张歪斜检测",
"type": "bool", "type": "bool",
@ -712,9 +722,9 @@
"default": true, "default": true,
"size": 4 "size": 4
}, },
"62": { "63": {
"category": "base", "category": "base",
"name": "cfg-62", "name": "cfg-63",
"title": "歪斜容忍度", "title": "歪斜容忍度",
"desc": "值越小,代表能检测到纸张的歪斜角度越小", "desc": "值越小,代表能检测到纸张的歪斜角度越小",
"type": "int", "type": "int",
@ -725,11 +735,11 @@
"min": 1, "min": 1,
"max": 5 "max": 5
}, },
"depend_or": ["61==true"] "depend_or": ["62==true"]
}, },
"63": { "64": {
"category": "base", "category": "base",
"name": "cfg-63", "name": "cfg-64",
"title": "分纸强度", "title": "分纸强度",
"desc": "", "desc": "",
"type": "string", "type": "string",
@ -738,9 +748,9 @@
"size": 16, "size": 16,
"range": ["弱", "一般", "强"] "range": ["弱", "一般", "强"]
}, },
"64": { "65": {
"category": "base", "category": "base",
"name": "cfg-64", "name": "cfg-65",
"title": "休眠时间", "title": "休眠时间",
"desc": "", "desc": "",
"type": "string", "type": "string",
@ -749,9 +759,9 @@
"size": 24, "size": 24,
"range": ["不休眠", "五分钟", "十分钟", "半小时", "一小时", "两小时", "四小时"] "range": ["不休眠", "五分钟", "十分钟", "半小时", "一小时", "两小时", "四小时"]
}, },
"65": { "66": {
"category": "base", "category": "base",
"name": "cfg-65", "name": "cfg-66",
"title": "自动搓纸强度", "title": "自动搓纸强度",
"desc": "", "desc": "",
"type": "bool", "type": "bool",
@ -759,9 +769,9 @@
"default": false, "default": false,
"size": 4 "size": 4
}, },
"66": { "67": {
"category": "base", "category": "base",
"name": "cfg-66", "name": "cfg-67",
"title": " 搓纸阈值", "title": " 搓纸阈值",
"desc": "", "desc": "",
"type": "float", "type": "float",
@ -772,6 +782,6 @@
"min": 0.100000, "min": 0.100000,
"max": 0.900000 "max": 0.900000
}, },
"depend_or": ["65==true"] "depend_or": ["66==true"]
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"device_type": "G239", "device_type": "G239",
"option_count": 67, "option_count": 68,
"1": { "1": {
"category": "base", "category": "base",
"name": "cfg-1", "name": "cfg-1",
@ -636,6 +636,16 @@
"55": { "55": {
"category": "base", "category": "base",
"name": "cfg-55", "name": "cfg-55",
"title": "待纸扫描",
"desc": "",
"type": "bool",
"cur": false,
"default": false,
"size": 4
},
"56": {
"category": "base",
"name": "cfg-56",
"title": "扫描张数", "title": "扫描张数",
"desc": "扫描纸张数量", "desc": "扫描纸张数量",
"type": "string", "type": "string",
@ -644,20 +654,20 @@
"size": 32, "size": 32,
"range": ["连续扫描", "扫描指定张数"] "range": ["连续扫描", "扫描指定张数"]
}, },
"56": { "57": {
"category": "base", "category": "base",
"name": "cfg-56", "name": "cfg-57",
"title": " 扫描数量", "title": " 扫描数量",
"desc": "扫描指定数量", "desc": "扫描指定数量",
"type": "int", "type": "int",
"cur": 1, "cur": 1,
"default": 1, "default": 1,
"size": 4, "size": 4,
"depend_or": ["55==扫描指定张数"] "depend_or": ["56==扫描指定张数"]
}, },
"57": { "58": {
"category": "base", "category": "base",
"name": "cfg-57", "name": "cfg-58",
"title": "文稿方向", "title": "文稿方向",
"desc": "文稿方向", "desc": "文稿方向",
"type": "string", "type": "string",
@ -666,20 +676,20 @@
"size": 40, "size": 40,
"range": ["0°", "90°", "180°", "-90°", "自动文本方向识别°"] "range": ["0°", "90°", "180°", "-90°", "自动文本方向识别°"]
}, },
"58": { "59": {
"category": "base", "category": "base",
"name": "cfg-58", "name": "cfg-59",
"title": "背面旋转180°", "title": "背面旋转180°",
"desc": "背面扫描的图像旋转180°", "desc": "背面扫描的图像旋转180°",
"type": "bool", "type": "bool",
"cur": false, "cur": false,
"default": false, "default": false,
"size": 4, "size": 4,
"depend_and": ["26!=单面", "26!=对折", "57!=自动文本方向识别°"] "depend_and": ["26!=单面", "26!=对折", "58!=自动文本方向识别°"]
}, },
"59": { "60": {
"category": "base", "category": "base",
"name": "cfg-59", "name": "cfg-60",
"title": "折角检测", "title": "折角检测",
"desc": "纸张折角检测", "desc": "纸张折角检测",
"type": "bool", "type": "bool",
@ -687,9 +697,9 @@
"default": false, "default": false,
"size": 4 "size": 4
}, },
"60": { "61": {
"category": "base", "category": "base",
"name": "cfg-60", "name": "cfg-61",
"title": " 折角大小", "title": " 折角大小",
"desc": "值越小,代表能检测到的折角越小", "desc": "值越小,代表能检测到的折角越小",
"type": "int", "type": "int",
@ -700,11 +710,11 @@
"min": 0, "min": 0,
"max": 100 "max": 100
}, },
"depend_or": ["59==true"] "depend_or": ["60==true"]
}, },
"61": { "62": {
"category": "base", "category": "base",
"name": "cfg-61", "name": "cfg-62",
"title": "歪斜检测", "title": "歪斜检测",
"desc": "纸张歪斜检测", "desc": "纸张歪斜检测",
"type": "bool", "type": "bool",
@ -712,9 +722,9 @@
"default": true, "default": true,
"size": 4 "size": 4
}, },
"62": { "63": {
"category": "base", "category": "base",
"name": "cfg-62", "name": "cfg-63",
"title": "歪斜容忍度", "title": "歪斜容忍度",
"desc": "值越小,代表能检测到纸张的歪斜角度越小", "desc": "值越小,代表能检测到纸张的歪斜角度越小",
"type": "int", "type": "int",
@ -725,11 +735,11 @@
"min": 1, "min": 1,
"max": 5 "max": 5
}, },
"depend_or": ["61==true"] "depend_or": ["62==true"]
}, },
"63": { "64": {
"category": "base", "category": "base",
"name": "cfg-63", "name": "cfg-64",
"title": "分纸强度", "title": "分纸强度",
"desc": "", "desc": "",
"type": "string", "type": "string",
@ -738,9 +748,9 @@
"size": 16, "size": 16,
"range": ["弱", "一般", "强"] "range": ["弱", "一般", "强"]
}, },
"64": { "65": {
"category": "base", "category": "base",
"name": "cfg-64", "name": "cfg-65",
"title": "休眠时间", "title": "休眠时间",
"desc": "", "desc": "",
"type": "string", "type": "string",
@ -749,9 +759,9 @@
"size": 24, "size": 24,
"range": ["不休眠", "五分钟", "十分钟", "半小时", "一小时", "两小时", "四小时"] "range": ["不休眠", "五分钟", "十分钟", "半小时", "一小时", "两小时", "四小时"]
}, },
"65": { "66": {
"category": "base", "category": "base",
"name": "cfg-65", "name": "cfg-66",
"title": "自动搓纸强度", "title": "自动搓纸强度",
"desc": "", "desc": "",
"type": "bool", "type": "bool",
@ -759,9 +769,9 @@
"default": false, "default": false,
"size": 4 "size": 4
}, },
"66": { "67": {
"category": "base", "category": "base",
"name": "cfg-66", "name": "cfg-67",
"title": " 搓纸阈值", "title": " 搓纸阈值",
"desc": "", "desc": "",
"type": "float", "type": "float",
@ -772,6 +782,6 @@
"min": 0.100000, "min": 0.100000,
"max": 0.900000 "max": 0.900000
}, },
"depend_or": ["65==true"] "depend_or": ["66==true"]
} }
} }