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

📄 addac.dfm

📁 使用Delphi 6.0开发用于控制空调的程序
💻 DFM
字号:
object frmADDAC: TfrmADDAC
  Left = 255
  Top = 149
  AutoScroll = False
  Caption = #28155#21152#31354#35843
  ClientHeight = 441
  ClientWidth = 460
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  OnClose = FormClose
  OnCreate = FormCreate
  OnPaint = FormPaint
  PixelsPerInch = 96
  TextHeight = 13
  object lbl1: TLabel
    Left = 176
    Top = 16
    Width = 130
    Height = 24
    Caption = #22522#26412#35774#32622'          '
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -21
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
  end
  object grp1: TGroupBox
    Left = 248
    Top = 64
    Width = 193
    Height = 193
    Caption = #28155#21152#31354#35843' '#65306
    TabOrder = 0
    object lbl2: TLabel
      Left = 16
      Top = 40
      Width = 72
      Height = 13
      Caption = #25509#21475#26495#22320#22336#65306
    end
    object lbl3: TLabel
      Left = 16
      Top = 88
      Width = 60
      Height = 13
      Caption = #31354#35843#22320#22336#65306
    end
    object lbl7: TLabel
      Left = 16
      Top = 128
      Width = 60
      Height = 13
      Caption = #31354#35843#21517#23383#65306
    end
    object cbbID: TComboBox
      Left = -1
      Top = 15
      Width = 64
      Height = 21
      ItemHeight = 13
      TabOrder = 0
      Text = '00'
      Visible = False
      Items.Strings = (
        '00'
        '01'
        '01'
        '02'
        '03'
        '04'
        '05'
        '06'
        '07'
        '08'
        '09'
        '0A'
        '0B'
        '0C'
        '0D'
        '0E'
        '0F'
        '10'
        '11'
        '12'
        '13'
        '14'
        '15'
        '16'
        '17'
        '18'
        '19'
        '1A'
        '1B'
        '1C'
        '1D'
        '1E'
        '1F')
    end
    object cbbADd: TComboBox
      Left = 15
      Top = 55
      Width = 64
      Height = 21
      ItemHeight = 13
      TabOrder = 1
      Text = '01'
      Visible = False
      Items.Strings = (
        '00'
        '01'
        '01'
        '02'
        '03'
        '04'
        '05'
        '06'
        '07'
        '08'
        '09'
        '0A'
        '0B'
        '0C'
        '0D'
        '0E'
        '0F'
        '10'
        '11'
        '12'
        '13'
        '14'
        '15'
        '16'
        '17'
        '18'
        '19'
        '1A'
        '1B'
        '1C'
        '1D'
        '1E'
        '1F'
        '20'
        '21'
        '22'
        '23'
        '24'
        '25'
        '26'
        '27'
        '28'
        '29'
        '2A'
        '2B'
        '2C'
        '2D'
        '2E'
        '2F')
    end
    object btnADD: TButton
      Left = 104
      Top = 152
      Width = 75
      Height = 25
      Caption = #28155#21152
      TabOrder = 2
      OnClick = btnADDClick
    end
    object edtACName: TEdit
      Left = 24
      Top = 104
      Width = 65
      Height = 21
      TabOrder = 3
      Visible = False
    end
    object dbcbbid: TDBComboBox
      Left = 104
      Top = 32
      Width = 57
      Height = 21
      DataField = 'id'
      DataSource = dsac
      ItemHeight = 13
      TabOrder = 4
    end
    object dbcbbadd: TDBComboBox
      Left = 104
      Top = 80
      Width = 57
      Height = 21
      DataField = 'ACAddress'
      DataSource = dsac
      ItemHeight = 13
      TabOrder = 5
    end
    object dbedtname: TDBEdit
      Left = 96
      Top = 120
      Width = 81
      Height = 21
      DataField = 'name'
      DataSource = dsac
      TabOrder = 6
    end
    object btndel: TButton
      Left = 16
      Top = 152
      Width = 75
      Height = 25
      Caption = #21024#38500
      TabOrder = 7
      OnClick = btndelClick
    end
  end
  object dbgrd1: TDBGrid
    Left = 24
    Top = 64
    Width = 209
    Height = 185
    DataSource = dsac
    TabOrder = 1
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'MS Sans Serif'
    TitleFont.Style = []
    Columns = <
      item
        Expanded = False
        FieldName = 'ACAddress'
        Title.Caption = #31354#35843#22320#22336
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'id'
        Title.Caption = #25509#21475#26495#22320#22336
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'name'
        Title.Caption = #31354#35843#21517#23383
        Visible = True
      end>
  end
  object grp2: TGroupBox
    Left = 64
    Top = 272
    Width = 329
    Height = 145
    Caption = #23450#26102#22120#35774#32622#65292#29992#20110#23450#26102#25910#38598#25968#25454
    TabOrder = 2
    object lbl5: TLabel
      Left = 16
      Top = 32
      Width = 84
      Height = 13
      Caption = #23450#26102#37319#38598#21608#26399#65306
    end
    object lbl6: TLabel
      Left = 168
      Top = 32
      Width = 12
      Height = 13
      Caption = #31186
    end
    object lbl4: TLabel
      Left = 16
      Top = 76
      Width = 84
      Height = 13
      Caption = #24403#21069#37319#38598#21608#26399#65306
    end
    object Label1: TLabel
      Left = 168
      Top = 76
      Width = 12
      Height = 13
      Caption = #31186
    end
    object edttimer: TEdit
      Left = 112
      Top = 24
      Width = 49
      Height = 21
      TabOrder = 0
      Text = '1'
    end
    object btntimer: TButton
      Left = 224
      Top = 24
      Width = 75
      Height = 25
      Caption = #35774#32622#21608#26399
      TabOrder = 1
      OnClick = btntimerClick
    end
    object edttimer2: TEdit
      Left = 112
      Top = 68
      Width = 49
      Height = 21
      TabOrder = 2
    end
    object btnGetTimer: TButton
      Left = 224
      Top = 64
      Width = 75
      Height = 25
      Caption = #33719#21462#21608#26399
      TabOrder = 3
      OnClick = btnGetTimerClick
    end
    object btnStart: TButton
      Left = 40
      Top = 104
      Width = 105
      Height = 25
      Caption = #21551#21160#23450#26102#37319#38598
      TabOrder = 4
      OnClick = btnStartClick
    end
    object btnStop: TButton
      Left = 184
      Top = 104
      Width = 105
      Height = 25
      Caption = #20572#27490#23450#26102#37319#38598
      TabOrder = 5
      OnClick = btnStopClick
    end
  end
  object qryac: TADOQuery
    Connection = frmain.conAir
    CursorType = ctStatic
    Parameters = <>
    SQL.Strings = (
      'select * from AC')
    Left = 72
  end
  object dsac: TDataSource
    DataSet = qryac
    Left = 112
  end
  object qryac1: TADOQuery
    Connection = frmain.conAir
    Parameters = <>
    Left = 376
    Top = 24
  end
end

⌨️ 快捷键说明

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