fix: correct region mapping (swap left/right, swap middle/bottom) and auto-scan proceeds on timeout
Region name mapping corrected to match actual hardware IO positions: - 0x01: 左区→右区, 0x02: 右区→左区 - 0x08: 下区→中区, 0x10: 中区→下区 Auto-scan no longer shows timeout error, proceeds to next step instead.
这个提交包含在:
@@ -20,7 +20,7 @@ Page({
|
||||
},
|
||||
|
||||
_getRegionText: function (regionMask) {
|
||||
var REGION_MAP = {1:'左区', 2:'右区', 4:'上区', 8:'下区', 16:'中区', 32:'左上区', 64:'右上区'}
|
||||
var REGION_MAP = {1:'右区', 2:'左区', 4:'上区', 8:'中区', 16:'下区', 32:'左上区', 64:'右上区'}
|
||||
if (regionMask === 0x7F) return '全区域'
|
||||
var names = []
|
||||
for (var bit in REGION_MAP) {
|
||||
|
||||
在新工单中引用
屏蔽一个用户