创新can调试器Linux版
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

307 lines
6.0 KiB

4 years ago
  1. object Form1: TForm1
  2. Left = 219
  3. Top = 115
  4. Caption = 'USB_CAN Demo'
  5. ClientHeight = 470
  6. ClientWidth = 475
  7. Color = clBtnFace
  8. Font.Charset = GB2312_CHARSET
  9. Font.Color = clWindowText
  10. Font.Height = -12
  11. Font.Name = #23435#20307
  12. Font.Style = []
  13. OldCreateOrder = False
  14. OnClose = FormClose
  15. OnCreate = FormCreate
  16. PixelsPerInch = 96
  17. TextHeight = 12
  18. object GroupBox2: TGroupBox
  19. Left = 8
  20. Top = 16
  21. Width = 457
  22. Height = 137
  23. Caption = 'Device Parameters'
  24. TabOrder = 5
  25. object Label8: TLabel
  26. Left = 3
  27. Top = 30
  28. Width = 90
  29. Height = 12
  30. Caption = 'Equipment Type:'
  31. end
  32. object Label9: TLabel
  33. Left = 210
  34. Top = 30
  35. Width = 78
  36. Height = 12
  37. Caption = 'CAN channels:'
  38. end
  39. object GroupBox3: TGroupBox
  40. Left = 13
  41. Top = 48
  42. Width = 441
  43. Height = 81
  44. Caption = 'CAN initialization parameters'
  45. TabOrder = 0
  46. object Label1: TLabel
  47. Left = 3
  48. Top = 24
  49. Width = 72
  50. Height = 12
  51. Caption = 'Acc code'#65306'0x'
  52. end
  53. object Label2: TLabel
  54. Left = 151
  55. Top = 24
  56. Width = 78
  57. Height = 12
  58. Caption = 'Mask code'#65306'0x'
  59. end
  60. object Label10: TLabel
  61. Left = 8
  62. Top = 56
  63. Width = 60
  64. Height = 12
  65. Caption = 'Timer0'#65306'0x'
  66. end
  67. object Label11: TLabel
  68. Left = 146
  69. Top = 56
  70. Width = 60
  71. Height = 12
  72. Caption = 'Timer1'#65306'0x'
  73. end
  74. object Label12: TLabel
  75. Left = 287
  76. Top = 8
  77. Width = 96
  78. Height = 12
  79. Caption = 'Filter methods'#65306
  80. end
  81. object Label13: TLabel
  82. Left = 287
  83. Top = 52
  84. Width = 36
  85. Height = 12
  86. Caption = 'Mode'#65306
  87. end
  88. object ComboBox4: TComboBox
  89. Left = 320
  90. Top = 52
  91. Width = 113
  92. Height = 20
  93. Style = csDropDownList
  94. TabOrder = 5
  95. Items.Strings = (
  96. 'Normal mode'
  97. 'Listen-only mode'
  98. 'Self-test mode')
  99. end
  100. object Edit2: TEdit
  101. Left = 80
  102. Top = 26
  103. Width = 65
  104. Height = 20
  105. TabOrder = 0
  106. Text = '00000000'
  107. end
  108. object Edit3: TEdit
  109. Left = 216
  110. Top = 19
  111. Width = 65
  112. Height = 20
  113. TabOrder = 1
  114. Text = 'FFFFFFFF'
  115. end
  116. object Edit5: TEdit
  117. Left = 80
  118. Top = 52
  119. Width = 65
  120. Height = 20
  121. TabOrder = 2
  122. Text = '00'
  123. end
  124. object Edit6: TEdit
  125. Left = 216
  126. Top = 52
  127. Width = 65
  128. Height = 20
  129. TabOrder = 3
  130. Text = '14'
  131. end
  132. object ComboBox3: TComboBox
  133. Left = 304
  134. Top = 26
  135. Width = 121
  136. Height = 20
  137. Style = csDropDownList
  138. TabOrder = 4
  139. Items.Strings = (
  140. 'Receive all types'
  141. 'Only standard frame'
  142. 'Only extended frame')
  143. end
  144. end
  145. end
  146. object ComboBox1: TComboBox
  147. Left = 107
  148. Top = 38
  149. Width = 105
  150. Height = 20
  151. Style = csDropDownList
  152. ImeName = #20013#25991' ('#31616#20307') - '#24494#36719#25340#38899
  153. TabOrder = 0
  154. OnClick = ComboBox1Click
  155. Items.Strings = (
  156. 'USB_CAN'
  157. 'USB_CAN2')
  158. end
  159. object ComboBox2: TComboBox
  160. Left = 302
  161. Top = 38
  162. Width = 84
  163. Height = 20
  164. Style = csDropDownList
  165. ImeName = #20013#25991' ('#31616#20307') - '#24494#36719#25340#38899
  166. TabOrder = 1
  167. OnClick = Button2Click
  168. Items.Strings = (
  169. 'Channel 1'
  170. 'Channel 2')
  171. end
  172. object Button1: TButton
  173. Left = 392
  174. Top = 33
  175. Width = 75
  176. Height = 25
  177. Caption = 'Connection'
  178. TabOrder = 2
  179. OnClick = Button1Click
  180. end
  181. object Button2: TButton
  182. Left = 384
  183. Top = 192
  184. Width = 75
  185. Height = 25
  186. Caption = 'Reset CAN'
  187. TabOrder = 3
  188. OnClick = Button2Click
  189. end
  190. object GroupBox1: TGroupBox
  191. Left = 8
  192. Top = 169
  193. Width = 369
  194. Height = 81
  195. Caption = 'Transmitting data frames'
  196. TabOrder = 4
  197. object Label4: TLabel
  198. Left = 8
  199. Top = 24
  200. Width = 36
  201. Height = 12
  202. Caption = 'Type'#65306
  203. end
  204. object Label5: TLabel
  205. Left = 136
  206. Top = 24
  207. Width = 48
  208. Height = 12
  209. Caption = 'Format'#65306
  210. end
  211. object Label6: TLabel
  212. Left = 264
  213. Top = 24
  214. Width = 24
  215. Height = 12
  216. Caption = 'ID'#65306
  217. end
  218. object Label7: TLabel
  219. Left = 14
  220. Top = 56
  221. Width = 36
  222. Height = 12
  223. Caption = 'Data'#65306
  224. end
  225. object Button5: TButton
  226. Left = 296
  227. Top = 49
  228. Width = 57
  229. Height = 24
  230. Caption = 'Send'
  231. TabOrder = 0
  232. OnClick = Button5Click
  233. end
  234. object ComboBox6: TComboBox
  235. Left = 50
  236. Top = 25
  237. Width = 73
  238. Height = 20
  239. Style = csDropDownList
  240. TabOrder = 1
  241. Items.Strings = (
  242. 'Standard'
  243. 'Extended')
  244. end
  245. object ComboBox7: TComboBox
  246. Left = 185
  247. Top = 25
  248. Width = 73
  249. Height = 20
  250. Style = csDropDownList
  251. TabOrder = 2
  252. Items.Strings = (
  253. 'Data'
  254. 'Remote ')
  255. end
  256. object Edit1: TEdit
  257. Left = 304
  258. Top = 19
  259. Width = 57
  260. Height = 20
  261. TabOrder = 3
  262. Text = '00000080'
  263. end
  264. object Edit4: TEdit
  265. Left = 56
  266. Top = 51
  267. Width = 161
  268. Height = 20
  269. TabOrder = 4
  270. Text = '01 02 03 04 05 06 07 08 '
  271. end
  272. end
  273. object Button6: TButton
  274. Left = 384
  275. Top = 160
  276. Width = 75
  277. Height = 25
  278. Caption = 'Start CAN'
  279. TabOrder = 6
  280. OnClick = Button6Click
  281. end
  282. object GroupBox6: TGroupBox
  283. Left = 8
  284. Top = 256
  285. Width = 457
  286. Height = 201
  287. Caption = 'Information'
  288. TabOrder = 7
  289. object ListBox1: TListBox
  290. Left = 16
  291. Top = 21
  292. Width = 441
  293. Height = 177
  294. ItemHeight = 12
  295. TabOrder = 0
  296. end
  297. end
  298. object Button3: TButton
  299. Left = 384
  300. Top = 224
  301. Width = 73
  302. Height = 25
  303. Caption = 'Clear List'
  304. TabOrder = 8
  305. OnClick = Button3Click
  306. end
  307. end