-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathunit1.lfm
241 lines (241 loc) · 4.56 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
object Form1: TForm1
Left = 329
Height = 570
Top = 125
Width = 737
Caption = 'Form1'
ClientHeight = 570
ClientWidth = 737
OnCloseQuery = FormCloseQuery
OnCreate = FormCreate
OnShow = FormShow
Position = poScreenCenter
SessionProperties = 'ComboBox1.Text;ComboBox2.Text;ComboBox3.Text;ComboBox4.Text;Edit1.Text'
LCLVersion = '2.3.0.0'
object Memo1: TMemo
Left = 8
Height = 450
Top = 72
Width = 720
Anchors = [akTop, akLeft, akRight, akBottom]
Lines.Strings = (
'Memo1'
)
ScrollBars = ssAutoBoth
TabOrder = 0
end
object ComboBox1: TComboBox
Left = 8
Height = 23
Top = 24
Width = 56
ItemHeight = 15
ItemIndex = 0
Items.Strings = (
'TCP'
'RTU'
)
OnChange = ComboBox1Change
Style = csDropDownList
TabOrder = 1
Text = 'TCP'
end
object Mode: TLabel
Left = 8
Height = 15
Top = 4
Width = 31
Caption = 'Mode'
end
object Edit1: TEdit
Left = 72
Height = 23
Top = 24
Width = 160
TabOrder = 2
Text = 'Edit1'
end
object Label1: TLabel
Left = 72
Height = 15
Top = 4
Width = 22
Caption = 'Port'
end
object Button1: TButton
Left = 368
Height = 53
Top = 8
Width = 51
Caption = 'Listen'
OnClick = Button1Click
TabOrder = 3
end
object Button2: TButton
Left = 424
Height = 53
Top = 8
Width = 75
Caption = 'Disconnect'
OnClick = Button2Click
TabOrder = 4
end
object Button3: TButton
Left = 587
Height = 25
Top = 36
Width = 141
Caption = 'Save Registerdump'
OnClick = Button3Click
TabOrder = 5
end
object Button4: TButton
Left = 587
Height = 25
Top = 8
Width = 141
Caption = 'Load Registerdump'
OnClick = Button4Click
TabOrder = 6
end
object Button5: TButton
Left = 8
Height = 25
Top = 536
Width = 75
Anchors = [akLeft, akBottom]
Caption = 'Clear log'
OnClick = Button5Click
TabOrder = 7
end
object Button6: TButton
Left = 653
Height = 25
Top = 536
Width = 75
Anchors = [akRight, akBottom]
Caption = 'Close'
OnClick = Button6Click
TabOrder = 8
end
object Button7: TButton
Left = 571
Height = 25
Top = 536
Width = 75
Anchors = [akRight, akBottom]
Caption = 'Help'
OnClick = Button7Click
TabOrder = 9
end
object Button8: TButton
Left = 504
Height = 53
Top = 8
Width = 75
Caption = 'Registers'
OnClick = Button8Click
TabOrder = 10
end
object ComboBox2: TComboBox
Left = 72
Height = 23
Top = 21
Width = 132
ItemHeight = 15
Style = csDropDownList
TabOrder = 11
Visible = False
end
object Button9: TButton
Left = 208
Height = 25
Top = 24
Width = 25
Caption = 'R'
OnClick = Button9Click
TabOrder = 12
Visible = False
end
object ComboBox3: TComboBox
Left = 280
Height = 23
Top = 8
Width = 80
ItemHeight = 15
ItemIndex = 0
Items.Strings = (
'9600'
'19200'
'38400'
)
Style = csDropDownList
TabOrder = 13
Text = '9600'
Visible = False
end
object Label2: TLabel
Left = 240
Height = 15
Top = 16
Width = 27
Caption = 'Baud'
Visible = False
end
object Label3: TLabel
Left = 240
Height = 15
Top = 48
Width = 30
Caption = 'Parity'
Visible = False
end
object ComboBox4: TComboBox
Left = 280
Height = 23
Top = 40
Width = 80
ItemHeight = 15
ItemIndex = 0
Items.Strings = (
'None'
'Odd'
'Even'
)
Style = csDropDownList
TabOrder = 14
Text = 'None'
Visible = False
end
object LTCPComponent1: TLTCPComponent
Port = 0
OnError = LTCPComponent1Error
Timeout = 0
ReuseAddress = True
Left = 296
Top = 128
end
object SaveDialog1: TSaveDialog
DefaultExt = '.mrd'
Filter = 'ModbusRegisterDump|*.mrd|All|*.*'
Left = 592
Top = 88
end
object OpenDialog1: TOpenDialog
DefaultExt = '.mrd'
Filter = 'ModbusRegisterDump|*.mrd|All|*.*'
Left = 592
Top = 144
end
object Timer1: TTimer
OnTimer = Timer1Timer
Left = 80
Top = 112
end
object IniPropStorage1: TIniPropStorage
StoredValues = <>
IniFileName = 'settings.ini'
Left = 120
Top = 216
end
end