代码搜索:Serialport
找到约 4,040 项符合「Serialport」的源代码
代码结果 4,040
www.eeworm.com/read/196431/8092331
cpp serialport.cpp
#include "stdafx.h"
#include "SerialPort.h"
#include
//
// Constructor
//
CSerialPort::CSerialPort()
{
m_hComm = NULL;
// initialize overlapped structure members to zero
www.eeworm.com/read/196431/8092354
h serialport.h
#ifndef __SERIALPORT_H__
#define __SERIALPORT_H__
#define WM_COMM_BREAK_DETECTED WM_USER+1 // A break was detected on input.
#define WM_COMM_CTS_DETECTED WM_USER+2 // The CTS (clear-to-send)
www.eeworm.com/read/296364/8108958
cpp serialport.cpp
/*
** FILENAME CSerialPort.cpp
**
** PURPOSE This class can read, write and watch one serial port.
** It sends messages to its owner when something happends on the port
** The clas
www.eeworm.com/read/296364/8108961
h serialport.h
/*
** FILENAME CSerialPort.h
**
** PURPOSE This class can read, write and watch one serial port.
** It sends messages to its owner when something happends on the port
** The class
www.eeworm.com/read/296287/8112767
cpp serialport.cpp
#include "StdAfx.h"
#include ".\serialport.h"
#include "IbmsSerialPortApi.h"
#include "comm_exception.h"
#include
using namespace C2217::StdLib;
#include
#pragma warning
www.eeworm.com/read/296287/8112771
h serialport.h
#pragma once
#include "IbmsSerialPortApi.h"
#include
using namespace std;
namespace IBMS
{
class CSerialPort;
class ISerialPortObserver
{
public:
virtual ~ISerialPortObserver(){
www.eeworm.com/read/396213/8118857
cs serialport.cs
#region Using directives
using System;
using System.Windows.Forms;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using System.Threading;
#endre
www.eeworm.com/read/247390/12661880
dll serialport.dll
www.eeworm.com/read/247097/12683489
h serialport.h
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// 定义一个串口类用于串口操作
#define SERIALBUF 6000
class AFX_EXT_CLASS CSerialPort
{
public:
CString m_strPortName;
HANDLE m_hPort;
www.eeworm.com/read/145711/12706544
cpp serialport.cpp
// SerialPort.cpp: implementation of the CSerialPort class.
//
////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "SerialPort.h"
CSerialPort::CSer