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

📄 com_send.dfm

📁 串口数据传输,用Tcomm或MSComm控件
💻 DFM
📖 第 1 页 / 共 3 页
字号:
        Top = 337
        Width = 56
        Height = 25
        Caption = #28155#21152#21333#25143#30005#37327'   '
        TabOrder = 13
        Visible = False
        OnClick = Button18Click
      end
      object edchannel_8: TEdit
        Left = 296
        Top = 341
        Width = 34
        Height = 21
        ImeName = #20013#25991' ('#31616#20307') - '#24494#36719#25340#38899#36755#20837#27861' 3.0 '#29256
        TabOrder = 14
        Text = '1'
        Visible = False
        OnKeyPress = edadressKeyPress
      end
      object UpDown12: TUpDown
        Left = 329
        Top = 341
        Width = 16
        Height = 21
        Associate = edchannel_8
        Min = 1
        Max = 16
        Position = 1
        TabOrder = 15
        Visible = False
        Wrap = True
      end
      object edcount_4: TEdit
        Left = 353
        Top = 342
        Width = 26
        Height = 21
        ImeName = #20013#25991' ('#31616#20307') - '#24494#36719#25340#38899#36755#20837#27861' 3.0 '#29256
        TabOrder = 16
        Text = '0'
        Visible = False
        OnKeyPress = edcount_2KeyPress
      end
      object Panel2: TPanel
        Left = 387
        Top = 337
        Width = 329
        Height = 30
        BevelInner = bvLowered
        Caption = #31354#65288'0'#65289#65292#26222#36890#65288'1'#65289#65292#20844#29992#65288'2'#65289#65292#22791#29992#65288'3'#65289
        TabOrder = 17
        Visible = False
      end
      object Button26: TButton
        Left = 22
        Top = 135
        Width = 129
        Height = 25
        Caption = #35774#25972#26495#23450#26102#24320#20851'   '
        TabOrder = 18
        OnClick = Button26Click
      end
      object Button27: TButton
        Left = 372
        Top = 46
        Width = 196
        Height = 25
        Caption = '    '#35774#32622#36879#25903#29992#30005#37327#65288#21021#22987#21270#65289'   '
        TabOrder = 19
        OnClick = Button27Click
      end
      object edchannel_10: TEdit
        Left = 660
        Top = 50
        Width = 73
        Height = 21
        ImeName = #20013#25991' ('#31616#20307') - '#24494#36719#25340#38899#36755#20837#27861' 3.0 '#29256
        TabOrder = 20
        Text = '1'
        OnKeyPress = edadressKeyPress
      end
      object UpDown6: TUpDown
        Left = 733
        Top = 50
        Width = 16
        Height = 21
        Associate = edchannel_10
        Min = 1
        Max = 16
        Position = 1
        TabOrder = 21
        Wrap = True
      end
      object edcount_7: TEdit
        Left = 663
        Top = 83
        Width = 73
        Height = 21
        ImeName = #20013#25991' ('#31616#20307') - '#24494#36719#25340#38899#36755#20837#27861' 3.0 '#29256
        TabOrder = 22
        Text = '0'
        OnKeyPress = edcount_2KeyPress
      end
      object Button29: TButton
        Left = 23
        Top = 192
        Width = 129
        Height = 25
        Caption = #21333#29992#25143#36890#26029#21629#20196'   '
        TabOrder = 23
        OnClick = Button29Click
      end
      object edchannel_12: TEdit
        Left = 246
        Top = 192
        Width = 40
        Height = 21
        ImeName = #20013#25991' ('#31616#20307') - '#24494#36719#25340#38899#36755#20837#27861' 3.0 '#29256
        TabOrder = 24
        Text = '1'
        OnKeyPress = edadressKeyPress
      end
      object UpDown13: TUpDown
        Left = 286
        Top = 192
        Width = 16
        Height = 21
        Associate = edchannel_12
        Min = 1
        Max = 16
        Position = 1
        TabOrder = 25
        Wrap = True
      end
      object Button30: TButton
        Left = 369
        Top = 145
        Width = 196
        Height = 25
        Caption = ' '#36879#25903#29992#30005'  '
        TabOrder = 26
        OnClick = Button30Click
      end
      object edchannel_13: TEdit
        Left = 660
        Top = 149
        Width = 73
        Height = 21
        ImeName = #20013#25991' ('#31616#20307') - '#24494#36719#25340#38899#36755#20837#27861' 3.0 '#29256
        TabOrder = 27
        Text = '1'
        OnKeyPress = edadressKeyPress
      end
      object UpDown14: TUpDown
        Left = 733
        Top = 149
        Width = 16
        Height = 21
        Associate = edchannel_13
        Min = 1
        Max = 16
        Position = 1
        TabOrder = 28
        Wrap = True
      end
      object rbopen: TRadioButton
        Left = 328
        Top = 195
        Width = 49
        Height = 17
        Caption = #24320
        TabOrder = 29
      end
      object rbclose: TRadioButton
        Left = 392
        Top = 196
        Width = 49
        Height = 17
        Caption = #20851
        TabOrder = 30
      end
      object rbopen1: TRadioButton
        Left = 175
        Top = 142
        Width = 49
        Height = 17
        Caption = #24320
        Checked = True
        TabOrder = 31
        TabStop = True
      end
      object rbclose1: TRadioButton
        Left = 239
        Top = 143
        Width = 49
        Height = 17
        Caption = #20851
        TabOrder = 32
      end
    end
    object TabSheet5: TTabSheet
      Caption = #39'        '#39
      ImageIndex = 4
      object Label19: TLabel
        Left = 264
        Top = 42
        Width = 47
        Height = 13
        AutoSize = False
        Caption = #26495#25968#37327
        Visible = False
      end
      object Label20: TLabel
        Left = 264
        Top = 72
        Width = 54
        Height = 13
        AutoSize = False
        Caption = #21345#23494#38053
        Visible = False
      end
      object Label21: TLabel
        Left = 245
        Top = 125
        Width = 78
        Height = 13
        AutoSize = False
        Caption = #25552#31034#36141#30005#25968
        Visible = False
      end
      object Label22: TLabel
        Left = 260
        Top = 181
        Width = 59
        Height = 13
        AutoSize = False
        Caption = #36879#25903#30005#37327
        Visible = False
      end
      object Button14: TButton
        Left = 41
        Top = 35
        Width = 182
        Height = 25
        Caption = #20840#26635#20844#20849#25968#25454#21021#22987#21270'1   '
        TabOrder = 0
        Visible = False
        OnClick = Button14Click
      end
      object edcount_1: TEdit
        Left = 320
        Top = 39
        Width = 121
        Height = 21
        ImeName = #20013#25991' ('#31616#20307') - '#24494#36719#25340#38899#36755#20837#27861' 3.0 '#29256
        TabOrder = 1
        Text = 'edcount_1'
        Visible = False
        OnKeyPress = edadressKeyPress
      end
      object edkey: TEdit
        Left = 320
        Top = 72
        Width = 121
        Height = 21
        ImeName = #20013#25991' ('#31616#20307') - '#24494#36719#25340#38899#36755#20837#27861' 3.0 '#29256
        TabOrder = 2
        Text = 'edkey'
        Visible = False
        OnKeyPress = edadressKeyPress
      end
      object Button15: TButton
        Left = 41
        Top = 118
        Width = 182
        Height = 25
        Caption = #20840#26635#20844#20849#25968#25454#21021#22987#21270'2    '
        TabOrder = 3
        Visible = False
        OnClick = Button15Click
      end
      object edcount_2: TEdit
        Left = 320
        Top = 123
        Width = 121
        Height = 21
        AutoSize = False
        ImeName = #20013#25991' ('#31616#20307') - '#24494#36719#25340#38899#36755#20837#27861' 3.0 '#29256
        TabOrder = 4
        Text = 'edcount_2'
        Visible = False
        OnKeyPress = edcount_2KeyPress
      end
      object Button16: TButton
        Left = 41
        Top = 176
        Width = 182
        Height = 27
        Caption = #20840#26635#20844#20849#25968#25454#21021#22987#21270'3     '
        TabOrder = 5
        Visible = False
        OnClick = Button16Click
      end
      object edcount_3: TEdit
        Left = 324
        Top = 177
        Width = 115
        Height = 21
        AutoSize = False
        ImeName = #20013#25991' ('#31616#20307') - '#24494#36719#25340#38899#36755#20837#27861' 3.0 '#29256
        TabOrder = 6
        Text = 'edcount_3'
        Visible = False
        OnKeyPress = edcount_2KeyPress
      end
    end
  end
  object Panel1: TPanel
    Left = 0
    Top = 0
    Width = 785
    Height = 105
    Align = alTop
    TabOrder = 1
    object laCom: TLabel
      Left = 32
      Top = 30
      Width = 36
      Height = 13
      Caption = #20018#21475#65306
    end
    object Label1: TLabel
      Left = 25
      Top = 70
      Width = 57
      Height = 13
      AutoSize = False
      Caption = #26495#22320#22336#65306
    end
    object Label12: TLabel
      Left = 199
      Top = 69
      Width = 57
      Height = 13
      AutoSize = False
      Caption = #26635#22320#22336#65306
      Visible = False
    end
    object coComm: TComboBox
      Left = 77
      Top = 27
      Width = 90
      Height = 18
      Style = csOwnerDrawFixed
      ImeName = #20013#25991' ('#31616#20307') - '#24494#36719#25340#38899#36755#20837#27861' 3.0 '#29256
      ItemHeight = 12
      ItemIndex = 0
      TabOrder = 0
      Text = 'com1'
      Items.Strings = (
        'com1'
        'com2'
        'com3'
        'com4'
        'com5')
    end
    object UpDown1: TUpDown
      Left = 127
      Top = 67
      Width = 17
      Height = 21
      Associate = edadress
      Max = 24
      Position = 1
      TabOrder = 1
      Thousands = False
      Wrap = True
    end
    object edadress: TEdit
      Left = 78
      Top = 67
      Width = 49
      Height = 21
      ImeName = #20013#25991' ('#31616#20307') - '#24494#36719#25340#38899#36755#20837#27861' 3.0 '#29256
      TabOrder = 2
      Text = '1'
      OnKeyPress = edadressKeyPress
    end
    object Button5: TButton
      Left = 664
      Top = 61
      Width = 75
      Height = 25
      Caption = #20851#38381
      TabOrder = 3
      OnClick = Button5Click
    end
    object edhouse: TEdit
      Left = 253
      Top = 66
      Width = 49
      Height = 21
      ImeName = #20013#25991' ('#31616#20307') - '#24494#36719#25340#38899#36755#20837#27861' 3.0 '#29256
      TabOrder = 4
      Text = '1'
      Visible = False
      OnKeyPress = edadressKeyPress
    end
    object UpDown8: TUpDown
      Left = 302
      Top = 66
      Width = 16
      Height = 21
      Associate = edhouse
      Max = 255
      Position = 1
      TabOrder = 5
      Thousands = False
      Visible = False
      Wrap = True
    end
    object paecho_s: TPanel
      Left = 336
      Top = 8
      Width = 305
      Height = 81
      BevelInner = bvLowered
      TabOrder = 6
      object Memo2: TMemo
        Left = 2
        Top = 2
        Width = 301
        Height = 77
        Align = alClient
        Lines.Strings = (
          'Memo2')
        ReadOnly = True
        TabOrder = 0
      end
    end
  end
  object Comm1: TComm
    CommPort = pnCOM10
    PortOpen = False
    BaudRate = br9600
    HwHandShaking = hhNone
    SwHandShaking = shNone
    DataBits = DB8
    Parity = None
    StopBits = SB1
    InputLen = 0
    RThreshold = 1
    DTREnabled = False
    RTSEnabled = False
    DataCount = 1073969324
    OnReceiveData = Comm1ReceiveData
    Left = 201
    Top = 15
  end
end

⌨️ 快捷键说明

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