【问题标题】:Movilizer Barcode Screen Trigger Ok EventMovilizer 条码屏幕触发 Ok 事件
【发布时间】:2015-04-09 11:51:26
【问题描述】:
我正在使用 QType 23 二维条码扫描:
<question key="Q1_SCREEN_SCAN" type="23" title="Bitte scannen Barcode"
<answer key="Q1_BARCODE_INPUT" attributeType="51" nextQuestionKey="Q2_EPSILON_RESULT"/>
...
使用 attributetype="51" 直接显示扫描屏幕。
扫描后是否可以触发OK?而不是在屏幕上显示 UID?
谢谢!
问候,
拉米
【问题讨论】:
标签:
barcode
scanning
mobility
movilizer
【解决方案1】:
您可以使用的可能属性类型有:
- 51 可让您立即扫描或捕获
- 52 在捕获或扫描后立即触发 OK 事件
- 53 结合了上述两种情况
所以属性类型 52 或 53 都可以解决问题
【解决方案2】:
我在https://devtools.movilizer.com/confluence/display/DOC21/Skip+take+view+in+capture+screens 找到了跳过捕获屏幕的完整示例。
它显示一个 Capture Barcode 1D 屏幕,但它也应该适用于 2D 屏幕 - 只需将 type="22" 替换为 type="23"。
所以,在你的情况下,它应该看起来像:
<!-- Skip only the take -->
<question key="Q1_SCREEN_SCAN" type="22" title="Bitte scannen Barcode"
<answer key="Q1_BARCODE_INPUT" attributeType="52" nextQuestionKey="Q2_EPSILON_RESULT"/>
...
或者喜欢:
<!-- Skip both default and take -->
<question key="Q1_SCREEN_SCAN" type="22" title="Bitte scannen Barcode"
<answer key="Q1_BARCODE_INPUT" attributeType="53" nextQuestionKey="Q2_EPSILON_RESULT"/>