Skip to content

Commit 81ef635

Browse files
SP-18211 - update models
1 parent 6b0cb90 commit 81ef635

File tree

4 files changed

+46
-218
lines changed

4 files changed

+46
-218
lines changed

src/models/chosen-document-type.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export interface ChosenDocumentType {
4545
*/
4646
'P': number;
4747
/**
48-
* true if the document of the given type is rotated by 180 degrees
48+
* Indicates if the document of the given type is rotated by 180 degrees
4949
* @type {number}
5050
* @memberof ChosenDocumentType
5151
*/

src/models/light.ts

Lines changed: 5 additions & 177 deletions
Original file line numberDiff line numberDiff line change
@@ -22,197 +22,25 @@
2222

2323
export enum Light {
2424
/**
25-
* Lighting schemes are off
25+
* No Light
2626
*/
2727
OFF = 0,
2828
/**
29-
* OVI scheme
30-
*/
31-
OVI = 1,
32-
/**
33-
* Upper/lower lighters of white light scheme
34-
*/
35-
WHITE_TOP = 2,
36-
/**
37-
* Side lighters of white light scheme
38-
*/
39-
WHITE_SIDE = 4,
40-
/**
41-
* General white light without separate control of side and upper/lower lighters scheme
42-
*/
43-
WHITE_FRONT = 8388608,
44-
/**
45-
* Upper/lower and side lighters of white light scheme
29+
* White
4630
*/
4731
WHITE = 6,
4832
/**
49-
* Upper/lower lighters of IR light scheme
50-
*/
51-
IR_TOP = 8,
52-
/**
53-
* Side lighters of IR light scheme
54-
*/
55-
IR_SIDE = 16,
56-
/**
57-
* General IR light without separate control of side and upper/lower lighters scheme
58-
*/
59-
IR_FRONT = 16777216,
60-
/**
61-
* Upper/lower and side lighters of IR light scheme
33+
* Infrared
6234
*/
6335
IR = 24,
6436
/**
65-
* general white image converted to grayscale
66-
*/
67-
WHITE_GRAY = 33554432,
68-
/**
69-
* General UV light scheme
37+
* Ultraviolet
7038
*/
7139
UV = 128,
7240
/**
73-
* OVD light for hologram visualization
74-
*/
75-
OVD = 67108864,
76-
/**
77-
* Video detection light for internal use only
78-
*/
79-
VIDEODETECTION = 134217728,
80-
/**
81-
* Light IR 870 oblique
82-
*/
83-
IR_870_OBL = 268435456,
84-
/**
85-
* IR luminescence
86-
*/
87-
IR_LUMINESCENCE = 256,
88-
/**
89-
* Left lighter of white coaxial light scheme
90-
*/
91-
AXIAL_WHITE_LEFT = 1024,
92-
/**
93-
* Right lighter of white coaxial light scheme
94-
*/
95-
AXIAL_WHITE_RIGHT = 2048,
96-
/**
97-
* Coaxial white light without separate control of left and right lighters scheme
98-
*/
99-
AXIAL_WHITE_FRONT = 512,
100-
/**
101-
* IR720
102-
*/
103-
IR_720 = 4096,
104-
/**
105-
* IR940
106-
*/
107-
IR_940 = 8192,
108-
/**
10941
* Right and left lighters of white coaxial light scheme
11042
*/
111-
AXIAL_WHITE_FULL = 3072,
112-
/**
113-
* For internal use
114-
*/
115-
RAW_DATA = 2147483648,
116-
/**
117-
* For internal use
118-
*/
119-
RAW_DATA_GRBG = 2415919104,
120-
/**
121-
* For internal use
122-
*/
123-
RAW_DATA_GBGR = 2684354560,
124-
/**
125-
* For internal use
126-
*/
127-
RAW_DATA_RGGB = 2952790016,
128-
/**
129-
* For internal use
130-
*/
131-
RAW_DATA_BGGR = 3221225472,
132-
/**
133-
* Transmitted
134-
*/
135-
TRANSMITTED = 32,
136-
/**
137-
* Transmitted IR
138-
*/
139-
TRANSMITTED_IR = 64,
140-
/**
141-
* Transmitted AntiStokes
142-
*/
143-
ANTI_STOKES = 65536,
144-
/**
145-
* Transmitted IR940
146-
*/
147-
TRANSMITTED_IR940 = 16384,
148-
/**
149-
* OVD right
150-
*/
151-
OVD_RIGHT = 262144,
152-
/**
153-
* OVD left
154-
*/
155-
OVD_LEFT = 131072,
156-
/**
157-
* IR 700
158-
*/
159-
IR_700 = 32768,
160-
/**
161-
* Front IR870 (mod. 8803)
162-
*/
163-
IR_870 = 16777216,
164-
/**
165-
* OVD light (hologram visualization) (mod. 8850)
166-
*/
167-
HOLO = 67108864,
168-
/**
169-
* For internal use
170-
*/
171-
IR_BOTTOM = 64,
172-
/**
173-
* For internal use
174-
*/
175-
WHITE_BOTTOM = 32,
176-
/**
177-
* UVС 254 (mod. 88X0)
178-
*/
179-
UVC = 524288,
180-
/**
181-
* UVB 313 (mod. 88X0)
182-
*/
183-
UVB = 1048576,
184-
/**
185-
* White oblique light
186-
*/
187-
WHITE_OBL = 2097152,
188-
/**
189-
* For internal use
190-
*/
191-
WHITE_SPECIAL = 4194304,
192-
/**
193-
* White UV
194-
*/
195-
WHITE_UV = 134,
196-
/**
197-
* White full hologram
198-
*/
199-
WHITE_FULL_HOLO = 67108870,
200-
/**
201-
* HR light
202-
*/
203-
HR_LIGHT = 1073741824,
204-
/**
205-
* HR white
206-
*/
207-
HR_WHITE = 1073741830,
208-
/**
209-
* HR UV
210-
*/
211-
HR_UV = 1073741952,
212-
/**
213-
* HR IR
214-
*/
215-
HR_IR = 1073741848
43+
AXIAL_WHITE_FULL = 3072
21644
}
21745

21846

src/models/one-candidate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export interface OneCandidate {
4545
*/
4646
'P': number;
4747
/**
48-
* true if the document of the given type is rotated by 180 degrees
48+
* Indicates if the document of the given type is rotated by 180 degrees
4949
* @type {number}
5050
* @memberof OneCandidate
5151
*/

0 commit comments

Comments
 (0)