187 lines
4.7 KiB
Plaintext
187 lines
4.7 KiB
Plaintext
object MainForm: TMainForm
|
|
Left = 0
|
|
Top = 0
|
|
BorderIcons = [biSystemMenu, biMinimize]
|
|
BorderStyle = bsSingle
|
|
Caption = 'SimulatorFans'
|
|
ClientHeight = 352
|
|
ClientWidth = 580
|
|
Color = clBtnFace
|
|
Font.Charset = DEFAULT_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -11
|
|
Font.Name = 'Tahoma'
|
|
Font.Style = []
|
|
OldCreateOrder = False
|
|
Position = poScreenCenter
|
|
ShowHint = True
|
|
OnClose = FormClose
|
|
OnCreate = FormCreate
|
|
PixelsPerInch = 96
|
|
TextHeight = 13
|
|
object HardwareGroupBox: TGroupBox
|
|
AlignWithMargins = True
|
|
Left = 8
|
|
Top = 8
|
|
Width = 564
|
|
Height = 137
|
|
Margins.Left = 8
|
|
Margins.Top = 8
|
|
Margins.Right = 8
|
|
Margins.Bottom = 8
|
|
Align = alTop
|
|
Caption = ' Hardware configuration '
|
|
TabOrder = 0
|
|
object PortLabel: TLabel
|
|
Left = 12
|
|
Top = 27
|
|
Width = 50
|
|
Height = 13
|
|
Caption = 'COM port:'
|
|
end
|
|
object PortStatusLabel: TLabel
|
|
Left = 288
|
|
Top = 27
|
|
Width = 121
|
|
Height = 13
|
|
AutoSize = False
|
|
Caption = 'Not connected'
|
|
end
|
|
object FansLabel: TLabel
|
|
Left = 12
|
|
Top = 54
|
|
Width = 27
|
|
Height = 13
|
|
Caption = 'Fans:'
|
|
end
|
|
object FanCountLabel: TLabel
|
|
Left = 88
|
|
Top = 54
|
|
Width = 185
|
|
Height = 13
|
|
AutoSize = False
|
|
Caption = '?'
|
|
end
|
|
object PortComboBox: TComboBox
|
|
Left = 88
|
|
Top = 24
|
|
Width = 185
|
|
Height = 21
|
|
Style = csDropDownList
|
|
TabOrder = 0
|
|
OnClick = PortComboBoxClick
|
|
end
|
|
object CalibrationButton: TButton
|
|
Left = 88
|
|
Top = 96
|
|
Width = 113
|
|
Height = 25
|
|
Caption = 'ESC calibration...'
|
|
Enabled = False
|
|
TabOrder = 1
|
|
OnClick = CalibrationButtonClick
|
|
end
|
|
end
|
|
object SimulatorGroupBox: TGroupBox
|
|
AlignWithMargins = True
|
|
Left = 8
|
|
Top = 153
|
|
Width = 564
|
|
Height = 191
|
|
Margins.Left = 8
|
|
Margins.Top = 0
|
|
Margins.Right = 8
|
|
Margins.Bottom = 8
|
|
Align = alClient
|
|
Caption = ' Simulator '
|
|
TabOrder = 1
|
|
object SimulatorPanel: TPanel
|
|
AlignWithMargins = True
|
|
Left = 14
|
|
Top = 68
|
|
Width = 536
|
|
Height = 109
|
|
Margins.Left = 12
|
|
Margins.Top = 12
|
|
Margins.Right = 12
|
|
Margins.Bottom = 12
|
|
Align = alClient
|
|
BevelOuter = bvNone
|
|
TabOrder = 0
|
|
end
|
|
object SimulatorSelectionPanel: TPanel
|
|
Left = 2
|
|
Top = 15
|
|
Width = 560
|
|
Height = 41
|
|
Align = alTop
|
|
BevelOuter = bvNone
|
|
TabOrder = 1
|
|
DesignSize = (
|
|
560
|
|
41)
|
|
object SimulatorLockButton: TSpeedButton
|
|
Left = 527
|
|
Top = 7
|
|
Width = 23
|
|
Height = 23
|
|
Hint =
|
|
'Lock the simulator selection dropdown to prevent accidental chan' +
|
|
'ges'
|
|
AllowAllUp = True
|
|
GroupIndex = 1
|
|
Glyph.Data = {
|
|
E6010000424DE60100000000000036000000280000000C0000000C0000000100
|
|
180000000000B0010000120B0000120B00000000000000000000FF00FF000000
|
|
000000000000000000000000000000000000000000000000000000FF00FFFF00
|
|
FF000000000000000000000000000000000000000000000000000000000000FF
|
|
00FFFF00FF000000000000000000000000000000000000000000000000000000
|
|
000000FF00FFFF00FF0000000000000000000000000000000000000000000000
|
|
00000000000000FF00FFFF00FF00000000000000000000000000000000000000
|
|
0000000000000000000000FF00FFFF00FF000000000000000000000000000000
|
|
000000000000000000000000000000FF00FFFF00FF0000000000000000000000
|
|
00000000000000000000000000000000000000FF00FFFF00FFFF00FF00000000
|
|
0000FF00FFFF00FFFF00FFFF00FF000000000000FF00FFFF00FFFF00FFFF00FF
|
|
000000000000FF00FFFF00FFFF00FFFF00FF000000000000FF00FFFF00FFFF00
|
|
FFFF00FF000000000000FF00FFFF00FFFF00FFFF00FF000000000000FF00FFFF
|
|
00FFFF00FFFF00FFFF00FF000000000000000000000000000000000000FF00FF
|
|
FF00FFFF00FFFF00FFFF00FFFF00FFFF00FF000000000000000000000000FF00
|
|
FFFF00FFFF00FFFF00FF}
|
|
OnClick = SimulatorLockButtonClick
|
|
end
|
|
object SimulatorComboBox: TComboBox
|
|
Left = 12
|
|
Top = 8
|
|
Width = 509
|
|
Height = 21
|
|
Style = csDropDownList
|
|
Anchors = [akLeft, akTop, akRight]
|
|
Sorted = True
|
|
TabOrder = 0
|
|
OnClick = SimulatorComboBoxClick
|
|
end
|
|
end
|
|
end
|
|
object ConnectTimer: TTimer
|
|
Enabled = False
|
|
Interval = 5000
|
|
OnTimer = ConnectTimerTimer
|
|
Left = 424
|
|
Top = 24
|
|
end
|
|
object ResponseTimer: TTimer
|
|
Enabled = False
|
|
Interval = 2000
|
|
OnTimer = ResponseTimerTimer
|
|
Left = 424
|
|
Top = 80
|
|
end
|
|
object ConnectWaitTimer: TTimer
|
|
Enabled = False
|
|
Interval = 100
|
|
OnTimer = ConnectWaitTimerTimer
|
|
Left = 504
|
|
Top = 24
|
|
end
|
|
end
|