@@ -11,34 +11,7 @@ export default {
11
11
"y" : 0
12
12
}
13
13
} ,
14
- "defaultOrientation" : "landscape" ,
15
- "instruction" : {
16
- "text" : "Please make sure the entire DOT number is inside the cutout." ,
17
- } ,
18
- "feedback" : {
19
- "format" : {
20
- "text" : "Wrong format detected" ,
21
- "image" : "ic_wrong_format"
22
- } ,
23
- "brightness" : {
24
- "too_high" : {
25
- "text" : "Too bright" ,
26
- "image" : "ic_too_bright"
27
- } ,
28
- "too_low" : {
29
- "text" : "Too dark" ,
30
- "image" : "ic_too_dark"
31
- }
32
- } ,
33
- "distance" : {
34
- "text" : "Position cutout correctly" ,
35
- "image" : "ic_move_back"
36
- } ,
37
- "sound" : "info_sound_TIN.wav"
38
- } ,
39
- "imageCutout" : {
40
- "image" : "dot_overlay"
41
- }
14
+ "defaultOrientation" : "landscape"
42
15
} ,
43
16
"cameraConfig" : {
44
17
"captureResolution" : "1080p" ,
@@ -83,6 +56,87 @@ export default {
83
56
"beepOnResult" : true ,
84
57
"vibrateOnResult" : false ,
85
58
"strokeWidth" : 2
59
+ } ,
60
+ "uiFeedbackConfig" : {
61
+ "presets" : [
62
+ {
63
+ "presetName" : "tin_custom_v1" ,
64
+ "presetAttributes" : [
65
+ {
66
+ "attributeName" : "lighting_toodark_image" ,
67
+ "attributeValue" : "uifeedback_tin_toodark"
68
+ } ,
69
+ {
70
+ "attributeName" : "lighting_toobright_image" ,
71
+ "attributeValue" : "uifeedback_tin_toobright"
72
+ } ,
73
+ {
74
+ "attributeName" : "distance_moveback_image" ,
75
+ "attributeValue" : "uifeedback_tin_moveback"
76
+ } ,
77
+ {
78
+ "attributeName" : "distance_movecloser_image" ,
79
+ "attributeValue" : "uifeedback_tin_movecloser"
80
+ } ,
81
+ {
82
+ "attributeName" : "format_wrong_image" ,
83
+ "attributeValue" : "uifeedback_tin_wrongformat"
84
+ } ,
85
+ {
86
+ "attributeName" : "date_wrong_image" ,
87
+ "attributeValue" : "uifeedback_tin_wrongformat"
88
+ } ,
89
+ {
90
+ "attributeName" : "lighting_toodark_text" ,
91
+ "attributeValue" : ""
92
+ } ,
93
+ {
94
+ "attributeName" : "lighting_toobright_text" ,
95
+ "attributeValue" : ""
96
+ } ,
97
+ {
98
+ "attributeName" : "distance_moveback_text" ,
99
+ "attributeValue" : ""
100
+ } ,
101
+ {
102
+ "attributeName" : "distance_movecloser_text" ,
103
+ "attributeValue" : ""
104
+ } ,
105
+ {
106
+ "attributeName" : "format_wrong_text" ,
107
+ "attributeValue" : ""
108
+ } ,
109
+ {
110
+ "attributeName" : "date_wrong_text" ,
111
+ "attributeValue" : ""
112
+ } ,
113
+ {
114
+ "attributeName" : "lighting_toodark_sound" ,
115
+ "attributeValue" : "info_sound_TIN.wav"
116
+ } ,
117
+ {
118
+ "attributeName" : "lighting_toobright_sound" ,
119
+ "attributeValue" : "info_sound_TIN.wav"
120
+ } ,
121
+ {
122
+ "attributeName" : "distance_moveback_sound" ,
123
+ "attributeValue" : "info_sound_TIN.wav"
124
+ } ,
125
+ {
126
+ "attributeName" : "distance_movecloser_sound" ,
127
+ "attributeValue" : "info_sound_TIN.wav"
128
+ } ,
129
+ {
130
+ "attributeName" : "format_wrong_sound" ,
131
+ "attributeValue" : "info_sound_TIN.wav"
132
+ } ,
133
+ {
134
+ "attributeName" : "date_wrong_sound" ,
135
+ "attributeValue" : "info_sound_TIN.wav"
136
+ }
137
+ ]
138
+ }
139
+ ]
86
140
}
87
141
}
88
142
}
0 commit comments