-
Notifications
You must be signed in to change notification settings - Fork 1
/
Form1.Designer.vb
397 lines (393 loc) · 17.8 KB
/
Form1.Designer.vb
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
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class frmMain
Inherits System.Windows.Forms.Form
'Form overrides dispose to clean up the component list.
<System.Diagnostics.DebuggerNonUserCode()> _
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
Try
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
Finally
MyBase.Dispose(disposing)
End Try
End Sub
'Required by the Windows Form Designer
Private components As System.ComponentModel.IContainer
'NOTE: The following procedure is required by the Windows Form Designer
'It can be modified using the Windows Form Designer.
'Do not modify it using the code editor.
<System.Diagnostics.DebuggerStepThrough()> _
Private Sub InitializeComponent()
Me.cmbComPort = New System.Windows.Forms.ComboBox()
Me.lblComConnected = New System.Windows.Forms.Label()
Me.txtAddress = New System.Windows.Forms.TextBox()
Me.lblAddress = New System.Windows.Forms.Label()
Me.cmbStatus = New System.Windows.Forms.ComboBox()
Me.btnInsteonOn = New System.Windows.Forms.Button()
Me.btnInsteonOff = New System.Windows.Forms.Button()
Me.lblCurrentStatus = New System.Windows.Forms.Label()
Me.lblCommandSent = New System.Windows.Forms.Label()
Me.btnInsteonTempDown = New System.Windows.Forms.Button()
Me.btnInsteonTempUp = New System.Windows.Forms.Button()
Me.btnInsteonTempOff = New System.Windows.Forms.Button()
Me.btnInsteonTempAuto = New System.Windows.Forms.Button()
Me.btnInsteonTempHeat = New System.Windows.Forms.Button()
Me.btnInsteonTempCool = New System.Windows.Forms.Button()
Me.lblThermostat = New System.Windows.Forms.Label()
Me.chkInsteonTempFan = New System.Windows.Forms.CheckBox()
Me.btnInsteonAlarmOn = New System.Windows.Forms.Button()
Me.btnInsteonAlarmOff = New System.Windows.Forms.Button()
Me.lblAlarm = New System.Windows.Forms.Label()
Me.btnInsteonCheck = New System.Windows.Forms.Button()
Me.btnCheckWeather = New System.Windows.Forms.Button()
Me.txtCommandBar = New System.Windows.Forms.TextBox()
Me.lblOutsideTemp = New System.Windows.Forms.Label()
Me.lblInsideTemp = New System.Windows.Forms.Label()
Me.lblInsideTempLabel = New System.Windows.Forms.Label()
Me.lblOutsideTempLabel = New System.Windows.Forms.Label()
Me.lblOutsideCondition = New System.Windows.Forms.Label()
Me.lblInsideTemp2nd = New System.Windows.Forms.Label()
Me.SuspendLayout()
'
'cmbComPort
'
Me.cmbComPort.FormattingEnabled = True
Me.cmbComPort.Items.AddRange(New Object() {"COM1", "COM2", "COM3", "COM4", "COM5", "COM6"})
Me.cmbComPort.Location = New System.Drawing.Point(12, 12)
Me.cmbComPort.Name = "cmbComPort"
Me.cmbComPort.Size = New System.Drawing.Size(132, 21)
Me.cmbComPort.TabIndex = 30
'
'lblComConnected
'
Me.lblComConnected.AutoSize = True
Me.lblComConnected.ForeColor = System.Drawing.Color.Black
Me.lblComConnected.Location = New System.Drawing.Point(12, 36)
Me.lblComConnected.MaximumSize = New System.Drawing.Size(121, 42)
Me.lblComConnected.Name = "lblComConnected"
Me.lblComConnected.Size = New System.Drawing.Size(73, 13)
Me.lblComConnected.TabIndex = 1
Me.lblComConnected.Text = "Disconnected"
'
'txtAddress
'
Me.txtAddress.Location = New System.Drawing.Point(87, 136)
Me.txtAddress.MaxLength = 8
Me.txtAddress.Name = "txtAddress"
Me.txtAddress.Size = New System.Drawing.Size(53, 20)
Me.txtAddress.TabIndex = 4
Me.txtAddress.Text = "00.00.00"
'
'lblAddress
'
Me.lblAddress.AutoSize = True
Me.lblAddress.Location = New System.Drawing.Point(2, 139)
Me.lblAddress.Name = "lblAddress"
Me.lblAddress.Size = New System.Drawing.Size(83, 13)
Me.lblAddress.TabIndex = 3
Me.lblAddress.Text = "Insteon Address"
'
'cmbStatus
'
Me.cmbStatus.FormattingEnabled = True
Me.cmbStatus.Items.AddRange(New Object() {"Off", "Away", "Stay", "Guests"})
Me.cmbStatus.Location = New System.Drawing.Point(150, 12)
Me.cmbStatus.Name = "cmbStatus"
Me.cmbStatus.Size = New System.Drawing.Size(139, 21)
Me.cmbStatus.TabIndex = 2
'
'btnInsteonOn
'
Me.btnInsteonOn.Location = New System.Drawing.Point(146, 134)
Me.btnInsteonOn.Name = "btnInsteonOn"
Me.btnInsteonOn.Size = New System.Drawing.Size(41, 23)
Me.btnInsteonOn.TabIndex = 5
Me.btnInsteonOn.Text = "On"
Me.btnInsteonOn.UseVisualStyleBackColor = True
'
'btnInsteonOff
'
Me.btnInsteonOff.Location = New System.Drawing.Point(192, 134)
Me.btnInsteonOff.Name = "btnInsteonOff"
Me.btnInsteonOff.Size = New System.Drawing.Size(41, 23)
Me.btnInsteonOff.TabIndex = 6
Me.btnInsteonOff.Text = "Off"
Me.btnInsteonOff.UseVisualStyleBackColor = True
'
'lblCurrentStatus
'
Me.lblCurrentStatus.AutoSize = True
Me.lblCurrentStatus.Location = New System.Drawing.Point(147, 36)
Me.lblCurrentStatus.Name = "lblCurrentStatus"
Me.lblCurrentStatus.Size = New System.Drawing.Size(21, 13)
Me.lblCurrentStatus.TabIndex = 8
Me.lblCurrentStatus.Text = "Off"
'
'lblCommandSent
'
Me.lblCommandSent.AutoSize = True
Me.lblCommandSent.ForeColor = System.Drawing.Color.Red
Me.lblCommandSent.Location = New System.Drawing.Point(12, 134)
Me.lblCommandSent.MaximumSize = New System.Drawing.Size(121, 42)
Me.lblCommandSent.Name = "lblCommandSent"
Me.lblCommandSent.Size = New System.Drawing.Size(0, 13)
Me.lblCommandSent.TabIndex = 9
'
'btnInsteonTempDown
'
Me.btnInsteonTempDown.Location = New System.Drawing.Point(239, 183)
Me.btnInsteonTempDown.Name = "btnInsteonTempDown"
Me.btnInsteonTempDown.Size = New System.Drawing.Size(50, 23)
Me.btnInsteonTempDown.TabIndex = 15
Me.btnInsteonTempDown.Text = "Down"
Me.btnInsteonTempDown.UseVisualStyleBackColor = True
'
'btnInsteonTempUp
'
Me.btnInsteonTempUp.Location = New System.Drawing.Point(183, 183)
Me.btnInsteonTempUp.Name = "btnInsteonTempUp"
Me.btnInsteonTempUp.Size = New System.Drawing.Size(50, 23)
Me.btnInsteonTempUp.TabIndex = 16
Me.btnInsteonTempUp.Text = "Up"
Me.btnInsteonTempUp.UseVisualStyleBackColor = True
'
'btnInsteonTempOff
'
Me.btnInsteonTempOff.Location = New System.Drawing.Point(127, 183)
Me.btnInsteonTempOff.Name = "btnInsteonTempOff"
Me.btnInsteonTempOff.Size = New System.Drawing.Size(50, 23)
Me.btnInsteonTempOff.TabIndex = 17
Me.btnInsteonTempOff.Text = "Off"
Me.btnInsteonTempOff.UseVisualStyleBackColor = True
'
'btnInsteonTempAuto
'
Me.btnInsteonTempAuto.Location = New System.Drawing.Point(127, 212)
Me.btnInsteonTempAuto.Name = "btnInsteonTempAuto"
Me.btnInsteonTempAuto.Size = New System.Drawing.Size(50, 23)
Me.btnInsteonTempAuto.TabIndex = 18
Me.btnInsteonTempAuto.Text = "Auto"
Me.btnInsteonTempAuto.UseVisualStyleBackColor = True
'
'btnInsteonTempHeat
'
Me.btnInsteonTempHeat.Location = New System.Drawing.Point(183, 212)
Me.btnInsteonTempHeat.Name = "btnInsteonTempHeat"
Me.btnInsteonTempHeat.Size = New System.Drawing.Size(50, 23)
Me.btnInsteonTempHeat.TabIndex = 19
Me.btnInsteonTempHeat.Text = "Heat"
Me.btnInsteonTempHeat.UseVisualStyleBackColor = True
'
'btnInsteonTempCool
'
Me.btnInsteonTempCool.Location = New System.Drawing.Point(239, 212)
Me.btnInsteonTempCool.Name = "btnInsteonTempCool"
Me.btnInsteonTempCool.Size = New System.Drawing.Size(50, 23)
Me.btnInsteonTempCool.TabIndex = 20
Me.btnInsteonTempCool.Text = "Cool"
Me.btnInsteonTempCool.UseVisualStyleBackColor = True
'
'lblThermostat
'
Me.lblThermostat.AutoSize = True
Me.lblThermostat.Location = New System.Drawing.Point(157, 167)
Me.lblThermostat.Name = "lblThermostat"
Me.lblThermostat.Size = New System.Drawing.Size(101, 13)
Me.lblThermostat.TabIndex = 21
Me.lblThermostat.Text = "Thermostat Controls"
'
'chkInsteonTempFan
'
Me.chkInsteonTempFan.AutoSize = True
Me.chkInsteonTempFan.Location = New System.Drawing.Point(197, 241)
Me.chkInsteonTempFan.Name = "chkInsteonTempFan"
Me.chkInsteonTempFan.Size = New System.Drawing.Size(92, 17)
Me.chkInsteonTempFan.TabIndex = 23
Me.chkInsteonTempFan.Text = "Fan ALWAYS"
Me.chkInsteonTempFan.UseVisualStyleBackColor = True
'
'btnInsteonAlarmOn
'
Me.btnInsteonAlarmOn.Location = New System.Drawing.Point(12, 211)
Me.btnInsteonAlarmOn.Name = "btnInsteonAlarmOn"
Me.btnInsteonAlarmOn.Size = New System.Drawing.Size(50, 23)
Me.btnInsteonAlarmOn.TabIndex = 24
Me.btnInsteonAlarmOn.Text = "On"
Me.btnInsteonAlarmOn.UseVisualStyleBackColor = True
'
'btnInsteonAlarmOff
'
Me.btnInsteonAlarmOff.Location = New System.Drawing.Point(68, 211)
Me.btnInsteonAlarmOff.Name = "btnInsteonAlarmOff"
Me.btnInsteonAlarmOff.Size = New System.Drawing.Size(50, 23)
Me.btnInsteonAlarmOff.TabIndex = 25
Me.btnInsteonAlarmOff.Text = "Off"
Me.btnInsteonAlarmOff.UseVisualStyleBackColor = True
'
'lblAlarm
'
Me.lblAlarm.AutoSize = True
Me.lblAlarm.Location = New System.Drawing.Point(27, 195)
Me.lblAlarm.Name = "lblAlarm"
Me.lblAlarm.Size = New System.Drawing.Size(74, 13)
Me.lblAlarm.TabIndex = 26
Me.lblAlarm.Text = "Alarm Controls"
'
'btnInsteonCheck
'
Me.btnInsteonCheck.Location = New System.Drawing.Point(239, 134)
Me.btnInsteonCheck.Name = "btnInsteonCheck"
Me.btnInsteonCheck.Size = New System.Drawing.Size(50, 23)
Me.btnInsteonCheck.TabIndex = 27
Me.btnInsteonCheck.Text = "Check"
Me.btnInsteonCheck.UseVisualStyleBackColor = True
'
'btnCheckWeather
'
Me.btnCheckWeather.Location = New System.Drawing.Point(183, 105)
Me.btnCheckWeather.Name = "btnCheckWeather"
Me.btnCheckWeather.Size = New System.Drawing.Size(106, 23)
Me.btnCheckWeather.TabIndex = 29
Me.btnCheckWeather.Text = "Check Weather"
Me.btnCheckWeather.UseVisualStyleBackColor = True
'
'txtCommandBar
'
Me.txtCommandBar.Enabled = False
Me.txtCommandBar.Location = New System.Drawing.Point(12, 269)
Me.txtCommandBar.Name = "txtCommandBar"
Me.txtCommandBar.Size = New System.Drawing.Size(277, 20)
Me.txtCommandBar.TabIndex = 0
'
'lblOutsideTemp
'
Me.lblOutsideTemp.AutoSize = True
Me.lblOutsideTemp.Font = New System.Drawing.Font("Microsoft Sans Serif", 20.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.lblOutsideTemp.Location = New System.Drawing.Point(186, 60)
Me.lblOutsideTemp.Name = "lblOutsideTemp"
Me.lblOutsideTemp.Size = New System.Drawing.Size(68, 31)
Me.lblOutsideTemp.TabIndex = 31
Me.lblOutsideTemp.Text = "00 F"
Me.lblOutsideTemp.TextAlign = System.Drawing.ContentAlignment.TopCenter
'
'lblInsideTemp
'
Me.lblInsideTemp.AutoSize = True
Me.lblInsideTemp.Font = New System.Drawing.Font("Microsoft Sans Serif", 20.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.lblInsideTemp.Location = New System.Drawing.Point(56, 60)
Me.lblInsideTemp.Name = "lblInsideTemp"
Me.lblInsideTemp.Size = New System.Drawing.Size(68, 31)
Me.lblInsideTemp.TabIndex = 32
Me.lblInsideTemp.Text = "00 F"
Me.lblInsideTemp.TextAlign = System.Drawing.ContentAlignment.TopCenter
'
'lblInsideTempLabel
'
Me.lblInsideTempLabel.AutoSize = True
Me.lblInsideTempLabel.Location = New System.Drawing.Point(12, 66)
Me.lblInsideTempLabel.Name = "lblInsideTempLabel"
Me.lblInsideTempLabel.Size = New System.Drawing.Size(38, 13)
Me.lblInsideTempLabel.TabIndex = 33
Me.lblInsideTempLabel.Text = "Inside:"
'
'lblOutsideTempLabel
'
Me.lblOutsideTempLabel.AutoSize = True
Me.lblOutsideTempLabel.Location = New System.Drawing.Point(134, 66)
Me.lblOutsideTempLabel.Name = "lblOutsideTempLabel"
Me.lblOutsideTempLabel.Size = New System.Drawing.Size(46, 13)
Me.lblOutsideTempLabel.TabIndex = 34
Me.lblOutsideTempLabel.Text = "Outside:"
'
'lblOutsideCondition
'
Me.lblOutsideCondition.Location = New System.Drawing.Point(189, 91)
Me.lblOutsideCondition.Name = "lblOutsideCondition"
Me.lblOutsideCondition.Size = New System.Drawing.Size(100, 13)
Me.lblOutsideCondition.TabIndex = 35
Me.lblOutsideCondition.Text = "Condition"
'
'lblInsideTemp2nd
'
Me.lblInsideTemp2nd.AutoSize = True
Me.lblInsideTemp2nd.Font = New System.Drawing.Font("Microsoft Sans Serif", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.lblInsideTemp2nd.Location = New System.Drawing.Point(56, 91)
Me.lblInsideTemp2nd.Name = "lblInsideTemp2nd"
Me.lblInsideTemp2nd.Size = New System.Drawing.Size(47, 24)
Me.lblInsideTemp2nd.TabIndex = 36
Me.lblInsideTemp2nd.Text = "00 F"
Me.lblInsideTemp2nd.TextAlign = System.Drawing.ContentAlignment.TopCenter
'
'frmMain
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.ClientSize = New System.Drawing.Size(304, 301)
Me.Controls.Add(Me.lblInsideTemp2nd)
Me.Controls.Add(Me.lblOutsideCondition)
Me.Controls.Add(Me.lblOutsideTempLabel)
Me.Controls.Add(Me.lblInsideTempLabel)
Me.Controls.Add(Me.lblInsideTemp)
Me.Controls.Add(Me.lblOutsideTemp)
Me.Controls.Add(Me.txtCommandBar)
Me.Controls.Add(Me.btnCheckWeather)
Me.Controls.Add(Me.btnInsteonCheck)
Me.Controls.Add(Me.lblAlarm)
Me.Controls.Add(Me.btnInsteonAlarmOff)
Me.Controls.Add(Me.btnInsteonAlarmOn)
Me.Controls.Add(Me.chkInsteonTempFan)
Me.Controls.Add(Me.lblThermostat)
Me.Controls.Add(Me.btnInsteonTempCool)
Me.Controls.Add(Me.btnInsteonTempHeat)
Me.Controls.Add(Me.btnInsteonTempAuto)
Me.Controls.Add(Me.btnInsteonTempOff)
Me.Controls.Add(Me.btnInsteonTempUp)
Me.Controls.Add(Me.btnInsteonTempDown)
Me.Controls.Add(Me.lblCommandSent)
Me.Controls.Add(Me.lblCurrentStatus)
Me.Controls.Add(Me.btnInsteonOff)
Me.Controls.Add(Me.btnInsteonOn)
Me.Controls.Add(Me.cmbStatus)
Me.Controls.Add(Me.lblAddress)
Me.Controls.Add(Me.txtAddress)
Me.Controls.Add(Me.lblComConnected)
Me.Controls.Add(Me.cmbComPort)
Me.MaximizeBox = False
Me.MaximumSize = New System.Drawing.Size(320, 340)
Me.MinimumSize = New System.Drawing.Size(320, 340)
Me.Name = "frmMain"
Me.Text = "HA Controller"
Me.ResumeLayout(False)
Me.PerformLayout()
End Sub
Friend WithEvents cmbComPort As System.Windows.Forms.ComboBox
Friend WithEvents lblComConnected As System.Windows.Forms.Label
Friend WithEvents txtAddress As System.Windows.Forms.TextBox
Friend WithEvents lblAddress As System.Windows.Forms.Label
Friend WithEvents cmbStatus As System.Windows.Forms.ComboBox
Friend WithEvents btnInsteonOn As System.Windows.Forms.Button
Friend WithEvents btnInsteonOff As System.Windows.Forms.Button
Friend WithEvents lblCurrentStatus As System.Windows.Forms.Label
Friend WithEvents lblCommandSent As System.Windows.Forms.Label
Friend WithEvents btnInsteonTempDown As System.Windows.Forms.Button
Friend WithEvents btnInsteonTempUp As System.Windows.Forms.Button
Friend WithEvents btnInsteonTempOff As System.Windows.Forms.Button
Friend WithEvents btnInsteonTempAuto As System.Windows.Forms.Button
Friend WithEvents btnInsteonTempHeat As System.Windows.Forms.Button
Friend WithEvents btnInsteonTempCool As System.Windows.Forms.Button
Friend WithEvents lblThermostat As System.Windows.Forms.Label
Friend WithEvents chkInsteonTempFan As System.Windows.Forms.CheckBox
Friend WithEvents btnInsteonAlarmOn As System.Windows.Forms.Button
Friend WithEvents btnInsteonAlarmOff As System.Windows.Forms.Button
Friend WithEvents lblAlarm As System.Windows.Forms.Label
Friend WithEvents btnInsteonCheck As System.Windows.Forms.Button
Friend WithEvents btnCheckWeather As System.Windows.Forms.Button
Friend WithEvents txtCommandBar As System.Windows.Forms.TextBox
Friend WithEvents lblOutsideTemp As System.Windows.Forms.Label
Friend WithEvents lblInsideTemp As System.Windows.Forms.Label
Friend WithEvents lblInsideTempLabel As System.Windows.Forms.Label
Friend WithEvents lblOutsideTempLabel As System.Windows.Forms.Label
Friend WithEvents lblOutsideCondition As System.Windows.Forms.Label
Friend WithEvents lblInsideTemp2nd As Label
End Class