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

📄 dataaccess.dfm

📁 一般OPTO22工业控制器主要用于IO控制,用途比较广泛而其上位机一般使用DELPHI平台或BCB平台进行建模和控制,该程序实现了OPTO和C++builder平台下上位机之间模拟量数字量的传输,并以
💻 DFM
字号:
object Form2: TForm2
  Left = 348
  Top = 53
  Width = 498
  Height = 484
  Caption = 'Form2'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  OnClose = FormClose
  PixelsPerInch = 96
  TextHeight = 13
  object Label9: TLabel
    Left = 136
    Top = 16
    Width = 180
    Height = 19
    Caption = #25968#25454#37319#38598#19982#26174#31034#31034#20363
    Font.Charset = GB2312_CHARSET
    Font.Color = clWindowText
    Font.Height = -19
    Font.Name = #26999#20307'_GB2312'
    Font.Style = []
    ParentFont = False
  end
  object GroupBox1: TGroupBox
    Left = 16
    Top = 48
    Width = 177
    Height = 137
    Caption = #25968#23383#37327#36755#20837
    Font.Charset = GB2312_CHARSET
    Font.Color = clWindowText
    Font.Height = -16
    Font.Name = #26999#20307'_GB2312'
    Font.Style = []
    ParentFont = False
    TabOrder = 0
    object Label1: TLabel
      Left = 16
      Top = 40
      Width = 56
      Height = 16
      Caption = #36890#36947'3'#65306
    end
    object Label2: TLabel
      Left = 16
      Top = 96
      Width = 56
      Height = 16
      Caption = #36890#36947'4'#65306
    end
    object DigModule3: TEdit
      Left = 72
      Top = 32
      Width = 73
      Height = 27
      Color = clMenuBar
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -16
      Font.Name = 'Times New Roman'
      Font.Style = [fsBold]
      ParentFont = False
      ReadOnly = True
      TabOrder = 0
    end
    object DigModule4: TEdit
      Left = 72
      Top = 88
      Width = 73
      Height = 27
      Color = clMenuBar
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -16
      Font.Name = 'Times New Roman'
      Font.Style = [fsBold]
      ParentFont = False
      ReadOnly = True
      TabOrder = 1
      OnChange = DigModule4Change
    end
  end
  object GroupBox2: TGroupBox
    Left = 216
    Top = 48
    Width = 265
    Height = 137
    Caption = #27169#25311#37327#36755#20986
    Font.Charset = GB2312_CHARSET
    Font.Color = clWindowText
    Font.Height = -16
    Font.Name = #26999#20307'_GB2312'
    Font.Style = []
    ParentFont = False
    TabOrder = 1
    object Label4: TLabel
      Left = 8
      Top = 40
      Width = 72
      Height = 16
      Caption = #36890#36947'6_1'#65306
    end
    object Label5: TLabel
      Left = 8
      Top = 96
      Width = 72
      Height = 16
      Caption = #36890#36947'6_2'#65306
    end
    object AnaModule6_1: TEdit
      Left = 80
      Top = 32
      Width = 97
      Height = 27
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -16
      Font.Name = 'Times New Roman'
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 0
    end
    object AnaModule6_2: TEdit
      Left = 80
      Top = 88
      Width = 97
      Height = 27
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -16
      Font.Name = 'Times New Roman'
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 1
    end
    object AnaModule6_1_set: TButton
      Left = 208
      Top = 32
      Width = 41
      Height = 25
      Caption = #20889#20837
      TabOrder = 2
      OnClick = AnaModule6_1_setClick
    end
    object AnaModule6_2_set: TButton
      Left = 208
      Top = 88
      Width = 41
      Height = 25
      Caption = #20889#20837
      TabOrder = 3
      OnClick = AnaModule6_2_setClick
    end
  end
  object GroupBox3: TGroupBox
    Left = 16
    Top = 200
    Width = 177
    Height = 193
    Caption = #27169#25311#37327#36755#20837
    Font.Charset = GB2312_CHARSET
    Font.Color = clWindowText
    Font.Height = -16
    Font.Name = #26999#20307'_GB2312'
    Font.Style = []
    ParentFont = False
    TabOrder = 2
    object Label6: TLabel
      Left = 8
      Top = 32
      Width = 72
      Height = 16
      Caption = #36890#36947'0_1'#65306
    end
    object Label3: TLabel
      Left = 8
      Top = 72
      Width = 72
      Height = 16
      Caption = #36890#36947'0_2'#65306
    end
    object Label7: TLabel
      Left = 8
      Top = 112
      Width = 72
      Height = 16
      Caption = #36890#36947'0_3'#65306
    end
    object Label8: TLabel
      Left = 8
      Top = 152
      Width = 72
      Height = 16
      Caption = #36890#36947'0_4'#65306
    end
    object AnaModule0_1: TEdit
      Left = 80
      Top = 32
      Width = 89
      Height = 27
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -16
      Font.Name = 'Times New Roman'
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 0
    end
    object AnaModule0_2: TEdit
      Left = 80
      Top = 72
      Width = 89
      Height = 27
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -16
      Font.Name = 'Times New Roman'
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 1
    end
    object AnaModule0_3: TEdit
      Left = 80
      Top = 112
      Width = 89
      Height = 27
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -16
      Font.Name = 'Times New Roman'
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 2
    end
    object AnaModule0_4: TEdit
      Left = 80
      Top = 152
      Width = 89
      Height = 27
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -16
      Font.Name = 'Times New Roman'
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 3
    end
  end
  object Button1: TButton
    Left = 48
    Top = 416
    Width = 97
    Height = 25
    Caption = #26029#24320#36830#25509
    Font.Charset = GB2312_CHARSET
    Font.Color = clWindowText
    Font.Height = -16
    Font.Name = #26999#20307'_GB2312'
    Font.Style = []
    ParentFont = False
    TabOrder = 3
    OnClick = Button1Click
  end
  object GroupBox4: TGroupBox
    Left = 216
    Top = 200
    Width = 265
    Height = 249
    Caption = #21464#37327#25805#20316
    Font.Charset = GB2312_CHARSET
    Font.Color = clWindowText
    Font.Height = -16
    Font.Name = #26999#20307'_GB2312'
    Font.Style = []
    ParentFont = False
    TabOrder = 4
    object Label10: TLabel
      Left = 8
      Top = 32
      Width = 120
      Height = 16
      Caption = #35835#21462'64bit'#21464#37327#65306
    end
    object Label11: TLabel
      Left = 8
      Top = 64
      Width = 144
      Height = 16
      Caption = #35835#21462#31532'5'#20010'Int'#21464#37327#65306
    end
    object Label12: TLabel
      Left = 8
      Top = 96
      Width = 128
      Height = 16
      Caption = #20889#31532'5'#20010'bit'#21464#37327#65306
    end
    object Label13: TLabel
      Left = 8
      Top = 128
      Width = 88
      Height = 16
      Caption = #20889#20840'64bit'#65306
    end
    object Label14: TLabel
      Left = 8
      Top = 160
      Width = 96
      Height = 16
      Caption = #20889#31532'5'#20010'Int'#65306
    end
    object Label15: TLabel
      Left = 8
      Top = 192
      Width = 96
      Height = 16
      Caption = 'N'#20010#36830#32493'Str'#65306
    end
    object Label16: TLabel
      Left = 88
      Top = 128
      Width = 11
      Height = 15
      Caption = '0x'
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = 'Times New Roman'
      Font.Style = []
      ParentFont = False
    end
    object ScratchbitRead: TEdit
      Left = 120
      Top = 24
      Width = 137
      Height = 23
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = 'Times New Roman'
      Font.Style = []
      ParentFont = False
      TabOrder = 0
    end
    object ScratchRead_intN: TEdit
      Left = 144
      Top = 56
      Width = 113
      Height = 23
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = 'Times New Roman'
      Font.Style = []
      ParentFont = False
      TabOrder = 1
    end
    object ScratchWrite_bitN_set: TButton
      Left = 152
      Top = 88
      Width = 41
      Height = 25
      Caption = #32622#20301
      TabOrder = 2
      OnClick = ScratchWrite_bitN_setClick
    end
    object ScratchbitWrite: TEdit
      Left = 104
      Top = 120
      Width = 105
      Height = 23
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = 'Times New Roman'
      Font.Style = []
      MaxLength = 16
      ParentFont = False
      TabOrder = 3
    end
    object ScratchbitRead_set: TButton
      Left = 216
      Top = 120
      Width = 41
      Height = 25
      Caption = #20889#20837
      TabOrder = 4
      OnClick = ScratchbitRead_setClick
    end
    object ScratchWrite_IntN: TEdit
      Left = 104
      Top = 152
      Width = 105
      Height = 23
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = 'Times New Roman'
      Font.Style = []
      ParentFont = False
      TabOrder = 5
    end
    object ScratchWrite_IntN_set: TButton
      Left = 216
      Top = 152
      Width = 41
      Height = 25
      Caption = #20889#20837
      TabOrder = 6
      OnClick = ScratchWrite_IntN_setClick
    end
    object Str1: TEdit
      Left = 96
      Top = 184
      Width = 49
      Height = 23
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = #21326#25991#20013#23435
      Font.Style = []
      ParentFont = False
      TabOrder = 7
    end
    object Str2: TEdit
      Left = 152
      Top = 184
      Width = 49
      Height = 23
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = #21326#25991#20013#23435
      Font.Style = []
      ParentFont = False
      TabOrder = 8
    end
    object Str3: TEdit
      Left = 208
      Top = 184
      Width = 49
      Height = 23
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = #21326#25991#20013#23435
      Font.Style = []
      ParentFont = False
      TabOrder = 9
    end
    object ScratchWrite_CNStr_set: TButton
      Left = 208
      Top = 216
      Width = 41
      Height = 25
      Caption = #20889#20837
      TabOrder = 10
      OnClick = ScratchWrite_CNStr_setClick
    end
    object ScratchWrite_bitN_clear: TButton
      Left = 216
      Top = 88
      Width = 41
      Height = 25
      Caption = #28165#38646
      TabOrder = 11
      OnClick = ScratchWrite_bitN_clearClick
    end
  end
  object Timer1: TTimer
    Interval = 100
    OnTimer = Timer1Timer
    Left = 440
    Top = 16
  end
end

⌨️ 快捷键说明

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