⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mainform.dfm

📁 16 relay output channels and 16 isolated digital input channels LED indicators to show activated
💻 DFM
字号:
object frmMain: TfrmMain
  Left = 192
  Top = 107
  Width = 503
  Height = 268
  Caption = 'Advantech Driver DEMO: Digital Input with Timer Setting'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 13
  object Label6: TLabel
    Left = 24
    Top = 216
    Width = 433
    Height = 13
    Caption = 
      'Hints : I/S -> Interrupt Event count per Second, and All Counter' +
      ' input should be in 2 - 65535'
  end
  object labDevice: TLabel
    Left = 27
    Top = 16
    Width = 3
    Height = 13
  end
  object GroupBox1: TGroupBox
    Left = 16
    Top = 48
    Width = 153
    Height = 153
    Caption = 'Timer Number Setting'
    TabOrder = 0
    object Label1: TLabel
      Left = 32
      Top = 24
      Width = 49
      Height = 13
      Caption = 'Counter 0:'
    end
    object Label2: TLabel
      Left = 32
      Top = 48
      Width = 49
      Height = 13
      Caption = 'Counter 1:'
    end
    object Label3: TLabel
      Left = 32
      Top = 72
      Width = 49
      Height = 13
      Caption = 'Counter 2:'
    end
    object Label7: TLabel
      Left = 8
      Top = 96
      Width = 136
      Height = 13
      Caption = 'IF you didn'#39't select Cascade,'
    end
    object Label8: TLabel
      Left = 8
      Top = 112
      Width = 135
      Height = 13
      Caption = 'the value in Counter 0 would'
    end
    object Label9: TLabel
      Left = 8
      Top = 128
      Width = 139
      Height = 13
      Caption = 'not take effect.(10MHz/Cnt1)'
    end
    object edtCounter0: TEdit
      Left = 88
      Top = 24
      Width = 49
      Height = 21
      TabOrder = 0
      Text = '10'
    end
    object edtCounter1: TEdit
      Left = 88
      Top = 48
      Width = 49
      Height = 21
      TabOrder = 1
      Text = '10'
    end
    object edtCounter2: TEdit
      Left = 88
      Top = 72
      Width = 49
      Height = 21
      TabOrder = 2
      Text = '10'
    end
  end
  object btnSelectDevice: TButton
    Left = 288
    Top = 8
    Width = 89
    Height = 25
    Caption = 'Select Device'
    TabOrder = 1
    OnClick = btnSelectDeviceClick
  end
  object GroupBox2: TGroupBox
    Left = 176
    Top = 48
    Width = 161
    Height = 153
    Caption = 'Interrupt Event'
    TabOrder = 2
    object Label4: TLabel
      Left = 8
      Top = 56
      Width = 73
      Height = 13
      Caption = 'Interrupt Count:'
    end
    object Label5: TLabel
      Left = 104
      Top = 88
      Width = 18
      Height = 13
      Caption = '1/S'
    end
    object radNormal: TRadioButton
      Left = 32
      Top = 16
      Width = 89
      Height = 17
      Caption = 'Normal Priority'
      Checked = True
      TabOrder = 0
      TabStop = True
    end
    object radTimeCritical: TRadioButton
      Left = 32
      Top = 32
      Width = 113
      Height = 17
      Caption = 'Time Critical Priority'
      TabOrder = 1
    end
    object edtCount: TEdit
      Left = 88
      Top = 56
      Width = 49
      Height = 21
      TabOrder = 2
      Text = '1'
    end
    object btnEnable: TButton
      Left = 16
      Top = 120
      Width = 57
      Height = 25
      Caption = 'Enable'
      TabOrder = 3
      OnClick = btnEnableClick
    end
    object btnDisable: TButton
      Left = 88
      Top = 120
      Width = 57
      Height = 25
      Caption = 'Disable'
      TabOrder = 4
      OnClick = btnDisableClick
    end
    object edtCout: TEdit
      Left = 32
      Top = 88
      Width = 65
      Height = 21
      TabOrder = 5
    end
  end
  object GroupBox3: TGroupBox
    Left = 344
    Top = 48
    Width = 137
    Height = 153
    Caption = 'Event Type Settting'
    TabOrder = 3
    object chkInterrupt: TCheckBox
      Left = 19
      Top = 24
      Width = 113
      Height = 17
      Caption = 'Event for Interrupt'
      Checked = True
      State = cbChecked
      TabOrder = 0
    end
    object chkGroup0: TCheckBox
      Left = 19
      Top = 48
      Width = 113
      Height = 17
      Caption = 'Event for Group 0'
      TabOrder = 1
    end
    object chkGroup1: TCheckBox
      Left = 19
      Top = 72
      Width = 105
      Height = 17
      Caption = 'Event for Group 1'
      TabOrder = 2
    end
  end
  object btnExit: TButton
    Left = 400
    Top = 8
    Width = 75
    Height = 25
    Caption = 'Exit'
    TabOrder = 4
    OnClick = btnExitClick
  end
end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -