1. 首页
  2. 编程语言
  3. C#
  4. c#串口开发组件包括c#怎样调用需要哪些dll

c#串口开发组件包括c#怎样调用需要哪些dll

上传者: 2018-12-21 12:56:43上传 RAR文件 160.61KB 热度 43次
c#串口说明加串口通讯控件!using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; namespace stoneCom.ComClass { class CommPort { public string PortNum; public int BaudRate; public byte ByteSize; public byte Parity; public byte StopBits; public int ReadTimeout; private int hComm = -1; public bool Opened = false; private const uint GENERIC_READ = 0x80000000; private const uint GENERIC_WRITE = 0x40000000; private const int OPEN_EXISTING = 3;
下载地址
用户评论