-
Notifications
You must be signed in to change notification settings - Fork 2
/
unit1.lfm
227 lines (227 loc) · 4.12 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
object Form1: TForm1
Left = 363
Height = 430
Top = 117
Width = 796
Caption = 'Form1'
ClientHeight = 430
ClientWidth = 796
OnCloseQuery = FormCloseQuery
OnCreate = FormCreate
Position = poScreenCenter
LCLVersion = '2.3.0.0'
object Label1: TLabel
Left = 8
Height = 16
Top = 16
Width = 12
Caption = 'IP'
end
object Edit1: TEdit
Left = 64
Height = 26
Top = 6
Width = 168
TabOrder = 0
Text = 'Edit1'
end
object Label2: TLabel
Left = 8
Height = 16
Top = 40
Width = 26
Caption = 'Port'
end
object Edit2: TEdit
Left = 64
Height = 26
Top = 32
Width = 168
TabOrder = 1
Text = 'Edit2'
end
object Button1: TButton
Left = 240
Height = 50
Top = 6
Width = 75
Caption = 'Connect'
OnClick = Button1Click
TabOrder = 2
end
object Button2: TButton
Left = 8
Height = 25
Top = 64
Width = 307
Caption = 'Send MQTT connect'
OnClick = Button2Click
TabOrder = 3
end
object Memo1: TMemo
Left = 320
Height = 385
Top = 8
Width = 470
Anchors = [akTop, akLeft, akRight, akBottom]
Font.Name = 'Courier New'
Lines.Strings = (
'Memo1'
)
ParentFont = False
ScrollBars = ssAutoBoth
TabOrder = 4
WordWrap = False
end
object Button3: TButton
Left = 320
Height = 25
Top = 400
Width = 75
Anchors = [akLeft, akBottom]
Caption = 'Clear'
OnClick = Button3Click
TabOrder = 5
end
object Button4: TButton
Left = 8
Height = 25
Top = 288
Width = 307
Caption = 'Publish'
OnClick = Button4Click
TabOrder = 6
end
object Button5: TButton
Left = 8
Height = 25
Top = 368
Width = 307
Caption = 'Disconnect'
OnClick = Button5Click
TabOrder = 7
end
object Label3: TLabel
Left = 8
Height = 16
Top = 202
Width = 68
Caption = 'Topic name'
end
object Edit3: TEdit
Left = 88
Height = 26
Top = 192
Width = 227
TabOrder = 8
Text = 'Edit3'
end
object Label4: TLabel
Left = 8
Height = 16
Top = 234
Width = 55
Caption = 'Packet Id'
end
object Edit4: TEdit
Left = 88
Height = 26
Top = 224
Width = 80
TabOrder = 9
Text = 'Edit4'
end
object Label5: TLabel
Left = 8
Height = 16
Top = 266
Width = 49
Caption = 'Payload'
end
object Edit5: TEdit
Left = 88
Height = 26
Top = 256
Width = 227
TabOrder = 10
Text = 'Edit5'
end
object Button6: TButton
Left = 8
Height = 25
Top = 400
Width = 307
Caption = 'Close'
OnClick = Button6Click
TabOrder = 11
end
object CheckBox1: TCheckBox
Left = 88
Height = 22
Top = 102
Width = 78
Caption = 'DUP flag'
TabOrder = 12
end
object RadioGroup1: TRadioGroup
Left = 88
Height = 33
Top = 128
Width = 227
AutoFill = True
Caption = ' QoS '
ChildSizing.LeftRightSpacing = 6
ChildSizing.EnlargeHorizontal = crsHomogenousChildResize
ChildSizing.EnlargeVertical = crsHomogenousChildResize
ChildSizing.ShrinkHorizontal = crsScaleChilds
ChildSizing.ShrinkVertical = crsScaleChilds
ChildSizing.Layout = cclLeftToRightThenTopToBottom
ChildSizing.ControlsPerLine = 3
ClientHeight = 16
ClientWidth = 225
Columns = 3
ItemIndex = 1
Items.Strings = (
'0'
'1'
'2'
)
TabOrder = 13
end
object CheckBox2: TCheckBox
Left = 88
Height = 22
Top = 168
Width = 62
Caption = 'Retain'
TabOrder = 14
end
object Button7: TButton
Left = 8
Height = 25
Top = 328
Width = 307
Caption = 'Send Ping'
OnClick = Button7Click
TabOrder = 15
end
object CheckBox3: TCheckBox
Left = 408
Height = 22
Top = 400
Width = 141
Anchors = [akLeft, akBottom]
Caption = 'Include timestamps'
TabOrder = 16
end
object LTCPComponent1: TLTCPComponent
Port = 0
OnReceive = LTCPComponent1Receive
OnError = LTCPComponent1Error
OnDisconnect = LTCPComponent1Disconnect
Timeout = 0
ReuseAddress = False
Left = 544
Top = 184
end
end