File: dlclock.lfm

package info (click to toggle)
udm 1.0.0.352-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 28,076 kB
  • sloc: pascal: 72,496; ansic: 6,892; awk: 880; makefile: 768; sh: 493; perl: 34; python: 22; tcl: 18
file content (233 lines) | stat: -rw-r--r-- 6,228 bytes parent folder | download | duplicates (2)
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
object Form6: TForm6
  Left = 2021
  Height = 336
  Top = 429
  Width = 520
  BorderStyle = bsSingle
  Caption = 'Device: Real Time Clock setting'
  ClientHeight = 336
  ClientWidth = 520
  Constraints.MinHeight = 336
  Constraints.MinWidth = 520
  OnClose = FormClose
  OnCreate = FormCreate
  OnHide = FormHide
  OnShow = FormShow
  Position = poMainFormCenter
  LCLVersion = '2.2.4.0'
  object SetDeviceClock: TButton
    AnchorSideRight.Control = CloseButton
    AnchorSideBottom.Control = CloseButton
    AnchorSideBottom.Side = asrBottom
    Left = 355
    Height = 25
    Hint = 'Copy time from this PC to the SQM Real Time Clock.'
    Top = 306
    Width = 75
    Anchors = [akRight, akBottom]
    BorderSpacing.Right = 10
    Caption = 'Set'
    OnClick = SetDeviceClockClick
    TabOrder = 0
  end
  object PauseClockButton: TButton
    AnchorSideRight.Control = ResumClockButton
    AnchorSideBottom.Control = ResumClockButton
    AnchorSideBottom.Side = asrBottom
    Left = 315
    Height = 25
    Top = 306
    Width = 20
    Anchors = [akRight, akBottom]
    Caption = '||'
    Enabled = False
    OnClick = PauseClockButtonClick
    TabOrder = 1
    Visible = False
  end
  object ResumClockButton: TButton
    AnchorSideRight.Control = SetDeviceClock
    AnchorSideBottom.Control = SetDeviceClock
    AnchorSideBottom.Side = asrBottom
    Left = 335
    Height = 25
    Top = 306
    Width = 20
    Anchors = [akRight, akBottom]
    Caption = '>'
    Enabled = False
    OnClick = ResumClockButtonClick
    TabOrder = 2
    Visible = False
  end
  object CloseButton: TButton
    AnchorSideRight.Control = Owner
    AnchorSideRight.Side = asrBottom
    AnchorSideBottom.Control = Owner
    AnchorSideBottom.Side = asrBottom
    Left = 440
    Height = 25
    Top = 306
    Width = 75
    Anchors = [akRight, akBottom]
    BorderSpacing.Right = 5
    BorderSpacing.Bottom = 5
    Caption = 'Close'
    OnClick = CloseButtonClick
    TabOrder = 3
  end
  object UnitClockText: TLabeledEdit
    AnchorSideLeft.Control = Owner
    AnchorSideLeft.Side = asrCenter
    AnchorSideTop.Control = Owner
    Left = 135
    Height = 31
    Top = 3
    Width = 250
    Alignment = taCenter
    BorderSpacing.Top = 3
    EditLabel.Height = 21
    EditLabel.Width = 112
    EditLabel.Caption = 'Unit clock (UTC):'
    EditLabel.ParentColor = False
    LabelPosition = lpLeft
    TabOrder = 4
  end
  object UTCClockText: TLabeledEdit
    AnchorSideLeft.Control = UnitClockText
    AnchorSideTop.Control = UnitClockText
    AnchorSideTop.Side = asrBottom
    Left = 135
    Height = 31
    Top = 37
    Width = 250
    Alignment = taCenter
    BorderSpacing.Top = 3
    EditLabel.Height = 21
    EditLabel.Width = 73
    EditLabel.Caption = 'UTC Clock:'
    EditLabel.ParentColor = False
    LabelPosition = lpLeft
    TabOrder = 5
  end
  object LocalTimeText: TLabeledEdit
    AnchorSideLeft.Control = UTCClockText
    AnchorSideTop.Control = UTCClockText
    AnchorSideTop.Side = asrBottom
    Left = 135
    Height = 31
    Top = 71
    Width = 250
    Alignment = taCenter
    BorderSpacing.Top = 3
    EditLabel.Height = 21
    EditLabel.Width = 75
    EditLabel.Caption = 'Local time:'
    EditLabel.ParentColor = False
    LabelPosition = lpLeft
    TabOrder = 6
  end
  object DifferenceTimeText: TLabeledEdit
    AnchorSideLeft.Control = LocalTimeText
    AnchorSideTop.Control = LocalTimeText
    AnchorSideTop.Side = asrBottom
    Left = 135
    Height = 31
    Top = 105
    Width = 250
    Alignment = taCenter
    BorderSpacing.Top = 3
    EditLabel.Height = 21
    EditLabel.Width = 75
    EditLabel.Caption = 'Difference:'
    EditLabel.ParentColor = False
    LabelPosition = lpLeft
    ParentFont = False
    TabOrder = 7
  end
  object Label1: TLabel
    AnchorSideLeft.Control = DifferenceIndicator
    AnchorSideLeft.Side = asrBottom
    AnchorSideTop.Control = DifferenceTimeText
    AnchorSideTop.Side = asrCenter
    Left = 415
    Height = 21
    Top = 110
    Width = 56
    BorderSpacing.Left = 7
    Caption = 'seconds'
    ParentColor = False
  end
  object Memo1: TMemo
    AnchorSideLeft.Control = Owner
    AnchorSideTop.Control = DifferenceTimeText
    AnchorSideTop.Side = asrBottom
    AnchorSideRight.Control = Owner
    AnchorSideRight.Side = asrBottom
    AnchorSideBottom.Control = SetDeviceClock
    Left = 0
    Height = 164
    Top = 139
    Width = 520
    Anchors = [akTop, akLeft, akRight, akBottom]
    BorderSpacing.Top = 3
    BorderSpacing.Bottom = 3
    Lines.Strings = (
      '1. Make sure the meter has been plugged in for at least 10 minutes before setting the time.'
      '2. The internal supercapacitor needs some time to charge up.'
      '3. Leave the meter plugged in initially for about 30 minutes after the Running indicator is green to fully charge.'
      '4. Transfer the meter from the USB computer connection to the battery connection within 30 minutes to maintain the clock circuit voltage.'
    )
    ReadOnly = True
    ScrollBars = ssAutoVertical
    TabOrder = 8
  end
  object RunningIndicator: TShape
    AnchorSideLeft.Control = UnitClockText
    AnchorSideLeft.Side = asrBottom
    AnchorSideTop.Control = UnitClockText
    AnchorSideTop.Side = asrCenter
    Left = 388
    Height = 20
    Hint = 'Connection status'
    Top = 8
    Width = 20
    BorderSpacing.Left = 3
    Brush.Color = clGray
    Shape = stCircle
  end
  object RunningStatus: TLabel
    AnchorSideLeft.Control = RunningIndicator
    AnchorSideLeft.Side = asrBottom
    AnchorSideTop.Control = RunningIndicator
    AnchorSideTop.Side = asrCenter
    Left = 415
    Height = 21
    Top = 8
    Width = 97
    AutoSize = False
    BorderSpacing.Left = 7
    Caption = 'Reading'
    ParentColor = False
  end
  object DifferenceIndicator: TShape
    AnchorSideLeft.Control = UnitClockText
    AnchorSideLeft.Side = asrBottom
    AnchorSideTop.Control = DifferenceTimeText
    AnchorSideTop.Side = asrCenter
    Left = 388
    Height = 20
    Hint = 'Connection status'
    Top = 110
    Width = 20
    BorderSpacing.Left = 3
    Brush.Color = clGray
    Shape = stCircle
  end
  object Timer1: TTimer
    Enabled = False
    OnTimer = Timer1Timer
    Left = 8
    Top = 40
  end
end