2016-12-29 13:18:01 +00:00
|
|
|
object mainform: Tmainform
|
2017-01-02 09:34:00 +00:00
|
|
|
Left = 583
|
|
|
|
Height = 451
|
|
|
|
Top = 174
|
|
|
|
Width = 784
|
2016-12-30 07:28:09 +00:00
|
|
|
BorderIcons = [biSystemMenu, biMinimize]
|
|
|
|
BorderStyle = bsSingle
|
2016-12-29 13:18:01 +00:00
|
|
|
Caption = 'mainform'
|
2017-01-02 09:34:00 +00:00
|
|
|
ClientHeight = 431
|
|
|
|
ClientWidth = 784
|
2016-12-29 13:18:01 +00:00
|
|
|
DefaultMonitor = dmDesktop
|
|
|
|
Menu = MainMenu1
|
|
|
|
OnActivate = FormActivate
|
|
|
|
OnCreate = FormCreate
|
|
|
|
OnDestroy = FormDestroy
|
2016-12-30 07:28:09 +00:00
|
|
|
OnWindowStateChange = FormWindowStateChange
|
2016-12-29 13:18:01 +00:00
|
|
|
Position = poWorkAreaCenter
|
2016-12-30 07:28:09 +00:00
|
|
|
ShowInTaskBar = stNever
|
2016-12-29 13:18:01 +00:00
|
|
|
LCLVersion = '1.7'
|
|
|
|
Scaled = True
|
|
|
|
object grp_sensorDisplay: TGroupBox
|
|
|
|
Left = 0
|
|
|
|
Height = 120
|
|
|
|
Top = 0
|
2017-01-02 09:34:00 +00:00
|
|
|
Width = 784
|
2016-12-29 13:18:01 +00:00
|
|
|
Align = alTop
|
|
|
|
Caption = 'Current Values'
|
|
|
|
ChildSizing.ControlsPerLine = 6
|
|
|
|
ClientHeight = 100
|
2017-01-02 09:34:00 +00:00
|
|
|
ClientWidth = 780
|
2016-12-29 13:18:01 +00:00
|
|
|
TabOrder = 0
|
|
|
|
object as_pm: TAnalogSensor
|
|
|
|
Left = 0
|
|
|
|
Height = 100
|
|
|
|
Top = 0
|
|
|
|
Width = 130
|
|
|
|
Align = alLeft
|
|
|
|
ClientHeight = 100
|
|
|
|
ClientWidth = 130
|
|
|
|
TabOrder = 0
|
|
|
|
ShowText = True
|
|
|
|
ShowLevel = True
|
|
|
|
Value = 0
|
|
|
|
ValueMin = 0
|
2017-01-02 09:34:00 +00:00
|
|
|
ValueMax = 1000
|
2016-12-29 13:18:01 +00:00
|
|
|
ValueRed = 0
|
|
|
|
ValueYellow = 0
|
|
|
|
AnalogKind = akAnalog
|
|
|
|
end
|
|
|
|
object as_tmp: TAnalogSensor
|
|
|
|
Left = 130
|
|
|
|
Height = 100
|
|
|
|
Top = 0
|
|
|
|
Width = 130
|
|
|
|
Align = alLeft
|
|
|
|
ClientHeight = 100
|
|
|
|
ClientWidth = 130
|
|
|
|
TabOrder = 1
|
|
|
|
ShowText = True
|
|
|
|
ShowLevel = True
|
2017-01-02 09:34:00 +00:00
|
|
|
Value = 10
|
2017-01-02 10:55:49 +00:00
|
|
|
ValueMin = 0
|
2016-12-29 13:18:01 +00:00
|
|
|
ValueMax = 40
|
2017-01-02 10:55:49 +00:00
|
|
|
ValueRed = 0
|
|
|
|
ValueYellow = 30
|
2016-12-29 13:18:01 +00:00
|
|
|
AnalogKind = akAnalog
|
|
|
|
end
|
|
|
|
object as_hum: TAnalogSensor
|
|
|
|
Left = 260
|
|
|
|
Height = 100
|
|
|
|
Top = 0
|
|
|
|
Width = 130
|
|
|
|
Align = alLeft
|
|
|
|
ClientHeight = 100
|
|
|
|
ClientWidth = 130
|
|
|
|
TabOrder = 2
|
|
|
|
ShowText = True
|
|
|
|
ShowLevel = True
|
2017-01-02 09:34:00 +00:00
|
|
|
Value = 10
|
|
|
|
ValueMin = 10
|
2016-12-29 13:18:01 +00:00
|
|
|
ValueMax = 100
|
2017-01-02 09:34:00 +00:00
|
|
|
ValueRed = 10
|
|
|
|
ValueYellow = 10
|
2016-12-29 13:18:01 +00:00
|
|
|
AnalogKind = akAnalog
|
|
|
|
end
|
|
|
|
object as_co2: TAnalogSensor
|
|
|
|
Left = 390
|
|
|
|
Height = 100
|
|
|
|
Top = 0
|
|
|
|
Width = 130
|
|
|
|
Align = alLeft
|
|
|
|
ClientHeight = 100
|
|
|
|
ClientWidth = 130
|
|
|
|
TabOrder = 3
|
|
|
|
ShowText = True
|
|
|
|
ShowLevel = True
|
2017-01-02 09:34:00 +00:00
|
|
|
Value = 450
|
|
|
|
ValueMin = 450
|
2016-12-29 13:18:01 +00:00
|
|
|
ValueMax = 3000
|
2017-01-02 09:34:00 +00:00
|
|
|
ValueRed = 450
|
|
|
|
ValueYellow = 450
|
2016-12-29 13:18:01 +00:00
|
|
|
AnalogKind = akAnalog
|
|
|
|
end
|
|
|
|
object as_voc: TAnalogSensor
|
|
|
|
Left = 520
|
|
|
|
Height = 100
|
|
|
|
Top = 0
|
|
|
|
Width = 130
|
|
|
|
Align = alLeft
|
|
|
|
ClientHeight = 100
|
|
|
|
ClientWidth = 130
|
|
|
|
TabOrder = 4
|
|
|
|
ShowText = True
|
|
|
|
ShowLevel = True
|
2017-01-02 09:34:00 +00:00
|
|
|
Value = 125
|
|
|
|
ValueMin = 125
|
2016-12-29 13:18:01 +00:00
|
|
|
ValueMax = 1000
|
2017-01-02 09:34:00 +00:00
|
|
|
ValueRed = 125
|
|
|
|
ValueYellow = 125
|
2016-12-29 13:18:01 +00:00
|
|
|
AnalogKind = akAnalog
|
|
|
|
end
|
|
|
|
object as_allpollu: TAnalogSensor
|
|
|
|
Left = 650
|
|
|
|
Height = 100
|
|
|
|
Top = 0
|
|
|
|
Width = 130
|
|
|
|
Align = alLeft
|
|
|
|
ClientHeight = 100
|
|
|
|
ClientWidth = 130
|
|
|
|
TabOrder = 5
|
|
|
|
ShowText = True
|
|
|
|
ShowLevel = True
|
|
|
|
Value = 0
|
|
|
|
ValueMin = 0
|
2017-01-02 10:55:49 +00:00
|
|
|
ValueMax = 700
|
2016-12-29 13:18:01 +00:00
|
|
|
ValueRed = 0
|
|
|
|
ValueYellow = 0
|
|
|
|
AnalogKind = akAnalog
|
|
|
|
end
|
|
|
|
end
|
|
|
|
object grp_highlow: TGroupBox
|
|
|
|
Left = 0
|
|
|
|
Height = 119
|
|
|
|
Top = 120
|
2017-01-02 09:34:00 +00:00
|
|
|
Width = 784
|
2016-12-29 13:18:01 +00:00
|
|
|
Align = alTop
|
2016-12-30 16:24:25 +00:00
|
|
|
Caption = 'All-time Highs and Lows'
|
2016-12-29 13:18:01 +00:00
|
|
|
ChildSizing.EnlargeHorizontal = crsHomogenousChildResize
|
|
|
|
ChildSizing.EnlargeVertical = crsScaleChilds
|
|
|
|
ChildSizing.ControlsPerLine = 6
|
|
|
|
ClientHeight = 99
|
2017-01-02 09:34:00 +00:00
|
|
|
ClientWidth = 780
|
2016-12-29 13:18:01 +00:00
|
|
|
TabOrder = 1
|
|
|
|
object grp_pm: TGroupBox
|
|
|
|
Left = 0
|
|
|
|
Height = 99
|
|
|
|
Top = 0
|
|
|
|
Width = 130
|
|
|
|
Align = alLeft
|
|
|
|
Caption = 'Particulates'
|
|
|
|
ClientHeight = 79
|
|
|
|
ClientWidth = 126
|
|
|
|
TabOrder = 0
|
|
|
|
object lbl_pmhigh: TLabel
|
|
|
|
Left = 8
|
|
|
|
Height = 15
|
|
|
|
Top = 8
|
2017-01-02 09:34:00 +00:00
|
|
|
Width = 43
|
|
|
|
Caption = 'No stats'
|
2016-12-29 13:18:01 +00:00
|
|
|
ParentColor = False
|
|
|
|
end
|
|
|
|
object lbl_pmlow: TLabel
|
|
|
|
Left = 8
|
|
|
|
Height = 15
|
|
|
|
Top = 40
|
2017-01-02 09:34:00 +00:00
|
|
|
Width = 44
|
|
|
|
Caption = 'No Stats'
|
2016-12-29 13:18:01 +00:00
|
|
|
ParentColor = False
|
|
|
|
end
|
|
|
|
end
|
|
|
|
object grp_tmp: TGroupBox
|
|
|
|
Left = 130
|
|
|
|
Height = 99
|
|
|
|
Top = 0
|
|
|
|
Width = 130
|
|
|
|
Align = alLeft
|
|
|
|
Caption = 'Temperature'
|
|
|
|
ClientHeight = 79
|
|
|
|
ClientWidth = 126
|
|
|
|
TabOrder = 1
|
|
|
|
object lbl_tmphigh: TLabel
|
|
|
|
Left = 8
|
|
|
|
Height = 15
|
|
|
|
Top = 8
|
2017-01-02 09:34:00 +00:00
|
|
|
Width = 44
|
|
|
|
Caption = 'No Stats'
|
2016-12-29 13:18:01 +00:00
|
|
|
ParentColor = False
|
|
|
|
end
|
|
|
|
object lbl_tmplow: TLabel
|
|
|
|
Left = 8
|
|
|
|
Height = 15
|
|
|
|
Top = 40
|
2017-01-02 09:34:00 +00:00
|
|
|
Width = 44
|
|
|
|
Caption = 'No Stats'
|
2016-12-29 13:18:01 +00:00
|
|
|
ParentColor = False
|
|
|
|
end
|
|
|
|
end
|
|
|
|
object grp_hum: TGroupBox
|
|
|
|
Left = 260
|
|
|
|
Height = 99
|
|
|
|
Top = 0
|
|
|
|
Width = 130
|
|
|
|
Align = alLeft
|
|
|
|
Caption = 'Humidity'
|
|
|
|
ClientHeight = 79
|
|
|
|
ClientWidth = 126
|
|
|
|
TabOrder = 2
|
|
|
|
object lbl_humhigh: TLabel
|
|
|
|
Left = 8
|
|
|
|
Height = 15
|
|
|
|
Top = 8
|
2017-01-02 09:34:00 +00:00
|
|
|
Width = 44
|
|
|
|
Caption = 'No Stats'
|
2016-12-29 13:18:01 +00:00
|
|
|
ParentColor = False
|
|
|
|
end
|
|
|
|
object lbl_humlow: TLabel
|
|
|
|
Left = 8
|
|
|
|
Height = 15
|
|
|
|
Top = 40
|
2017-01-02 09:34:00 +00:00
|
|
|
Width = 44
|
|
|
|
Caption = 'No Stats'
|
2016-12-29 13:18:01 +00:00
|
|
|
ParentColor = False
|
|
|
|
end
|
|
|
|
end
|
|
|
|
object grp_co2: TGroupBox
|
|
|
|
Left = 390
|
|
|
|
Height = 99
|
|
|
|
Top = 0
|
|
|
|
Width = 130
|
|
|
|
Align = alLeft
|
|
|
|
Caption = 'CO2'
|
|
|
|
ClientHeight = 79
|
|
|
|
ClientWidth = 126
|
|
|
|
TabOrder = 3
|
|
|
|
object lbl_co2high: TLabel
|
|
|
|
Left = 8
|
|
|
|
Height = 15
|
|
|
|
Top = 8
|
2017-01-02 09:34:00 +00:00
|
|
|
Width = 44
|
|
|
|
Caption = 'No Stats'
|
2016-12-29 13:18:01 +00:00
|
|
|
ParentColor = False
|
|
|
|
end
|
|
|
|
object lbl_co2low: TLabel
|
|
|
|
Left = 8
|
|
|
|
Height = 15
|
|
|
|
Top = 40
|
2017-01-02 09:34:00 +00:00
|
|
|
Width = 44
|
|
|
|
Caption = 'No Stats'
|
2016-12-29 13:18:01 +00:00
|
|
|
ParentColor = False
|
|
|
|
end
|
|
|
|
end
|
|
|
|
object grp_voc: TGroupBox
|
|
|
|
Left = 520
|
|
|
|
Height = 99
|
|
|
|
Top = 0
|
|
|
|
Width = 130
|
|
|
|
Align = alLeft
|
|
|
|
Caption = 'Volatile VOC'
|
|
|
|
ClientHeight = 79
|
|
|
|
ClientWidth = 126
|
|
|
|
TabOrder = 4
|
|
|
|
object lbl_vochigh: TLabel
|
|
|
|
Left = 8
|
|
|
|
Height = 15
|
|
|
|
Top = 8
|
2017-01-02 09:34:00 +00:00
|
|
|
Width = 44
|
|
|
|
Caption = 'No Stats'
|
2016-12-29 13:18:01 +00:00
|
|
|
ParentColor = False
|
|
|
|
end
|
|
|
|
object lbl_voclow: TLabel
|
|
|
|
Left = 8
|
|
|
|
Height = 15
|
|
|
|
Top = 40
|
2017-01-02 09:34:00 +00:00
|
|
|
Width = 44
|
|
|
|
Caption = 'No Stats'
|
2016-12-29 13:18:01 +00:00
|
|
|
ParentColor = False
|
|
|
|
end
|
|
|
|
end
|
|
|
|
object grp_allpollu: TGroupBox
|
|
|
|
Left = 650
|
|
|
|
Height = 99
|
|
|
|
Top = 0
|
|
|
|
Width = 130
|
|
|
|
Align = alLeft
|
|
|
|
Caption = 'All Pollution'
|
|
|
|
ClientHeight = 79
|
|
|
|
ClientWidth = 126
|
|
|
|
TabOrder = 5
|
|
|
|
object lbl_allpolluhigh: TLabel
|
|
|
|
Left = 8
|
|
|
|
Height = 15
|
|
|
|
Top = 8
|
2017-01-02 09:34:00 +00:00
|
|
|
Width = 44
|
|
|
|
Caption = 'No Stats'
|
2016-12-29 13:18:01 +00:00
|
|
|
ParentColor = False
|
|
|
|
end
|
|
|
|
object lbl_allpollulow: TLabel
|
|
|
|
Left = 8
|
|
|
|
Height = 15
|
|
|
|
Top = 40
|
2017-01-02 09:34:00 +00:00
|
|
|
Width = 44
|
|
|
|
Caption = 'No Stats'
|
2016-12-29 13:18:01 +00:00
|
|
|
ParentColor = False
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
2017-01-02 09:34:00 +00:00
|
|
|
object grp_chart: TGroupBox
|
|
|
|
Left = 0
|
|
|
|
Height = 179
|
|
|
|
Top = 239
|
|
|
|
Width = 784
|
|
|
|
Align = alTop
|
|
|
|
Caption = 'History'
|
|
|
|
ClientHeight = 159
|
|
|
|
ClientWidth = 780
|
|
|
|
TabOrder = 2
|
|
|
|
object Chart1: TChart
|
|
|
|
Left = 0
|
|
|
|
Height = 159
|
|
|
|
Top = 0
|
|
|
|
Width = 780
|
|
|
|
AxisList = <
|
|
|
|
item
|
|
|
|
Marks.Format = '%2:s'
|
|
|
|
Marks.Style = smsLabel
|
|
|
|
Minors = <>
|
|
|
|
Title.LabelFont.Orientation = 900
|
|
|
|
end
|
|
|
|
item
|
|
|
|
Grid.Visible = False
|
|
|
|
Intervals.Count = 24
|
|
|
|
Intervals.Options = [aipGraphCoords, aipUseNiceSteps]
|
|
|
|
Alignment = calBottom
|
|
|
|
Arrow.Length = 24
|
|
|
|
Marks.Distance = 0
|
|
|
|
Marks.Format = '%2:s'
|
|
|
|
Marks.OverlapPolicy = opHideNeighbour
|
|
|
|
Marks.Range.Max = 24
|
|
|
|
Marks.Source = DateTimeIntervalChartSource1
|
|
|
|
Marks.Style = smsLabel
|
|
|
|
Minors = <>
|
|
|
|
Range.Max = 24
|
|
|
|
Range.UseMax = True
|
|
|
|
end>
|
|
|
|
ExtentSizeLimit.UseXMax = True
|
|
|
|
ExtentSizeLimit.XMax = 24
|
|
|
|
Foot.Brush.Color = clBtnFace
|
|
|
|
Foot.Font.Color = clBlue
|
|
|
|
Foot.Text.Strings = (
|
|
|
|
'Today'
|
|
|
|
)
|
|
|
|
Title.Brush.Color = clBtnFace
|
|
|
|
Title.Font.Color = clBlue
|
|
|
|
Title.Text.Strings = (
|
|
|
|
'Foobot History'
|
|
|
|
)
|
|
|
|
Align = alClient
|
|
|
|
object lineseries_pm: TLineSeries
|
|
|
|
LinePen.Color = clMaroon
|
|
|
|
end
|
|
|
|
object lineseries_tmp: TLineSeries
|
|
|
|
LinePen.Color = clRed
|
|
|
|
end
|
|
|
|
object lineseries_hum: TLineSeries
|
|
|
|
LinePen.Color = clGreen
|
|
|
|
end
|
|
|
|
object lineseries_co2: TLineSeries
|
|
|
|
LinePen.Color = clLime
|
|
|
|
end
|
|
|
|
object lineseries_voc: TLineSeries
|
|
|
|
LinePen.Color = clNavy
|
|
|
|
end
|
|
|
|
object lineseries_allpollu: TLineSeries
|
|
|
|
LinePen.Color = clBlue
|
2017-01-02 10:55:49 +00:00
|
|
|
LinePen.Width = 2
|
2017-01-02 09:34:00 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
2016-12-29 13:18:01 +00:00
|
|
|
object tmr_foobot: TTimer
|
|
|
|
Enabled = False
|
|
|
|
Interval = 3600
|
|
|
|
OnTimer = tmr_foobotTimer
|
|
|
|
Left = 16
|
|
|
|
end
|
|
|
|
object MainMenu1: TMainMenu
|
|
|
|
Left = 56
|
|
|
|
Top = 8
|
|
|
|
object mnu_file: TMenuItem
|
|
|
|
Caption = '&File'
|
|
|
|
object mnu_fileExit: TMenuItem
|
|
|
|
Caption = 'E&xit'
|
|
|
|
OnClick = mnu_fileExitClick
|
|
|
|
end
|
|
|
|
end
|
|
|
|
object mnu_options: TMenuItem
|
|
|
|
Caption = '&Options'
|
2016-12-30 16:24:25 +00:00
|
|
|
object mnu_optionsMinimiseToTray: TMenuItem
|
|
|
|
Caption = 'Minimise to tray'
|
|
|
|
OnClick = mnu_optionsMinimiseToTrayClick
|
2016-12-29 13:18:01 +00:00
|
|
|
end
|
|
|
|
object mnu_optionsTakeReadingNow: TMenuItem
|
|
|
|
Caption = 'Take reading now'
|
|
|
|
OnClick = mnu_optionsTakeReadingNowClick
|
|
|
|
end
|
|
|
|
object mnu_optionsSampleEvery: TMenuItem
|
|
|
|
Caption = 'Sample every...'
|
|
|
|
object mnu_SampleEvery1Hour: TMenuItem
|
|
|
|
AutoCheck = True
|
|
|
|
Caption = 'Hour (default)'
|
|
|
|
Checked = True
|
|
|
|
GroupIndex = 1
|
|
|
|
OnClick = mnu_SampleEvery1HourClick
|
|
|
|
end
|
|
|
|
object mnu_SampleEvery2Hours: TMenuItem
|
|
|
|
AutoCheck = True
|
|
|
|
Caption = '2 Hours'
|
|
|
|
OnClick = mnu_SampleEvery2HoursClick
|
|
|
|
end
|
|
|
|
object mnu_SampleEvery4Hours: TMenuItem
|
|
|
|
AutoCheck = True
|
|
|
|
Caption = '4 Hours'
|
|
|
|
OnClick = mnu_SampleEvery4HoursClick
|
|
|
|
end
|
|
|
|
object mnu_SampleEvery8Hours: TMenuItem
|
|
|
|
AutoCheck = True
|
|
|
|
Caption = '8 Hours'
|
|
|
|
OnClick = mnu_SampleEvery8HoursClick
|
|
|
|
end
|
|
|
|
object mnu_SampleEvery24Hours: TMenuItem
|
|
|
|
AutoCheck = True
|
|
|
|
Caption = '24 Hours'
|
|
|
|
GroupIndex = 1
|
|
|
|
OnClick = mnu_SampleEvery24HoursClick
|
|
|
|
end
|
|
|
|
end
|
2016-12-30 16:24:25 +00:00
|
|
|
object mnu_optionsSeperator1: TMenuItem
|
|
|
|
Caption = '-'
|
|
|
|
end
|
2017-01-02 09:34:00 +00:00
|
|
|
object mnu_optionsShowMinimalDisplay: TMenuItem
|
2016-12-30 16:24:25 +00:00
|
|
|
AutoCheck = True
|
2017-01-02 09:34:00 +00:00
|
|
|
Caption = 'Only show guages'
|
|
|
|
OnClick = mnu_optionsShowMinimalDisplayClick
|
2016-12-30 16:24:25 +00:00
|
|
|
end
|
2016-12-29 13:18:01 +00:00
|
|
|
object mnu_optionsSaveHighLows: TMenuItem
|
|
|
|
AutoCheck = True
|
2016-12-30 16:24:25 +00:00
|
|
|
Caption = 'Record All-time High/Lows'
|
2016-12-29 13:18:01 +00:00
|
|
|
Checked = True
|
|
|
|
OnClick = mnu_optionsSaveHighLowsClick
|
|
|
|
end
|
2016-12-30 16:24:25 +00:00
|
|
|
end
|
|
|
|
object mnu_help: TMenuItem
|
|
|
|
Caption = '&Help'
|
|
|
|
object mnu_optionsOnlineHelp: TMenuItem
|
|
|
|
Caption = 'Online Help'
|
|
|
|
OnClick = mnu_optionsOnlineHelpClick
|
|
|
|
end
|
|
|
|
object mnu_helpAbout: TMenuItem
|
|
|
|
Caption = 'A&bout..'
|
|
|
|
OnClick = mnu_helpAboutClick
|
2016-12-30 07:28:09 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
object TrayIcon1: TTrayIcon
|
|
|
|
PopUpMenu = traypopup
|
|
|
|
Visible = True
|
|
|
|
OnClick = TrayIcon1Click
|
|
|
|
Left = 96
|
|
|
|
Top = 8
|
|
|
|
end
|
|
|
|
object traypopup: TPopupMenu
|
|
|
|
Left = 136
|
|
|
|
Top = 8
|
|
|
|
object mnupopup_fileRestore: TMenuItem
|
|
|
|
Caption = '&Restore'
|
|
|
|
OnClick = mnupopup_fileRestoreClick
|
|
|
|
end
|
|
|
|
object mnu_pupupClose: TMenuItem
|
|
|
|
Caption = '&Close'
|
|
|
|
OnClick = mnu_fileExitClick
|
2016-12-29 13:18:01 +00:00
|
|
|
end
|
|
|
|
end
|
2017-01-02 09:34:00 +00:00
|
|
|
object DateTimeIntervalChartSource1: TDateTimeIntervalChartSource
|
|
|
|
Left = 174
|
|
|
|
Top = 325
|
|
|
|
end
|
2016-12-29 13:18:01 +00:00
|
|
|
end
|