📄 diodform.dfm
字号:
object MainFrm: TMainFrm
Left = 269
Top = 126
BorderIcons = [biSystemMenu, biMinimize]
BorderStyle = bsSingle
Caption = 'DIO_SOFT_DWORD'
ClientHeight = 544
ClientWidth = 562
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 DigitalOutput: TGroupBox
Left = 14
Top = 129
Width = 537
Height = 312
Caption = 'Digital Output Value'
TabOrder = 0
object chkD0: TCheckBox
Left = 16
Top = 24
Width = 41
Height = 17
Caption = 'D0'
TabOrder = 0
end
object chkD1: TCheckBox
Left = 64
Top = 24
Width = 41
Height = 17
Caption = 'D1'
TabOrder = 1
end
object chkD2: TCheckBox
Left = 112
Top = 24
Width = 41
Height = 17
Caption = 'D2'
TabOrder = 2
end
object chkD3: TCheckBox
Left = 160
Top = 24
Width = 41
Height = 17
Caption = 'D3'
TabOrder = 3
end
object chkD4: TCheckBox
Left = 208
Top = 24
Width = 41
Height = 17
Caption = 'D4'
TabOrder = 4
end
object chkD5: TCheckBox
Left = 256
Top = 24
Width = 41
Height = 17
Caption = 'D5'
TabOrder = 5
end
object chkD6: TCheckBox
Left = 304
Top = 24
Width = 41
Height = 17
Caption = 'D6'
TabOrder = 6
end
object chkD7: TCheckBox
Left = 352
Top = 24
Width = 41
Height = 17
Caption = 'D7'
TabOrder = 7
end
object chkD23: TCheckBox
Left = 352
Top = 88
Width = 41
Height = 17
Caption = 'D23'
TabOrder = 23
end
object chkD22: TCheckBox
Left = 304
Top = 88
Width = 41
Height = 17
Caption = 'D22'
TabOrder = 22
end
object chkD21: TCheckBox
Left = 256
Top = 88
Width = 41
Height = 17
Caption = 'D21'
TabOrder = 21
end
object chkD20: TCheckBox
Left = 208
Top = 88
Width = 41
Height = 17
Caption = 'D20'
TabOrder = 20
end
object chkD19: TCheckBox
Left = 160
Top = 88
Width = 41
Height = 17
Caption = 'D19'
TabOrder = 19
end
object chkD18: TCheckBox
Left = 112
Top = 88
Width = 41
Height = 17
Caption = 'D18'
TabOrder = 18
end
object chkD17: TCheckBox
Left = 64
Top = 88
Width = 41
Height = 17
Caption = 'D17'
TabOrder = 17
end
object chkD16: TCheckBox
Left = 16
Top = 88
Width = 41
Height = 17
Caption = 'D16'
TabOrder = 16
end
object chkD31: TCheckBox
Left = 352
Top = 112
Width = 41
Height = 17
Caption = 'D31'
TabOrder = 31
end
object chkD30: TCheckBox
Left = 304
Top = 112
Width = 41
Height = 17
Caption = 'D30'
TabOrder = 30
end
object chkD29: TCheckBox
Left = 256
Top = 112
Width = 41
Height = 17
Caption = 'D29'
TabOrder = 29
end
object chkD28: TCheckBox
Left = 208
Top = 112
Width = 41
Height = 17
Caption = 'D28'
TabOrder = 28
end
object chkD27: TCheckBox
Left = 160
Top = 112
Width = 41
Height = 17
Caption = 'D27'
TabOrder = 27
end
object chkD26: TCheckBox
Left = 112
Top = 112
Width = 41
Height = 17
Caption = 'D26'
TabOrder = 26
end
object chkD25: TCheckBox
Left = 64
Top = 112
Width = 41
Height = 17
Caption = 'D25'
TabOrder = 25
end
object chkD24: TCheckBox
Left = 16
Top = 112
Width = 41
Height = 17
Caption = 'D24'
TabOrder = 24
end
object chkD14: TCheckBox
Left = 304
Top = 48
Width = 41
Height = 17
Caption = 'D14'
TabOrder = 14
end
object chkD15: TCheckBox
Left = 352
Top = 48
Width = 41
Height = 17
Caption = 'D15'
TabOrder = 15
end
object chkD11: TCheckBox
Left = 160
Top = 48
Width = 41
Height = 17
Caption = 'D11'
TabOrder = 11
end
object chkD8: TCheckBox
Left = 16
Top = 48
Width = 41
Height = 17
Caption = 'D8'
TabOrder = 8
end
object chkD9: TCheckBox
Left = 64
Top = 48
Width = 41
Height = 17
Caption = 'D9'
TabOrder = 9
end
object chkD10: TCheckBox
Left = 112
Top = 48
Width = 41
Height = 17
Caption = 'D10'
TabOrder = 10
end
object chkD12: TCheckBox
Left = 208
Top = 48
Width = 41
Height = 17
Caption = 'D12'
TabOrder = 12
end
object chkD13: TCheckBox
Left = 256
Top = 48
Width = 41
Height = 17
Caption = 'D13'
TabOrder = 13
end
object btnDWrite: TButton
Left = 440
Top = 96
Width = 73
Height = 25
Caption = 'Write DWord'
TabOrder = 34
OnClick = btnDWriteClick
end
object btnWrite: TButton
Left = 440
Top = 32
Width = 73
Height = 25
Caption = 'Write Word'
TabOrder = 33
OnClick = btnWriteClick
end
object GroupBox13: TGroupBox
Left = 16
Top = 144
Width = 393
Height = 57
Caption = 'Mask Setting'
TabOrder = 32
object Label8: TLabel
Left = 362
Top = 26
Width = 19
Height = 13
Caption = 'Hex'
end
object Label3: TLabel
Left = 200
Top = 26
Width = 64
Height = 13
Caption = 'Dword Value:'
end
object Label13: TLabel
Left = 8
Top = 27
Width = 59
Height = 13
Caption = 'Word Value:'
end
object Hex: TLabel
Left = 168
Top = 26
Width = 19
Height = 13
Caption = 'Hex'
end
object txtWriteDMask: TEdit
Left = 275
Top = 24
Width = 81
Height = 21
ImeName = '?D?? (?'#242#236'?) - ?'#65504#232#237'?'#8242#242'?'
MaxLength = 8
TabOrder = 1
end
object txtWriteMask: TEdit
Left = 80
Top = 24
Width = 81
Height = 21
ImeName = '?D?? (?'#242#236'?) - ?'#65504#232#237'?'#8242#242'?'
MaxLength = 4
TabOrder = 0
end
end
object btnGetD: TButton
Left = 440
Top = 226
Width = 73
Height = 25
Caption = 'Get Word'
TabOrder = 35
OnClick = btnGetDClick
end
object btnGetDD: TButton
Left = 440
Top = 261
Width = 73
Height = 25
Caption = 'Get DWord'
TabOrder = 36
OnClick = btnGetDDClick
end
object GroupBox1: TGroupBox
Left = 16
Top = 208
Width = 393
Height = 89
Caption = 'Read Back'
TabOrder = 37
object Label4: TLabel
Left = 362
Top = 55
Width = 19
Height = 13
Caption = 'Hex'
end
object Label21: TLabel
Left = 200
Top = 52
Width = 66
Height = 13
Caption = 'DWord Mask:'
end
object Label7: TLabel
Left = 362
Top = 23
Width = 19
Height = 13
Caption = 'Hex'
end
object Label20: TLabel
Left = 200
Top = 20
Width = 58
Height = 13
Caption = 'Word Mask:'
end
object Label5: TLabel
Left = 168
Top = 23
Width = 19
Height = 13
Caption = 'Hex'
end
object Label18: TLabel
Left = 8
Top = 20
Width = 59
Height = 13
Caption = 'Word Value:'
end
object Label19: TLabel
Left = 8
Top = 52
Width = 67
Height = 13
Caption = 'DWord Value:'
end
object Label6: TLabel
Left = 168
Top = 55
Width = 19
Height = 13
Caption = 'Hex'
end
object txtGetDODMask: TEdit
Left = 275
Top = 52
Width = 81
Height = 21
ImeName = '?D?? (?'#242#236'?) - ?'#65504#232#237'?'#8242#242'?'
ReadOnly = True
TabOrder = 0
end
object txtGetDOMask: TEdit
Left = 275
Top = 20
Width = 81
Height = 21
ImeName = '?D?? (?'#242#236'?) - ?'#65504#232#237'?'#8242#242'?'
ReadOnly = True
TabOrder = 1
end
object txtGetCurrentDO: TEdit
Left = 83
Top = 20
Width = 81
Height = 21
ImeName = '?D?? (?'#242#236'?) - ?'#65504#232#237'?'#8242#242'?'
ReadOnly = True
TabOrder = 2
end
object txtGetCurrentDOD: TEdit
Left = 83
Top = 52
Width = 81
Height = 21
ImeName = '?D?? (?'#242#236'?) - ?'#65504#232#237'?'#8242#242'?'
ReadOnly = True
TabOrder = 3
end
end
end
object btnExit: TButton
Left = 454
Top = 89
Width = 75
Height = 25
Caption = 'Exit'
TabOrder = 1
OnClick = btnExitClick
end
object Channel: TGroupBox
Left = 14
Top = 9
Width = 411
Height = 110
Caption = 'Device Setting'
TabOrder = 2
object Label11: TLabel
Left = 16
Top = 76
Width = 62
Height = 13
Caption = 'Port Number:'
end
object Label12: TLabel
Left = 328
Top = 79
Width = 20
Height = 13
Caption = 'Dec'
end
object Label22: TLabel
Left = 16
Top = 34
Width = 68
Height = 13
Caption = 'Device Name:'
end
object txtDeviceName: TEdit
Left = 88
Top = 32
Width = 233
Height = 21
Enabled = False
ImeName = '?D?? (?'#242#236'?) - ?'#65504#232#237'?'#8242#242'?'
TabOrder = 0
end
object btnSelectDevice: TButton
Left = 328
Top = 29
Width = 73
Height = 25
Caption = 'Select Device'
TabOrder = 1
OnClick = btnSelectDeviceClick
end
object cbbPortNum: TComboBox
Left = 88
Top = 72
Width = 233
Height = 21
ImeName = '?D?? (?'#242#236'?) - ?'#65504#232#237'?'#8242#242'?'
ItemHeight = 13
TabOrder = 2
OnChange = btnPortNum
end
end
object PortInput: TGroupBox
Left = 14
Top = 449
Width = 537
Height = 89
Caption = 'Digital Input Value'
TabOrder = 3
object Label9: TLabel
Left = 378
Top = 63
Width = 19
Height = 13
Caption = 'Hex'
end
object Label2: TLabel
Left = 378
Top = 23
Width = 19
Height = 13
Caption = 'Hex'
end
object Label10: TLabel
Left = 184
Top = 59
Width = 19
Height = 13
Caption = 'Hex'
end
object Label1: TLabel
Left = 184
Top = 23
Width = 19
Height = 13
Caption = 'Hex'
end
object Label14: TLabel
Left = 24
Top = 20
Width = 62
Height = 13
Caption = ' Word Value:'
end
object Label15: TLabel
Left = 24
Top = 57
Width = 67
Height = 13
Caption = 'DWord Value:'
end
object Label16: TLabel
Left = 216
Top = 20
Width = 58
Height = 13
Caption = 'Word Mask:'
end
object Label17: TLabel
Left = 216
Top = 57
Width = 66
Height = 13
Caption = 'DWord Mask:'
end
object btnDRead: TButton
Left = 440
Top = 56
Width = 73
Height = 25
Caption = 'Read DWord'
TabOrder = 5
OnClick = btnDReadClick
end
object btnRead: TButton
Left = 440
Top = 18
Width = 73
Height = 25
Caption = 'Read Word'
TabOrder = 2
OnClick = btnReadClick
end
object txtReadDMask: TEdit
Left = 291
Top = 58
Width = 81
Height = 21
ImeName = '?D?? (?'#242#236'?) - ?'#65504#232#237'?'#8242#242'?'
ReadOnly = True
TabOrder = 4
end
object txtReadMask: TEdit
Left = 291
Top = 19
Width = 81
Height = 21
ImeName = '?D?? (?'#242#236'?) - ?'#65504#232#237'?'#8242#242'?'
ReadOnly = True
TabOrder = 1
end
object txtReadDData: TEdit
Left = 99
Top = 58
Width = 81
Height = 21
ImeName = '?D?? (?'#242#236'?) - ?'#65504#232#237'?'#8242#242'?'
ReadOnly = True
TabOrder = 3
end
object txtReadData: TEdit
Left = 99
Top = 19
Width = 81
Height = 21
ImeName = '?D?? (?'#242#236'?) - ?'#65504#232#237'?'#8242#242'?'
ReadOnly = True
TabOrder = 0
end
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -