TModbus.~cpp
上传用户:wuxg88
上传日期:2022-05-28
资源大小:814k
文件大小:1k
源码类别:

通讯编程

开发平台:

C++ Builder

  1. //---------------------------------------------------------------------------
  2. #include <vcl.h>
  3. #pragma hdrstop
  4. #include "TModbus.h"
  5. #include "DMT.h"
  6. //---------------------------------------------------------------------------
  7. #pragma package(smart_init)
  8. #pragma resource "*.dfm"
  9. TForm1 *Form1;
  10. //---------------------------------------------------------------------------
  11. __fastcall TForm1::TForm1(TComponent* Owner)
  12.         : TForm(Owner)
  13. {
  14. }
  15. //---------------------------------------------------------------------------
  16. void __fastcall TForm1::Button1Click(TObject *Sender)
  17. {
  18. //   OpenModbusSerial(1,9600, 8, 'N', 1, 1);
  19. }
  20. //---------------------------------------------------------------------------