-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathunit1.lfm
More file actions
302 lines (302 loc) · 5.95 KB
/
unit1.lfm
File metadata and controls
302 lines (302 loc) · 5.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
object Form1: TForm1
Left = 300
Height = 509
Top = 118
Width = 529
Caption = 'Form1'
ClientHeight = 509
ClientWidth = 529
OnClose = FormClose
OnCreate = FormCreate
Position = poScreenCenter
LCLVersion = '2.3.0.0'
object Label1: TLabel
Left = 8
Height = 16
Top = 9
Width = 40
Caption = 'Input ('
ParentColor = False
end
object Edit1: TEdit
Left = 8
Height = 26
Top = 32
Width = 512
OnKeyPress = Edit1KeyPress
TabOrder = 0
Text = 'Edit1'
end
object CheckBox1: TCheckBox
Left = 48
Height = 22
Top = 8
Width = 65
Caption = 'in Hex)'
TabOrder = 1
end
object CheckBox2: TCheckBox
Left = 425
Height = 22
Top = 9
Width = 102
Caption = 'Input is a file'
TabOrder = 2
end
object GroupBox1: TGroupBox
Left = 8
Height = 323
Top = 64
Width = 512
Caption = ' CRC Settings '
ClientHeight = 306
ClientWidth = 510
TabOrder = 3
object Label2: TLabel
Left = 8
Height = 16
Top = 111
Width = 72
Caption = 'Start value ('
ParentColor = False
end
object CheckBox3: TCheckBox
Left = 86
Height = 22
Top = 109
Width = 65
Caption = 'in Hex)'
TabOrder = 0
end
object Edit2: TEdit
Left = 8
Height = 26
Top = 134
Width = 489
TabOrder = 1
Text = 'Edit2'
end
object Label3: TLabel
Left = 8
Height = 16
Top = 167
Width = 125
Caption = 'Generator polynom ('
ParentColor = False
end
object CheckBox4: TCheckBox
Left = 142
Height = 22
Top = 165
Width = 65
Caption = 'in Hex)'
OnChange = UpdateGenPols
TabOrder = 2
end
object ComboBox1: TComboBox
Left = 8
Height = 28
Top = 190
Width = 489
ItemHeight = 0
TabOrder = 3
Text = 'ComboBox1'
end
object Label4: TLabel
Left = 8
Height = 16
Top = 86
Width = 35
Caption = 'Order'
ParentColor = False
end
object ComboBox2: TComboBox
Left = 108
Height = 30
Top = 77
Width = 389
ItemHeight = 0
OnChange = ComboBox2Change
Style = csDropDownList
TabOrder = 4
end
object CheckBox6: TCheckBox
Left = 8
Height = 22
Top = 222
Width = 134
Caption = 'reverse data bytes'
TabOrder = 5
end
object CheckBox7: TCheckBox
Left = 158
Height = 22
Top = 221
Width = 230
Caption = 'reverse CRC result befor Final XOR'
TabOrder = 6
end
object Label7: TLabel
Left = 8
Height = 16
Top = 246
Width = 96
Caption = 'Final Xor value ('
ParentColor = False
end
object CheckBox8: TCheckBox
Left = 110
Height = 22
Top = 245
Width = 65
Caption = 'in Hex)'
TabOrder = 7
end
object Edit4: TEdit
Left = 8
Height = 26
Top = 270
Width = 489
TabOrder = 8
Text = 'Edit4'
end
object CheckBox9: TCheckBox
Left = 158
Height = 22
Top = 109
Width = 137
Caption = 'start value is direct'
TabOrder = 9
end
object Button6: TButton
Left = 406
Height = 19
Top = 111
Width = 91
Caption = 'toggle direkt'
OnClick = Button6Click
TabOrder = 10
end
object Label8: TLabel
Left = 8
Height = 16
Top = 8
Width = 39
Caption = 'Model'
ParentColor = False
end
object ComboBox3: TComboBox
Left = 54
Height = 30
Top = 0
Width = 347
ItemHeight = 0
Style = csDropDownList
TabOrder = 11
end
object Button7: TButton
Left = 409
Height = 25
Top = 0
Width = 88
Caption = 'load model'
OnClick = Button7Click
TabOrder = 12
end
object Panel1: TPanel
Left = 8
Height = 3
Top = 72
Width = 488
BevelInner = bvLowered
BevelOuter = bvLowered
Caption = 'Panel1'
TabOrder = 13
end
object Button3: TButton
Left = 231
Height = 25
Top = 40
Width = 169
Caption = 'Add actual settings as model'
OnClick = Button3Click
TabOrder = 14
end
object Button4: TButton
Left = 54
Height = 25
Top = 40
Width = 169
Caption = 'Del model'
OnClick = Button4Click
TabOrder = 15
end
end
object Button1: TButton
Left = 8
Height = 25
Top = 395
Width = 512
Caption = 'Calculate CRC'
OnClick = Button1Click
TabOrder = 4
end
object Label5: TLabel
Left = 8
Height = 16
Top = 425
Width = 45
Caption = 'Result ('
ParentColor = False
end
object Label6: TLabel
Left = 304
Height = 16
Top = 424
Width = 237
Caption = 'result is from "High" byte to "Low" byte'
ParentColor = False
end
object Edit3: TEdit
Left = 8
Height = 26
Top = 444
Width = 512
ReadOnly = True
TabOrder = 5
Text = 'Edit3'
end
object Button2: TButton
Left = 8
Height = 25
Top = 475
Width = 512
Caption = 'Close'
OnClick = Button2Click
TabOrder = 6
end
object CheckBox5: TCheckBox
Left = 56
Height = 22
Top = 424
Width = 65
Caption = 'in Hex)'
OnClick = CheckBox5Click
TabOrder = 7
end
object CheckBox10: TCheckBox
Left = 128
Height = 22
Top = 424
Width = 131
Caption = 'reverse byteorder'
OnClick = CheckBox10Click
TabOrder = 8
end
object OpenDialog1: TOpenDialog
DefaultExt = '.*'
Filter = 'All|*.*'
Left = 174
Top = 11
end
end