-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathunit1.lfm
341 lines (341 loc) · 8.94 KB
/
unit1.lfm
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
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
object Form1: TForm1
Left = -10
Height = 167
Top = 309
Width = 671
AlphaBlend = True
AlphaBlendValue = 140
Anchors = []
Caption = 'EyeWheels'
ClientHeight = 167
ClientWidth = 671
DesignTimePPI = 144
Font.CharSet = ANSI_CHARSET
Font.Color = clBlack
Font.Height = -40
Font.Name = 'Tahoma'
Font.Pitch = fpVariable
Font.Quality = fqDraft
OnCreate = FormCreate
OnResize = FormResize
LCLVersion = '2.0.2.0'
object GroupBox1: TGroupBox
AnchorSideLeft.Control = UpDown1
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = Owner
AnchorSideRight.Control = DurationSlider
AnchorSideBottom.Control = Owner
AnchorSideBottom.Side = asrBottom
Left = 118
Height = 167
Top = 0
Width = 433
Anchors = [akTop, akLeft, akRight, akBottom]
ClientHeight = 114
ClientWidth = 429
Color = clSilver
Font.CharSet = ANSI_CHARSET
Font.Color = clBlack
Font.Height = -40
Font.Name = 'Tahoma'
Font.Pitch = fpVariable
Font.Quality = fqDraft
ParentColor = False
ParentFont = False
TabOrder = 2
OnClick = GroupBox1Click
object ForwardTB: TButton
AnchorSideLeft.Control = LeftTB
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = GroupBox1
AnchorSideRight.Control = RightTB
Left = 360
Height = 0
Top = 0
Width = 0
Anchors = [akTop, akLeft, akRight, akBottom]
Caption = 'ForwardTB'
Font.CharSet = ANSI_CHARSET
Font.Color = clBlack
Font.Height = -40
Font.Name = 'Tahoma'
Font.Pitch = fpVariable
Font.Quality = fqDraft
OnClick = ForwardTBClick
ParentFont = False
TabOrder = 0
end
object FwdLeftTB: TButton
AnchorSideLeft.Control = GroupBox1
AnchorSideTop.Control = ForwardTB
AnchorSideRight.Control = NopTB
AnchorSideBottom.Control = NopTB
Left = 0
Height = 0
Top = 0
Width = 360
Anchors = [akTop, akLeft, akRight, akBottom]
Caption = 'FwdLeftTB'
Font.CharSet = ANSI_CHARSET
Font.Color = clBlack
Font.Height = -40
Font.Name = 'Tahoma'
Font.Pitch = fpVariable
Font.Quality = fqDraft
OnClick = FwdLeftTBClick
ParentFont = False
TabOrder = 1
end
object LeftTB: TButton
AnchorSideLeft.Control = GroupBox1
AnchorSideTop.Control = ForwardTB
AnchorSideTop.Side = asrBottom
AnchorSideBottom.Control = BackwardsTB
Left = 0
Height = 0
Top = 0
Width = 360
Anchors = [akTop, akLeft, akBottom]
Caption = 'LeftTB'
Font.CharSet = ANSI_CHARSET
Font.Color = clBlack
Font.Height = -40
Font.Name = 'Tahoma'
Font.Pitch = fpVariable
Font.Quality = fqDraft
OnClick = LeftTBClick
ParentFont = False
TabOrder = 2
end
object NopTB: TButton
AnchorSideLeft.Control = LeftTB
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = ForwardTB
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = RightTB
AnchorSideBottom.Control = BackwardsTB
Left = 360
Height = 0
Top = 0
Width = 0
Anchors = [akTop, akLeft, akRight, akBottom]
Caption = 'NopTB'
Font.CharSet = ANSI_CHARSET
Font.Color = clBlack
Font.Height = -40
Font.Name = 'Tahoma'
Font.Pitch = fpVariable
Font.Quality = fqDraft
ParentFont = False
TabOrder = 3
end
object RightTB: TButton
AnchorSideLeft.Control = NopTB
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = ForwardTB
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = GroupBox1
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = BackwardsTB
Left = 1
Height = 0
Top = 0
Width = 428
Anchors = [akTop, akRight, akBottom]
Caption = 'RightTB'
Font.CharSet = ANSI_CHARSET
Font.Color = clBlack
Font.Height = -40
Font.Name = 'Tahoma'
Font.Pitch = fpVariable
Font.Quality = fqDraft
OnClick = RightTBClick
ParentFont = False
TabOrder = 4
end
object Stop1TB: TButton
AnchorSideLeft.Control = NopTB
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = NopTB
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = GroupBox1
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = GroupBox1
AnchorSideBottom.Side = asrBottom
Left = 360
Height = 114
Top = 0
Width = 69
Anchors = [akTop, akLeft, akRight, akBottom]
Caption = 'Stop1TB'
Font.CharSet = ANSI_CHARSET
Font.Color = clBlack
Font.Height = -40
Font.Name = 'Tahoma'
Font.Pitch = fpVariable
Font.Quality = fqDraft
OnClick = Stop1TBClick
ParentFont = False
TabOrder = 5
end
object BackwardsTB: TButton
AnchorSideLeft.Control = LeftTB
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = NopTB
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = RightTB
AnchorSideBottom.Control = GroupBox1
AnchorSideBottom.Side = asrBottom
Left = 360
Height = 251
Top = -137
Width = 0
Anchors = [akLeft, akRight, akBottom]
Caption = 'BackwardsTB'
Font.CharSet = ANSI_CHARSET
Font.Color = clBlack
Font.Height = -40
Font.Name = 'Tahoma'
Font.Pitch = fpVariable
Font.Quality = fqDraft
OnClick = BackwardsTBClick
ParentFont = False
TabOrder = 6
end
object StopTB: TButton
AnchorSideLeft.Control = GroupBox1
AnchorSideTop.Control = NopTB
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = NopTB
AnchorSideBottom.Control = GroupBox1
AnchorSideBottom.Side = asrBottom
Left = 0
Height = 114
Top = 0
Width = 360
Anchors = [akTop, akLeft, akRight, akBottom]
Caption = 'StopTB'
Font.CharSet = ANSI_CHARSET
Font.Color = clBlack
Font.Height = -40
Font.Name = 'Tahoma'
Font.Pitch = fpVariable
Font.Quality = fqDraft
OnClick = StopTBClick
ParentFont = False
TabOrder = 7
end
object FwdRightTB: TButton
AnchorSideLeft.Control = NopTB
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = GroupBox1
AnchorSideRight.Control = GroupBox1
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = NopTB
Left = 360
Height = 0
Top = 0
Width = 69
Anchors = [akTop, akLeft, akRight, akBottom]
Caption = 'FwdRightTB'
Font.CharSet = ANSI_CHARSET
Font.Color = clBlack
Font.Height = -40
Font.Name = 'Tahoma'
Font.Pitch = fpVariable
Font.Quality = fqDraft
OnClick = FwdRightTBClick
ParentFont = False
TabOrder = 8
end
end
object PortEdit: TEdit
AnchorSideLeft.Control = Owner
AnchorSideTop.Control = Owner
AnchorSideRight.Control = GroupBox1
Left = 0
Height = 53
Top = 0
Width = 118
Anchors = [akTop, akLeft, akRight]
AutoSize = False
Font.CharSet = ANSI_CHARSET
Font.Color = clBlack
Font.Height = -40
Font.Name = 'Tahoma'
Font.Pitch = fpVariable
Font.Quality = fqDraft
OnChange = PortEditChange
ParentFont = False
TabOrder = 0
Text = 'COM5'
end
object UpDown1: TUpDown
AnchorSideLeft.Control = Owner
AnchorSideTop.Control = Label1
AnchorSideTop.Side = asrBottom
AnchorSideBottom.Control = Owner
AnchorSideBottom.Side = asrBottom
Left = 0
Height = 202
Top = -35
Width = 118
Anchors = [akLeft, akBottom]
Max = 4
Min = 0
OnClick = UpDown1Click
Position = 0
TabOrder = 1
end
object Label1: TLabel
AnchorSideLeft.Control = Owner
AnchorSideTop.Control = PortEdit
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = GroupBox1
AnchorSideBottom.Control = UpDown1
Left = 10
Height = 68
Top = -113
Width = 98
Anchors = [akLeft, akRight, akBottom]
AutoSize = False
BorderSpacing.Around = 10
Caption = 'speed'
Font.CharSet = ANSI_CHARSET
Font.Color = clBlack
Font.Height = -40
Font.Name = 'Tahoma'
Font.Pitch = fpVariable
Font.Quality = fqDraft
ParentColor = False
ParentFont = False
end
object DurationSlider: TTrackBar
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = Owner
AnchorSideRight.Control = Owner
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = Owner
AnchorSideBottom.Side = asrBottom
Left = 551
Height = 167
Top = 0
Width = 120
LineSize = 50
Max = 8000
Min = 50
OnChange = DurationSliderChange
Orientation = trVertical
Position = 1000
ScalePos = trRight
Anchors = [akTop, akRight, akBottom]
Font.CharSet = ANSI_CHARSET
Font.Color = clBlack
Font.Height = -40
Font.Name = 'Tahoma'
Font.Pitch = fpVariable
Font.Quality = fqDraft
ParentFont = False
TabOrder = 3
end
end