⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 utitech.h

📁 工业组态软件modbus驱动源代码, 包括帮助文件.共享.
💻 H
字号:
/* $Header: "%n Ver=%v  %f  LastEdit=%w  Locker=%l" */
/* "UDSERIAL.H Ver=1  5-Nov-97,14:00:00  LastEdit=JIMV  Locker=***_NOBODY_***" */
/***********************************************************************\
*                                                                       *
*       Copyright Wonderware Software Development Corp. 1989-1997       *
*                                                                       *
*       ThisFileName="L:\ww\dde_serv\src\udsample\udserial\udserial.h"  *
*       LastEditDate="1997 Nov 05  14:00:00"                            *
*                                                                       *
\***********************************************************************/

/******************************************/
/* >>>>>>>> Sample Serial Server <<<<<<<< */
/******************************************/

#ifndef H__utitech
#define H__utitech

/** Size of Port response buffer **/
#define RSP_BUF_SIZE  INQSIZE           /* size of serial input queue */

/** Select type of messages to transmit
    Note:  This should be selected to suit the protocol being supported.
           This example uses ASCII hex messages for a serial interface. **/
#ifndef USE_ASCII_HEX_MESSAGES
#define USE_ASCII_HEX_MESSAGES
#endif

/** Max size for outgoing message (ASCII HEX --> 2 characters per byte) **/
#define UD_MAX_MESSAGE_SIZE  ((UD_MAX_WRITE_LENGTH) / 2 - 1)

/** Indicate that protocol uses serial Com Port interface **/
#define USES_COMPORTS
#ifdef USES_BOARDS
#undefine USES_BOARDS
#endif

/** Define minimum channel ID for a board.
    Note:  if both boards AND comports are used,
           this value should be at least one larger than MAX_COMPORT **/
#ifndef USES_COMPORTS
 #define MIN_BOARD_CHANNEL_ID    1
#else
 #define MIN_BOARD_CHANNEL_ID    (MAX_COMPORT + 1)
#endif

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -