-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmainunit.lfm
212 lines (212 loc) · 3.79 KB
/
mainunit.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
object MainForm: TMainForm
Left = 845
Height = 416
Top = 345
Width = 619
ActiveControl = BtnTransmit
Caption = 'SocketCanDemo'
ClientHeight = 416
ClientWidth = 619
OnCreate = FormCreate
LCLVersion = '2.0.12.0'
object GbxConnection: TGroupBox
Left = 0
Height = 80
Top = 0
Width = 619
Align = alTop
Caption = 'Connection'
ClientHeight = 62
ClientWidth = 617
TabOrder = 0
object CbbDevices: TComboBox
Left = 16
Height = 31
Top = 16
Width = 88
ItemHeight = 0
Style = csDropDownList
TabOrder = 0
end
object BtnConnect: TButton
Left = 112
Height = 28
Top = 16
Width = 96
Caption = 'Connect'
OnClick = BtnConnectClick
TabOrder = 1
end
end
object GbxTransmit: TGroupBox
Left = 0
Height = 80
Top = 80
Width = 619
Align = alTop
Caption = 'Transmission'
ClientHeight = 62
ClientWidth = 617
TabOrder = 1
object BtnTransmit: TButton
Left = 504
Height = 28
Top = 16
Width = 96
Caption = 'Transmit'
OnClick = BtnTransmitClick
TabOrder = 10
end
object LblId: TLabel
Left = 16
Height = 17
Top = 20
Width = 12
Caption = 'Id'
ParentColor = False
end
object EdtId: TEdit
Left = 40
Height = 29
Top = 16
Width = 40
MaxLength = 3
TabOrder = 0
Text = '23E'
end
object CbbLen: TComboBox
Left = 128
Height = 27
Top = 16
Width = 48
ItemHeight = 0
ItemIndex = 8
Items.Strings = (
'0'
'1'
'2'
'3'
'4'
'5'
'6'
'7'
'8'
)
Style = csDropDownList
TabOrder = 1
Text = '8'
end
object LblLen: TLabel
Left = 96
Height = 17
Top = 20
Width = 22
Caption = 'Len'
ParentColor = False
end
object LblData: TLabel
Left = 192
Height = 17
Top = 20
Width = 28
Caption = 'Data'
ParentColor = False
end
object EdtData0: TEdit
Left = 232
Height = 29
Top = 16
Width = 32
MaxLength = 2
TabOrder = 2
Text = 'AA'
end
object EdtData1: TEdit
Left = 264
Height = 29
Top = 16
Width = 32
MaxLength = 2
TabOrder = 3
Text = '55'
end
object EdtData2: TEdit
Left = 296
Height = 29
Top = 16
Width = 32
MaxLength = 2
TabOrder = 4
Text = '00'
end
object EdtData3: TEdit
Left = 328
Height = 29
Top = 16
Width = 32
MaxLength = 2
TabOrder = 5
Text = 'FF'
end
object EdtData4: TEdit
Left = 360
Height = 29
Top = 16
Width = 32
MaxLength = 2
TabOrder = 6
Text = '01'
end
object EdtData5: TEdit
Left = 392
Height = 29
Top = 16
Width = 32
MaxLength = 2
TabOrder = 7
Text = '02'
end
object EdtData6: TEdit
Left = 424
Height = 29
Top = 16
Width = 32
MaxLength = 2
TabOrder = 8
Text = '03'
end
object EdtData7: TEdit
Left = 456
Height = 29
Top = 16
Width = 32
MaxLength = 2
TabOrder = 9
Text = '04'
end
end
object GbxLog: TGroupBox
Left = 0
Height = 256
Top = 160
Width = 619
Align = alClient
Caption = 'Log'
ClientHeight = 238
ClientWidth = 617
TabOrder = 2
object MmoLog: TMemo
Left = 0
Height = 238
Top = 0
Width = 617
Align = alClient
Font.Height = -13
Font.Name = 'Monospace'
ParentFont = False
ReadOnly = True
ScrollBars = ssAutoVertical
TabOrder = 0
end
end
end