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

📄 apggps.~dfm

📁 利用SPCOMM和Socket写的高速短信串口服务器
💻 ~DFM
字号:
object frmMain: TfrmMain
  Left = 132
  Top = 95
  Width = 503
  Height = 385
  Caption = #30701#20449#26381#21153#22120
  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
  OnDestroy = FormDestroy
  PixelsPerInch = 96
  TextHeight = 13
  object GroupBox1: TGroupBox
    Left = 24
    Top = 8
    Width = 193
    Height = 121
    Caption = 'Socket'#26381#21153#22120
    TabOrder = 0
    object Label1: TLabel
      Left = 8
      Top = 24
      Width = 60
      Height = 13
      Caption = #30417#21548#31471#21475#65306
    end
    object edtListenPort: TEdit
      Left = 72
      Top = 16
      Width = 97
      Height = 21
      ImeName = #20013#25991' ('#31616#20307') - '#24494#36719#25340#38899
      TabOrder = 0
    end
    object Button1: TButton
      Left = 32
      Top = 72
      Width = 97
      Height = 33
      Caption = #24320#22987#30417#21548
      TabOrder = 1
      OnClick = Button1Click
    end
  end
  object GroupBox2: TGroupBox
    Left = 248
    Top = 8
    Width = 193
    Height = 121
    Caption = #30701#20449#26381#21153#22120
    TabOrder = 1
    object Label2: TLabel
      Left = 8
      Top = 24
      Width = 24
      Height = 13
      Caption = #20018#21475
    end
    object Label3: TLabel
      Left = 8
      Top = 56
      Width = 48
      Height = 13
      Caption = #36890#35759#36895#29575
    end
    object edtComPort: TEdit
      Left = 72
      Top = 24
      Width = 73
      Height = 21
      ImeName = #20013#25991' ('#31616#20307') - '#24494#36719#25340#38899
      TabOrder = 0
    end
    object edtComSpeed: TEdit
      Left = 72
      Top = 56
      Width = 73
      Height = 21
      ImeName = #20013#25991' ('#31616#20307') - '#24494#36719#25340#38899
      TabOrder = 1
    end
    object Button2: TButton
      Left = 16
      Top = 88
      Width = 65
      Height = 25
      Caption = #25171#24320#20018#21475
      TabOrder = 2
      OnClick = Button2Click
    end
    object Button3: TButton
      Left = 112
      Top = 88
      Width = 65
      Height = 25
      Caption = #21551#21160#32447#31243
      TabOrder = 3
      OnClick = Button3Click
    end
  end
  object StatusBar1: TStatusBar
    Left = 0
    Top = 357
    Width = 479
    Height = 19
    Panels = <
      item
        Width = 100
      end
      item
        Width = 100
      end
      item
        Width = 100
      end
      item
        Width = 50
      end>
    SimplePanel = False
  end
  object Memo1: TMemo
    Left = 24
    Top = 136
    Width = 417
    Height = 193
    ImeName = #20013#25991' ('#31616#20307') - '#24494#36719#25340#38899
    Lines.Strings = (
      'Memo1')
    TabOrder = 3
  end
  object autoRecMessage: TCheckBox
    Left = 24
    Top = 336
    Width = 97
    Height = 17
    Caption = #33258#21160#26816#27979#30701#20449
    TabOrder = 4
  end
  object hexshow: TCheckBox
    Left = 152
    Top = 336
    Width = 97
    Height = 17
    Caption = '16'#36827#21046#26174#31034
    TabOrder = 5
  end
  object Edit1: TEdit
    Left = 296
    Top = 336
    Width = 121
    Height = 21
    ImeName = #20013#25991' ('#31616#20307') - '#24494#36719#25340#38899
    TabOrder = 6
    Text = 'Edit1'
  end
  object ServerSocket: TServerSocket
    Active = False
    Port = 0
    ServerType = stNonBlocking
    OnListen = ServerSocketListen
    OnGetSocket = ServerSocketGetClient
    OnClientConnect = SerSocketClientConnect
    OnClientDisconnect = ServerSocketClientDisconnect
    OnClientRead = ServerSocketClientRead
    OnClientError = ServerSocketClientError
    Left = 184
    Top = 48
  end
  object Comm1: TComm
    CommName = 'COM2'
    BaudRate = 9600
    ParityCheck = False
    Outx_CtsFlow = False
    Outx_DsrFlow = False
    DtrControl = DtrEnable
    DsrSensitivity = False
    TxContinueOnXoff = True
    Outx_XonXoffFlow = True
    Inx_XonXoffFlow = True
    ReplaceWhenParityError = False
    IgnoreNullChar = False
    RtsControl = RtsEnable
    XonLimit = 500
    XoffLimit = 500
    ByteSize = _8
    Parity = None
    StopBits = _1
    XonChar = #17
    XoffChar = #19
    ReplacedChar = #0
    ReadIntervalTimeout = 100
    ReadTotalTimeoutMultiplier = 0
    ReadTotalTimeoutConstant = 0
    WriteTotalTimeoutMultiplier = 0
    WriteTotalTimeoutConstant = 0
    OnReceiveData = Comm1ReceiveData
    Left = 440
    Top = 24
  end
  object Timer1: TTimer
    Enabled = False
    OnTimer = Timer1Timer
    Left = 440
    Top = 56
  end
  object auto_rec_timer: TTimer
    Interval = 2000
    OnTimer = auto_rec_timerTimer
    Left = 440
    Top = 88
  end
end

⌨️ 快捷键说明

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