From aebd8490c74b2a564f4a2dba495e4f99d3955fc3 Mon Sep 17 00:00:00 2001 From: gb <741021719@qq.com> Date: Sat, 13 Jan 2024 17:36:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/sane-opts/hardware.txt | 1200 +++++++++++++++++++++++++ docs/sane-opts/scanner_const_opts.txt | 140 +++ docs/sane-opts/user.txt | 69 ++ docs/standards/coordinate.txt | 7 + docs/standards/front-back.txt | 3 + 5 files changed, 1419 insertions(+) create mode 100644 docs/sane-opts/hardware.txt create mode 100644 docs/sane-opts/scanner_const_opts.txt create mode 100644 docs/sane-opts/user.txt create mode 100644 docs/standards/coordinate.txt create mode 100644 docs/standards/front-back.txt diff --git a/docs/sane-opts/hardware.txt b/docs/sane-opts/hardware.txt new file mode 100644 index 0000000..07ebe33 --- /dev/null +++ b/docs/sane-opts/hardware.txt @@ -0,0 +1,1200 @@ +{ + "mode": { + "cat": "none", + "group": "CIS", + "title": "颜色模式", + "desc": "选择镜头色彩工作模式", + "type": "string", + "fix-id": 34819, + "ui-pos": 10, + "auth": 0, + "size": 12, + "cur": "彩色", + "default": "彩色", + "range": ["彩色", "灰度"] + }, + "resolution": { + "cat": "none", + "group": "CIS", + "title": "分辨率", + "desc": "设置镜头工作的分辨率", + "type": "int", + "fix-id": 34840, + "ui-pos": 11, + "auth": 0, + "size": 4, + "cur": 200, + "default": 200, + "range": [200, 300, 600] + }, + "paper": { + "cat": "base", + "group": "base", + "title": "纸张尺寸", + "desc": "设置出图大小", + "type": "string", + "fix-id": 34831, + "ui-pos": 10, + "auth": 0, + "size": 44, + "cur": "匹配原始尺寸", + "default": "匹配原始尺寸", + "range": ["A3", "8开", "A4", "16开", "A5", "A6", "B4", "B5", "B6", "Letter", "Double Letter", "LEGAL", "匹配原始尺寸", { + "resolution<500": "最大扫描尺寸自动裁切" + }, { + "resolution<500": "最大扫描尺寸" + }, { + "resolution<500": "三联试卷" + }] + }, + "lateral": { + "cat": "base", + "group": "base", + "title": "横向", + "desc": "横向放置纸张", + "type": "bool", + "fix-id": 34924, + "ui-pos": 12, + "auth": 0, + "affect": 6, + "visible": 0, + "size": 4, + "cur": false, + "default": false, + "depend": "paper==A4 || paper==16开 || paper==A5 || paper==A6 || paper==B5 || paper==B6 || paper==Letter" + }, + "paper-w": { + "cat": "base", + "group": "base", + "title": "纸张宽度", + "desc": "以毫米为单位的纸张宽", + "type": "float", + "fix-id": 34922, + "ui-pos": 13, + "auth": 0, + "unit": "mm", + "readonly": true, + "visible": 0, + "size": 8, + "auto": false, + "ownread": true, + "cur": 210.000000, + "default": 210.000000 + }, + "paper-h": { + "cat": "base", + "group": "base", + "title": "纸张高度", + "desc": "以毫米为单位的纸张高", + "type": "float", + "fix-id": 34923, + "ui-pos": 14, + "auth": 0, + "unit": "mm", + "readonly": true, + "visible": 0, + "size": 8, + "auto": false, + "ownread": true, + "cur": 297.000000, + "default": 297.000000 + }, + "is-wait-scan": { + "cat": "base", + "group": "feeder", + "title": "待纸扫描", + "desc": "启用后,文稿放入扫描仪时将自动启动扫描", + "type": "bool", + "fix-id": 34873, + "ui-pos": 12, + "auth": 0, + "size": 4, + "cur": false, + "default": false + }, + "wait-scan-exit": { + "cat": "base", + "group": "feeder", + "title": "待纸扫描退出时间", + "desc": "设置结束待纸扫描的时间", + "type": "string", + "fix-id": 34920, + "ui-pos": 13, + "auth": 0, + "size": 16, + "cur": "60s", + "default": "60s", + "range": ["15s", "30s", "60s", "2min", "4min", "8min"], + "depend": "is-wait-scan==true" + }, + "scan-mode": { + "cat": "base", + "group": "feeder", + "title": "扫描张数", + "desc": "选择指定数量扫描或连续扫描", + "type": "string", + "fix-id": 34862, + "ui-pos": 15, + "auth": 0, + "size": 24, + "cur": "连续扫描", + "default": "连续扫描", + "range": ["连续扫描", "扫描指定张数"], + "depend": "is-wait-scan==false" + }, + "scan-count": { + "cat": "base", + "group": "feeder", + "title": " 扫描数量", + "desc": "扫描指定数量", + "type": "int", + "fix-id": 34863, + "ui-pos": 16, + "auth": 0, + "size": 4, + "cur": -1, + "default": -1, + "depend": "scan-mode.enabled&&scan-mode==扫描指定张数" + }, + "is-auto-strength": { + "cat": "base", + "group": "feeder", + "title": "自动分纸强度", + "desc": "扫描仪自动修正分纸力度", + "type": "bool", + "fix-id": 34876, + "ui-pos": 27, + "auth": 0, + "size": 4, + "cur": false, + "default": false + }, + "feed-strength-value": { + "cat": "base", + "group": "feeder", + "title": " 进纸失败率", + "desc": "高于该值时扫描仪将调整分纸力度", + "type": "float", + "fix-id": 34877, + "ui-pos": 28, + "auth": 0, + "size": 8, + "cur": 0.000000, + "default": 0.000000, + "range": { + "min": 0.100000, + "max": 0.900000, + "step": 0.080000 + }, + "depend": "is-auto-strength==true" + }, + "feed-strength": { + "cat": "base", + "group": "feeder", + "title": "分纸强度", + "desc": "设置扫描仪的分纸力度", + "type": "string", + "fix-id": 34874, + "ui-pos": 30, + "auth": 0, + "size": 12, + "cur": "一般", + "default": "一般", + "range": ["弱", "一般", "强"], + "depend": "is-auto-strength!=true" + }, + "time-to-sleep": { + "cat": "base", + "group": "feeder", + "title": "休眠时间", + "desc": "设置扫描仪的休眠时间", + "type": "string", + "fix-id": 34875, + "ui-pos": 33, + "auth": 0, + "size": 16, + "cur": "不休眠", + "default": "不休眠", + "range": ["不休眠", "五分钟", "十分钟", "半小时", "一小时", "两小时", "四小时"] + }, + "baud": { + "cat": "none", + "group": "CIS", + "title": "波特率", + "desc": "CIS控制通信速率", + "type": "int", + "ui-pos": 20, + "auth": 0, + "size": 4, + "cur": 921600, + "default": 921600, + "range": [110, 300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 500000, 921600, 1500000] + }, + "act-after": { + "cat": "none", + "group": "CIS", + "title": "延迟响应", + "desc": "采集头接受命令后的动作延迟时间", + "type": "int", + "ui-pos": 21, + "auth": 0, + "unit": "microsec", + "size": 4, + "cur": 1000, + "default": 1000 + }, + "frame-h": { + "cat": "none", + "group": "CIS", + "title": "帧高度", + "desc": "采集头每一帧的采集高度", + "type": "int", + "ui-pos": 22, + "auth": 0, + "size": 4, + "cur": 12, + "default": 12 + }, + "sample": { + "cat": "none", + "group": "CIS", + "title": "采样频率", + "desc": "采样频率", + "type": "int", + "ui-pos": 23, + "auth": 0, + "size": 4, + "cur": 256, + "default": 256 + }, + "paper-on": { + "cat": "none", + "group": "feeder", + "title": "纸张就绪", + "desc": "纸张已经在进纸台上放置好", + "type": "bool", + "fix-id": 34912, + "ui-pos": 10, + "auth": 0, + "readonly": true, + "size": 4, + "auto": false, + "ownread": true, + "cur": false, + "default": false + }, + "double-chk": { + "cat": "none", + "group": "feeder", + "title": "双张检测", + "desc": "检测是否有两张或者多张纸同时搓进", + "type": "string", + "ui-pos": 18, + "auth": 0, + "size": 16, + "cur": "超声波", + "default": "超声波", + "range": ["超声波", "禁用"] + }, + "is-staple": { + "cat": "none", + "group": "feeder", + "title": "装订检测", + "desc": "检测是否有订书钉存在", + "type": "bool", + "fix-id": 34861, + "ui-pos": 20, + "auth": 0, + "size": 4, + "cur": true, + "default": true + }, + "motor-speed": { + "cat": "none", + "group": "feeder", + "title": "走纸速度", + "desc": "设置走纸电机的速度,张\/分(PPM)", + "type": "int", + "ui-pos": 25, + "auth": 0, + "size": 4, + "cur": 100, + "default": 100, + "range": [{ + "dev-model!=G200": 70 + }, { + "dev-model!=G200": 80 + }, { + "dev-model!=G200": 90 + }, 100, { + "dev-model==G200": 110 + }, { + "dev-model==G200": 120 + }, { + "dev-model==G200": 130 + }] + }, + "is-check-askew": { + "cat": "none", + "group": "feeder", + "title": "歪斜检测", + "desc": "检测进纸是否歪斜", + "type": "bool", + "fix-id": 34868, + "ui-pos": 22, + "auth": 0, + "size": 4, + "cur": true, + "default": true + }, + "askew-range": { + "cat": "none", + "group": "feeder", + "title": "歪斜容忍度", + "desc": "值越小,能容忍得送入文稿歪斜角度越小", + "type": "int", + "fix-id": 34869, + "ui-pos": 23, + "auth": 0, + "size": 4, + "cur": 3, + "default": 3, + "range": { + "min": 1, + "max": 7, + "step": 1 + }, + "depend": "is-check-askew==true" + }, + "motor-ver": { + "cat": "none", + "group": "关于", + "title": "电机驱动版本", + "desc": "电机板驱动程序版本号", + "type": "string", + "fix-id": 34909, + "ui-pos": 16, + "auth": 0, + "readonly": true, + "size": 24, + "auto": false, + "cur": "", + "default": "" + }, + "fpga-ver": { + "cat": "none", + "group": "关于", + "title": "CIS控制器版本", + "desc": "镜头参数控制驱动程序版本号", + "type": "string", + "ui-pos": 17, + "auth": 0, + "readonly": true, + "size": 24, + "auto": false, + "cur": "", + "default": "" + }, + "cis-len": { + "cat": "base", + "group": "关于", + "title": "镜头长", + "desc": "图像采集镜头的长度,单位为毫米(mm)", + "type": "int", + "ui-pos": 30, + "auth": 0, + "unit": "mm", + "readonly": true, + "size": 4, + "auto": false, + "cur": 3888, + "default": 3888 + }, + "stretch-h": { + "cat": "base", + "group": "CIS", + "title": "水平拉伸率", + "desc": "为抵抗形变,在水平方向的拉伸率", + "type": "float", + "ui-pos": 40, + "auth": 0, + "size": 8, + "auto": false, + "default": { + "mode==彩色 && resolution==300": 1.000000, + "mode==灰度 && resolution==300": 1.000000, + "mode==灰度 && resolution==200": 1.000000, + "mode==彩色 && resolution==600": 1.000000, + "mode==灰度 && resolution==600": 1.000000, + "default": 1.000000 + }, + "range": { + "min": 0.500000, + "max": 2.000000, + "step": 0.100000 + } + }, + "stretch-v": { + "cat": "base", + "group": "CIS", + "title": "垂直拉伸率", + "desc": "为抵抗形变,在垂直方向的拉伸率", + "type": "float", + "ui-pos": 41, + "auth": 0, + "size": 8, + "auto": false, + "default": { + "mode==彩色 && resolution==300": 1.000000, + "mode==灰度 && resolution==300": 1.000000, + "mode==灰度 && resolution==200": 1.000000, + "mode==彩色 && resolution==600": 1.000000, + "mode==灰度 && resolution==600": 1.000000, + "default": 1.000000 + }, + "range": { + "min": 0.500000, + "max": 2.000000, + "step": 0.100000 + } + }, + "cis-sp": { + "cat": "base", + "group": "CIS", + "title": "速率1", + "desc": "FPGA最佳速率", + "type": "int", + "ui-pos": 42, + "auth": 0, + "size": 4, + "auto": false, + "default": { + "mode==彩色 && resolution==300": 878, + "mode==灰度 && resolution==300": 2637, + "mode==灰度 && resolution==200": 2450, + "mode==彩色 && resolution==600": 1531, + "mode==灰度 && resolution==600": 4595, + "default": 816 + } + }, + "expo-fr": { + "cat": "none", + "group": "CIS", + "title": "曝光度(正面红色通道)", + "desc": "正面红色通道的曝光强度", + "type": "int", + "ui-pos": 70, + "auth": 0, + "bind": true, + "size": 4, + "default": { + "mode==彩色 && resolution==300": 313, + "mode==灰度 && resolution==300": 336, + "mode==灰度 && resolution==200": 337, + "mode==彩色 && resolution==600": 622, + "mode==灰度 && resolution==600": 673, + "default": 312 + }, + "range": { + "min": 1, + "max": 1100, + "step": 1 + } + }, + "expo-fg": { + "cat": "none", + "group": "CIS", + "title": "曝光度(正面绿色通道)", + "desc": "正面绿色通道的曝光强度", + "type": "int", + "ui-pos": 71, + "auth": 0, + "bind": true, + "size": 4, + "default": { + "mode==彩色 && resolution==300": 306, + "mode==灰度 && resolution==300": 336, + "mode==灰度 && resolution==200": 337, + "mode==彩色 && resolution==600": 611, + "mode==灰度 && resolution==600": 673, + "default": 305 + }, + "range": { + "min": 1, + "max": 1100, + "step": 1 + } + }, + "expo-fb": { + "cat": "none", + "group": "CIS", + "title": "曝光度(正面蓝色通道)", + "desc": "正面蓝色通道的曝光强度", + "type": "int", + "ui-pos": 72, + "auth": 0, + "bind": true, + "size": 4, + "default": { + "mode==彩色 && resolution==300": 297, + "mode==灰度 && resolution==300": 336, + "mode==灰度 && resolution==200": 337, + "mode==彩色 && resolution==600": 590, + "mode==灰度 && resolution==600": 673, + "default": 295 + }, + "range": { + "min": 1, + "max": 1100, + "step": 1 + } + }, + "expo-br": { + "cat": "none", + "group": "CIS", + "title": "曝光度(背面红色通道)", + "desc": "背面红色通道的曝光强度", + "type": "int", + "ui-pos": 73, + "auth": 0, + "bind": true, + "size": 4, + "default": { + "mode==彩色 && resolution==300": 360, + "mode==灰度 && resolution==300": 410, + "mode==灰度 && resolution==200": 406, + "mode==彩色 && resolution==600": 713, + "mode==灰度 && resolution==600": 811, + "default": 360 + }, + "range": { + "min": 1, + "max": 1100, + "step": 1 + } + }, + "expo-bg": { + "cat": "none", + "group": "CIS", + "title": "曝光度(背面绿色通道)", + "desc": "背面绿色通道的曝光强度", + "type": "int", + "ui-pos": 74, + "auth": 0, + "bind": true, + "size": 4, + "default": { + "mode==彩色 && resolution==300": 380, + "mode==灰度 && resolution==300": 410, + "mode==灰度 && resolution==200": 406, + "mode==彩色 && resolution==600": 758, + "mode==灰度 && resolution==600": 811, + "default": 379 + }, + "range": { + "min": 1, + "max": 1100, + "step": 1 + } + }, + "expo-bb": { + "cat": "none", + "group": "CIS", + "title": "曝光度(背面蓝色通道)", + "desc": "背面蓝色通道的曝光强度", + "type": "int", + "ui-pos": 75, + "auth": 0, + "bind": true, + "size": 4, + "default": { + "mode==彩色 && resolution==300": 361, + "mode==灰度 && resolution==300": 410, + "mode==灰度 && resolution==200": 406, + "mode==彩色 && resolution==600": 722, + "mode==灰度 && resolution==600": 811, + "default": 360 + }, + "range": { + "min": 1, + "max": 1100, + "step": 1 + } + }, + "gain-f-1": { + "cat": "none", + "group": "CIS", + "title": "增益(正面通道1)", + "desc": "正面通道1的增益量", + "type": "int", + "ui-pos": 90, + "auth": 0, + "bind": true, + "size": 4, + "default": { + "mode==彩色 && resolution==300": 170, + "mode==灰度 && resolution==300": 170, + "mode==灰度 && resolution==200": 170, + "mode==彩色 && resolution==600": 170, + "mode==灰度 && resolution==600": 170, + "default": 170 + }, + "range": { + "min": 1, + "max": 200, + "step": 1 + } + }, + "gain-f-2": { + "cat": "none", + "group": "CIS", + "title": "增益(正面通道2)", + "desc": "正面通道2的增益量", + "type": "int", + "ui-pos": 91, + "auth": 0, + "bind": true, + "size": 4, + "default": { + "mode==彩色 && resolution==300": 170, + "mode==灰度 && resolution==300": 170, + "mode==灰度 && resolution==200": 170, + "mode==彩色 && resolution==600": 170, + "mode==灰度 && resolution==600": 170, + "default": 170 + }, + "range": { + "min": 1, + "max": 200, + "step": 1 + } + }, + "gain-f-3": { + "cat": "none", + "group": "CIS", + "title": "增益(正面通道3)", + "desc": "正面通道3的增益量", + "type": "int", + "ui-pos": 92, + "auth": 0, + "bind": true, + "size": 4, + "default": { + "mode==彩色 && resolution==300": 170, + "mode==灰度 && resolution==300": 170, + "mode==灰度 && resolution==200": 170, + "mode==彩色 && resolution==600": 170, + "mode==灰度 && resolution==600": 170, + "default": 170 + }, + "range": { + "min": 1, + "max": 200, + "step": 1 + } + }, + "gain-f-4": { + "cat": "none", + "group": "CIS", + "title": "增益(正面通道4)", + "desc": "正面通道4的增益量", + "type": "int", + "ui-pos": 93, + "auth": 0, + "bind": true, + "size": 4, + "default": { + "mode==彩色 && resolution==300": 170, + "mode==灰度 && resolution==300": 170, + "mode==灰度 && resolution==200": 170, + "mode==彩色 && resolution==600": 170, + "mode==灰度 && resolution==600": 170, + "default": 170 + }, + "range": { + "min": 1, + "max": 200, + "step": 1 + } + }, + "gain-f-5": { + "cat": "none", + "group": "CIS", + "title": "增益(正面通道5)", + "desc": "正面通道5的增益量", + "type": "int", + "ui-pos": 94, + "auth": 0, + "bind": true, + "size": 4, + "default": { + "mode==彩色 && resolution==300": 170, + "mode==灰度 && resolution==300": 170, + "mode==灰度 && resolution==200": 170, + "mode==彩色 && resolution==600": 170, + "mode==灰度 && resolution==600": 170, + "default": 170 + }, + "range": { + "min": 1, + "max": 200, + "step": 1 + } + }, + "gain-f-6": { + "cat": "none", + "group": "CIS", + "title": "增益(正面通道6)", + "desc": "正面通道6的增益量", + "type": "int", + "ui-pos": 95, + "auth": 0, + "bind": true, + "size": 4, + "default": { + "mode==彩色 && resolution==300": 170, + "mode==灰度 && resolution==300": 170, + "mode==灰度 && resolution==200": 170, + "mode==彩色 && resolution==600": 170, + "mode==灰度 && resolution==600": 170, + "default": 170 + }, + "range": { + "min": 1, + "max": 200, + "step": 1 + } + }, + "gain-b-1": { + "cat": "none", + "group": "CIS", + "title": "增益(背面通道1)", + "desc": "背面通道1的增益量", + "type": "int", + "ui-pos": 120, + "auth": 0, + "bind": true, + "size": 4, + "default": { + "mode==彩色 && resolution==300": 170, + "mode==灰度 && resolution==300": 170, + "mode==灰度 && resolution==200": 170, + "mode==彩色 && resolution==600": 170, + "mode==灰度 && resolution==600": 170, + "default": 170 + }, + "range": { + "min": 1, + "max": 200, + "step": 1 + } + }, + "gain-b-2": { + "cat": "none", + "group": "CIS", + "title": "增益(背面通道2)", + "desc": "背面通道2的增益量", + "type": "int", + "ui-pos": 121, + "auth": 0, + "bind": true, + "size": 4, + "default": { + "mode==彩色 && resolution==300": 170, + "mode==灰度 && resolution==300": 170, + "mode==灰度 && resolution==200": 170, + "mode==彩色 && resolution==600": 170, + "mode==灰度 && resolution==600": 170, + "default": 170 + }, + "range": { + "min": 1, + "max": 200, + "step": 1 + } + }, + "gain-b-3": { + "cat": "none", + "group": "CIS", + "title": "增益(背面通道3)", + "desc": "背面通道3的增益量", + "type": "int", + "ui-pos": 122, + "auth": 0, + "bind": true, + "size": 4, + "default": { + "mode==彩色 && resolution==300": 170, + "mode==灰度 && resolution==300": 170, + "mode==灰度 && resolution==200": 170, + "mode==彩色 && resolution==600": 170, + "mode==灰度 && resolution==600": 170, + "default": 170 + }, + "range": { + "min": 1, + "max": 200, + "step": 1 + } + }, + "gain-b-4": { + "cat": "none", + "group": "CIS", + "title": "增益(背面通道4)", + "desc": "背面通道4的增益量", + "type": "int", + "ui-pos": 123, + "auth": 0, + "bind": true, + "size": 4, + "default": { + "mode==彩色 && resolution==300": 170, + "mode==灰度 && resolution==300": 170, + "mode==灰度 && resolution==200": 170, + "mode==彩色 && resolution==600": 170, + "mode==灰度 && resolution==600": 170, + "default": 170 + }, + "range": { + "min": 1, + "max": 200, + "step": 1 + } + }, + "gain-b-5": { + "cat": "none", + "group": "CIS", + "title": "增益(背面通道5)", + "desc": "背面通道5的增益量", + "type": "int", + "ui-pos": 124, + "auth": 0, + "bind": true, + "size": 4, + "default": { + "mode==彩色 && resolution==300": 170, + "mode==灰度 && resolution==300": 170, + "mode==灰度 && resolution==200": 170, + "mode==彩色 && resolution==600": 170, + "mode==灰度 && resolution==600": 170, + "default": 170 + }, + "range": { + "min": 1, + "max": 200, + "step": 1 + } + }, + "gain-b-6": { + "cat": "none", + "group": "CIS", + "title": "增益(背面通道6)", + "desc": "背面通道6的增益量", + "type": "int", + "ui-pos": 125, + "auth": 0, + "bind": true, + "size": 4, + "default": { + "mode==彩色 && resolution==300": 170, + "mode==灰度 && resolution==300": 170, + "mode==灰度 && resolution==200": 170, + "mode==彩色 && resolution==600": 170, + "mode==灰度 && resolution==600": 170, + "default": 170 + }, + "range": { + "min": 1, + "max": 200, + "step": 1 + } + }, + "off-f-1": { + "cat": "none", + "group": "CIS", + "title": "增益补偿(正面通道1)", + "desc": "正面通道1的增益补偿量", + "type": "int", + "ui-pos": 160, + "auth": 0, + "bind": true, + "size": 4, + "default": { + "mode==彩色 && resolution==300": 113, + "mode==灰度 && resolution==300": 116, + "mode==灰度 && resolution==200": 116, + "mode==彩色 && resolution==600": 115, + "mode==灰度 && resolution==600": 116, + "default": 113 + }, + "range": { + "min": 1, + "max": 200, + "step": 1 + } + }, + "off-f-2": { + "cat": "none", + "group": "CIS", + "title": "增益补偿(正面通道2)", + "desc": "正面通道2的增益补偿量", + "type": "int", + "ui-pos": 161, + "auth": 0, + "bind": true, + "size": 4, + "default": { + "mode==彩色 && resolution==300": 118, + "mode==灰度 && resolution==300": 121, + "mode==灰度 && resolution==200": 119, + "mode==彩色 && resolution==600": 119, + "mode==灰度 && resolution==600": 121, + "default": 118 + }, + "range": { + "min": 1, + "max": 200, + "step": 1 + } + }, + "off-f-3": { + "cat": "none", + "group": "CIS", + "title": "增益补偿(正面通道3)", + "desc": "正面通道3的增益补偿量", + "type": "int", + "ui-pos": 162, + "auth": 0, + "bind": true, + "size": 4, + "default": { + "mode==彩色 && resolution==300": 118, + "mode==灰度 && resolution==300": 119, + "mode==灰度 && resolution==200": 121, + "mode==彩色 && resolution==600": 118, + "mode==灰度 && resolution==600": 121, + "default": 118 + }, + "range": { + "min": 1, + "max": 200, + "step": 1 + } + }, + "off-f-4": { + "cat": "none", + "group": "CIS", + "title": "增益补偿(正面通道4)", + "desc": "正面通道4的增益补偿量", + "type": "int", + "ui-pos": 163, + "auth": 0, + "bind": true, + "size": 4, + "default": { + "mode==彩色 && resolution==300": 124, + "mode==灰度 && resolution==300": 128, + "mode==灰度 && resolution==200": 128, + "mode==彩色 && resolution==600": 126, + "mode==灰度 && resolution==600": 129, + "default": 125 + }, + "range": { + "min": 1, + "max": 200, + "step": 1 + } + }, + "off-f-5": { + "cat": "none", + "group": "CIS", + "title": "增益补偿(正面通道5)", + "desc": "正面通道5的增益补偿量", + "type": "int", + "ui-pos": 164, + "auth": 0, + "bind": true, + "size": 4, + "default": { + "mode==彩色 && resolution==300": 126, + "mode==灰度 && resolution==300": 129, + "mode==灰度 && resolution==200": 129, + "mode==彩色 && resolution==600": 127, + "mode==灰度 && resolution==600": 130, + "default": 126 + }, + "range": { + "min": 1, + "max": 200, + "step": 1 + } + }, + "off-f-6": { + "cat": "none", + "group": "CIS", + "title": "增益补偿(正面通道6)", + "desc": "正面通道6的增益补偿量", + "type": "int", + "ui-pos": 165, + "auth": 0, + "bind": true, + "size": 4, + "default": { + "mode==彩色 && resolution==300": 125, + "mode==灰度 && resolution==300": 127, + "mode==灰度 && resolution==200": 127, + "mode==彩色 && resolution==600": 125, + "mode==灰度 && resolution==600": 127, + "default": 125 + }, + "range": { + "min": 1, + "max": 200, + "step": 1 + } + }, + "off-b-1": { + "cat": "none", + "group": "CIS", + "title": "增益补偿(背面通道1)", + "desc": "背面通道1的增益补偿量", + "type": "int", + "ui-pos": 200, + "auth": 0, + "bind": true, + "size": 4, + "default": { + "mode==彩色 && resolution==300": 109, + "mode==灰度 && resolution==300": 110, + "mode==灰度 && resolution==200": 112, + "mode==彩色 && resolution==600": 109, + "mode==灰度 && resolution==600": 112, + "default": 109 + }, + "range": { + "min": 1, + "max": 200, + "step": 1 + } + }, + "off-b-2": { + "cat": "none", + "group": "CIS", + "title": "增益补偿(背面通道2)", + "desc": "背面通道2的增益补偿量", + "type": "int", + "ui-pos": 201, + "auth": 0, + "bind": true, + "size": 4, + "default": { + "mode==彩色 && resolution==300": 118, + "mode==灰度 && resolution==300": 120, + "mode==灰度 && resolution==200": 122, + "mode==彩色 && resolution==600": 120, + "mode==灰度 && resolution==600": 121, + "default": 118 + }, + "range": { + "min": 1, + "max": 200, + "step": 1 + } + }, + "off-b-3": { + "cat": "none", + "group": "CIS", + "title": "增益补偿(背面通道3)", + "desc": "背面通道3的增益补偿量", + "type": "int", + "ui-pos": 202, + "auth": 0, + "bind": true, + "size": 4, + "default": { + "mode==彩色 && resolution==300": 114, + "mode==灰度 && resolution==300": 115, + "mode==灰度 && resolution==200": 117, + "mode==彩色 && resolution==600": 114, + "mode==灰度 && resolution==600": 116, + "default": 114 + }, + "range": { + "min": 1, + "max": 200, + "step": 1 + } + }, + "off-b-4": { + "cat": "none", + "group": "CIS", + "title": "增益补偿(背面通道4)", + "desc": "背面通道4的增益补偿量", + "type": "int", + "ui-pos": 203, + "auth": 0, + "bind": true, + "size": 4, + "default": { + "mode==彩色 && resolution==300": 117, + "mode==灰度 && resolution==300": 117, + "mode==灰度 && resolution==200": 117, + "mode==彩色 && resolution==600": 117, + "mode==灰度 && resolution==600": 120, + "default": 117 + }, + "range": { + "min": 1, + "max": 200, + "step": 1 + } + }, + "off-b-5": { + "cat": "none", + "group": "CIS", + "title": "增益补偿(背面通道5)", + "desc": "背面通道5的增益补偿量", + "type": "int", + "ui-pos": 204, + "auth": 0, + "bind": true, + "size": 4, + "default": { + "mode==彩色 && resolution==300": 116, + "mode==灰度 && resolution==300": 118, + "mode==灰度 && resolution==200": 118, + "mode==彩色 && resolution==600": 117, + "mode==灰度 && resolution==600": 119, + "default": 116 + }, + "range": { + "min": 1, + "max": 200, + "step": 1 + } + }, + "off-b-6": { + "cat": "none", + "group": "CIS", + "title": "增益补偿(背面通道6)", + "desc": "背面通道6的增益补偿量", + "type": "int", + "ui-pos": 205, + "auth": 0, + "bind": true, + "size": 4, + "default": { + "mode==彩色 && resolution==300": 119, + "mode==灰度 && resolution==300": 121, + "mode==灰度 && resolution==200": 121, + "mode==彩色 && resolution==600": 120, + "mode==灰度 && resolution==600": 123, + "default": 118 + }, + "range": { + "min": 1, + "max": 200, + "step": 1 + } + } +} \ No newline at end of file diff --git a/docs/sane-opts/scanner_const_opts.txt b/docs/sane-opts/scanner_const_opts.txt new file mode 100644 index 0000000..69813e6 --- /dev/null +++ b/docs/sane-opts/scanner_const_opts.txt @@ -0,0 +1,140 @@ +{ + "dev-vid": { + "cat": "base", + "group": "关于", + "title": "USB-VID", + "desc": "设备制造商在USB组织的ID", + "type": "string", + "fix-id": 34898, + "ui-pos": 10, + "auth": 0, + "readonly": true, + "size": 16, + "auto": false, + "cur": "3072", + "default": "3072" + }, + "dev-pid": { + "cat": "base", + "group": "关于", + "title": "USB-PID", + "desc": "设备在USB组织中的产品ID", + "type": "string", + "fix-id": 34899, + "ui-pos": 11, + "auth": 0, + "readonly": true, + "size": 16, + "auto": false, + "cur": "0306", + "default": "0306" + }, + "dev-name": { + "cat": "base", + "group": "关于", + "title": "设备名称", + "desc": "设备名称", + "type": "string", + "fix-id": 34900, + "ui-pos": 12, + "auth": 0, + "readonly": true, + "size": 96, + "auto": false, + "cur": "300NewTx", + "default": "300NewTx" + }, + "dev-model": { + "cat": "base", + "group": "关于", + "title": "产品系列", + "desc": "设备所属产品系列名称", + "type": "string", + "fix-id": 34901, + "ui-pos": 13, + "auth": 0, + "readonly": true, + "size": 96, + "auto": false, + "cur": "G200", + "default": "G200" + }, + "dev-sn": { + "cat": "base", + "group": "关于", + "title": "序列号", + "desc": "设备序列号", + "type": "string", + "fix-id": 34902, + "ui-pos": 14, + "auth": 0, + "readonly": true, + "size": 32, + "auto": false, + "ownread": true, + "cur": "GB20231201", + "default": "GB20231201" + }, + "fmw-ver": { + "cat": "base", + "group": "关于", + "title": "固件版本", + "desc": "设备固件版本号", + "type": "string", + "fix-id": 34903, + "ui-pos": 15, + "auth": 0, + "readonly": true, + "size": 32, + "auto": false, + "cur": "G2393B0500", + "default": "G2393B0500" + }, + "roller-life": { + "cat": "base", + "group": "关于", + "title": "滚轴寿命", + "desc": "该设备滚轴过纸的最大张数", + "type": "int", + "fix-id": 34907, + "ui-pos": 20, + "auth": 0, + "readonly": true, + "size": 4, + "auto": false, + "cur": 450000, + "default": 450000 + }, + "ip-addr": { + "cat": "base", + "group": "关于", + "title": "IP", + "desc": "设备联网时所分配的IP地址", + "type": "string", + "fix-id": 34904, + "ui-pos": 21, + "auth": 0, + "readonly": true, + "size": 96, + "auto": false, + "ownread": true, + "cur": "0", + "default": "0" + }, + "mac-addr": { + "cat": "base", + "group": "关于", + "title": "MAC", + "desc": "设备网卡地址", + "type": "string", + "fix-id": 34905, + "ui-pos": 22, + "auth": 0, + "readonly": true, + "size": 96, + "auto": false, + "ownread": true, + "cur": "0", + "default": "0" + } +} diff --git a/docs/sane-opts/user.txt b/docs/sane-opts/user.txt new file mode 100644 index 0000000..be6ac23 --- /dev/null +++ b/docs/sane-opts/user.txt @@ -0,0 +1,69 @@ +{ + "user-name": { + "cat": "none", + "group": "用户", + "title": "用户名", + "desc": "登录用户账号", + "type": "string", + "fix-id": 39173, + "ui-pos": 10, + "auth": 0, + "size": 32, + "cur": "", + "default": "" + }, + "user-pwd": { + "cat": "none", + "group": "用户", + "title": "密码", + "desc": "登录用户账号密码", + "type": "string", + "fix-id": 39174, + "ui-pos": 11, + "auth": 0, + "size": 32, + "cur": "", + "default": "" + }, + "login": { + "cat": "none", + "group": "用户", + "title": "登录", + "desc": "用户登录", + "type": "button", + "fix-id": 39168, + "ui-pos": 20, + "auth": 0, + "affect": 6, + "size": 4, + "auto": false + }, + "logout": { + "cat": "none", + "group": "用户", + "title": "注销", + "desc": "用户登出", + "type": "button", + "fix-id": 39169, + "ui-pos": 21, + "auth": 0, + "affect": 6, + "size": 4, + "auto": false + }, + "dev-sn": { + "cat": "base", + "group": "关于", + "title": "序列号", + "desc": "设备序列号", + "type": "string", + "fix-id": 34902, + "ui-pos": 14, + "pos": 100, + "auth": 0, + "size": 32, + "auto": false, + "cur": "", + "default": "" + } +} diff --git a/docs/standards/coordinate.txt b/docs/standards/coordinate.txt new file mode 100644 index 0000000..335172b --- /dev/null +++ b/docs/standards/coordinate.txt @@ -0,0 +1,7 @@ +直角坐标标准: + + 左手定则:大拇指为Y轴正向;四指为x轴正向。 + + 判定方法:左手手掌按在进纸台上,大拇指指向进纸方向。 + + 旋转角度:从x 正轴旋转到y正轴,定义为90度。 \ No newline at end of file diff --git a/docs/standards/front-back.txt b/docs/standards/front-back.txt new file mode 100644 index 0000000..5ff86d2 --- /dev/null +++ b/docs/standards/front-back.txt @@ -0,0 +1,3 @@ +正反面规定: + + 放置至少两张纸在进纸台,先扫描的那张纸所处的方向为正面。 \ No newline at end of file