-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathPowerMonitor.Window.dfm
354 lines (354 loc) · 8.75 KB
/
PowerMonitor.Window.dfm
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
object PowerMonitorWindow: TPowerMonitorWindow
AlignWithMargins = True
Left = 0
Top = 0
AutoSize = True
BorderIcons = [biSystemMenu, biMinimize]
BorderStyle = bsSingle
Caption = 'PowerMonitor'
ClientHeight = 563
ClientWidth = 449
Color = clBtnFace
Constraints.MaxHeight = 630
Constraints.MaxWidth = 465
DefaultMonitor = dmPrimary
Font.Charset = RUSSIAN_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = 'Segoe UI'
Font.Style = []
Menu = MainMenu
Position = poScreenCenter
Visible = True
OnAfterMonitorDpiChanged = FormAfterMonitorDpiChanged
OnBeforeMonitorDpiChanged = FormBeforeMonitorDpiChanged
OnClose = FormClose
OnCreate = FormCreate
OnDestroy = FormDestroy
TextHeight = 15
object TabControl: TTabControl
AlignWithMargins = True
Left = 3
Top = 3
Width = 452
Height = 558
Margins.Right = 1
Margins.Bottom = 2
TabOrder = 0
OnChange = TabControlChange
object GroupBoxBattery: TGroupBox
AlignWithMargins = True
Left = 7
Top = 9
Width = 438
Height = 382
Align = alTop
Caption = 'Battery'
TabOrder = 0
DesignSize = (
438
382)
object LabelName: TLabeledEdit
Left = 6
Top = 38
Width = 200
Height = 23
EditLabel.Width = 32
EditLabel.Height = 15
EditLabel.Caption = 'Name'
ReadOnly = True
TabOrder = 0
Text = ''
end
object LabelManufacture: TLabeledEdit
Left = 6
Top = 82
Width = 200
Height = 23
EditLabel.Width = 68
EditLabel.Height = 15
EditLabel.Caption = 'Manufacture'
ReadOnly = True
TabOrder = 1
Text = ''
end
object LabelManufactureDate: TLabeledEdit
Left = 6
Top = 126
Width = 200
Height = 23
EditLabel.Width = 92
EditLabel.Height = 15
EditLabel.Caption = 'ManufactureDate'
ReadOnly = True
TabOrder = 2
Text = ''
end
object LabelSerialNumber: TLabeledEdit
Left = 6
Top = 170
Width = 200
Height = 23
EditLabel.Width = 72
EditLabel.Height = 15
EditLabel.Caption = 'SerialNumber'
ReadOnly = True
TabOrder = 3
Text = ''
end
object LabelDesignedCapacity: TLabeledEdit
Left = 232
Top = 38
Width = 200
Height = 23
Anchors = [akTop, akRight]
EditLabel.Width = 95
EditLabel.Height = 15
EditLabel.Caption = 'DesignedCapacity'
ReadOnly = True
TabOrder = 8
Text = ''
end
object LabelType: TLabeledEdit
Left = 6
Top = 214
Width = 200
Height = 23
EditLabel.Width = 24
EditLabel.Height = 15
EditLabel.Caption = 'Type'
ReadOnly = True
TabOrder = 4
Text = ''
end
object LabelCycleCount: TLabeledEdit
Left = 6
Top = 258
Width = 200
Height = 23
EditLabel.Width = 62
EditLabel.Height = 15
EditLabel.Caption = 'CycleCount'
ReadOnly = True
TabOrder = 5
Text = ''
end
object LabelWearLevel: TLabeledEdit
Left = 6
Top = 302
Width = 200
Height = 23
EditLabel.Width = 54
EditLabel.Height = 15
EditLabel.Caption = 'WearLevel'
ReadOnly = True
TabOrder = 6
Text = ''
end
object LabelPowerState: TLabeledEdit
Left = 6
Top = 346
Width = 200
Height = 23
EditLabel.Width = 59
EditLabel.Height = 15
EditLabel.Caption = 'PowerState'
ReadOnly = True
TabOrder = 7
Text = ''
end
object LabelFullChargedCapacity: TLabeledEdit
Left = 232
Top = 82
Width = 200
Height = 23
Anchors = [akTop, akRight]
EditLabel.Width = 110
EditLabel.Height = 15
EditLabel.Caption = 'FullChargedCapacity'
ReadOnly = True
TabOrder = 9
Text = ''
end
object LabelCapacity: TLabeledEdit
Left = 232
Top = 126
Width = 200
Height = 23
Anchors = [akTop, akRight]
EditLabel.Width = 46
EditLabel.Height = 15
EditLabel.Caption = 'Capacity'
ReadOnly = True
TabOrder = 10
Text = ''
end
object LabelVoltage: TLabeledEdit
Left = 232
Top = 170
Width = 200
Height = 23
Anchors = [akTop, akRight]
EditLabel.Width = 39
EditLabel.Height = 15
EditLabel.Caption = 'Voltage'
ReadOnly = True
TabOrder = 11
Text = ''
end
object LabelRate: TLabeledEdit
Left = 232
Top = 214
Width = 200
Height = 23
Anchors = [akTop, akRight]
EditLabel.Width = 23
EditLabel.Height = 15
EditLabel.Caption = 'Rate'
ReadOnly = True
TabOrder = 12
Text = ''
end
object LabelDefaultAlert1: TLabeledEdit
Left = 232
Top = 258
Width = 200
Height = 23
Anchors = [akTop, akRight]
EditLabel.Width = 69
EditLabel.Height = 15
EditLabel.Caption = 'DefaultAlert1'
ReadOnly = True
TabOrder = 13
Text = ''
end
object LabelDefaultAlert2: TLabeledEdit
Left = 232
Top = 302
Width = 200
Height = 23
Anchors = [akTop, akRight]
EditLabel.Width = 69
EditLabel.Height = 15
EditLabel.Caption = 'DefaultAlert2'
ReadOnly = True
TabOrder = 14
Text = ''
end
object LabelTemperature: TLabeledEdit
Left = 232
Top = 346
Width = 200
Height = 23
Anchors = [akTop, akRight]
EditLabel.Width = 66
EditLabel.Height = 15
EditLabel.Caption = 'Temperature'
ReadOnly = True
TabOrder = 15
Text = ''
end
end
object GroupBoxSystem: TGroupBox
AlignWithMargins = True
Left = 7
Top = 397
Width = 438
Height = 118
Align = alTop
Caption = 'System'
TabOrder = 1
DesignSize = (
438
118)
object LabelPowerSource: TLabeledEdit
Left = 6
Top = 38
Width = 200
Height = 23
EditLabel.Width = 69
EditLabel.Height = 15
EditLabel.Caption = 'PowerSource'
ReadOnly = True
TabOrder = 0
Text = ''
end
object LabelFullLifetime: TLabeledEdit
Left = 232
Top = 38
Width = 200
Height = 23
Anchors = [akTop, akRight]
EditLabel.Width = 62
EditLabel.Height = 15
EditLabel.Caption = 'FullLifetime'
ReadOnly = True
TabOrder = 2
Text = ''
end
object LabelBatteryStatus: TLabeledEdit
Left = 6
Top = 82
Width = 200
Height = 23
EditLabel.Width = 69
EditLabel.Height = 15
EditLabel.Caption = 'BatteryStatus'
ReadOnly = True
TabOrder = 1
Text = ''
end
object LabelLifetime: TLabeledEdit
Left = 232
Top = 82
Width = 200
Height = 23
Anchors = [akTop, akRight]
EditLabel.Width = 43
EditLabel.Height = 15
EditLabel.Caption = 'Lifetime'
ReadOnly = True
TabOrder = 3
Text = ''
end
end
end
object TimerAutoupdate: TTimer
Enabled = False
Interval = 500
OnTimer = TimerAutoupdateTimer
Left = 58
Top = 20
end
object MainMenu: TMainMenu
Left = 131
Top = 19
object MainMenuFile: TMenuItem
Caption = 'File'
object MainMenuSave: TMenuItem
Caption = 'Save'
ShortCut = 16467
OnClick = MainMenuSaveClick
end
object MainMenuSaveAs: TMenuItem
Caption = 'SaveAs'
ShortCut = 24659
OnClick = MainMenuSaveAsClick
end
object MainMenuClose: TMenuItem
Caption = 'Close'
ShortCut = 27
OnClick = MainMenuCloseClick
end
end
object MainMenuView: TMenuItem
Caption = 'View'
object MainMenuAlwaysOnTop: TMenuItem
AutoCheck = True
Caption = 'AlwaysOnTop'
ShortCut = 16468
OnClick = MainMenuAlwaysOnTopClick
end
end
end
end