📄 modbusconsts.hpp
字号:
// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved
// (DO NOT EDIT: machine generated header) 'ModbusConsts.pas' rev: 6.00
#ifndef ModbusConstsHPP
#define ModbusConstsHPP
#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <SysInit.hpp> // Pascal unit
#include <System.hpp> // Pascal unit
//-- user supplied -----------------------------------------------------------
namespace Modbusconsts
{
//-- type declarations -------------------------------------------------------
//-- var, const, procedure ---------------------------------------------------
static const Shortint mbfInvalidRegister = 0xfffffffe;
static const Shortint mbfUndefined = 0xffffffff;
static const Shortint mbfReadCoils = 0x1;
static const Shortint mbfReadInputBits = 0x2;
static const Shortint mbfReadRegs = 0x3;
static const Shortint mbfReadInputRegs = 0x4;
static const Shortint mbfWriteOneCoil = 0x5;
static const Shortint mbfWriteOneReg = 0x6;
static const Shortint mbfWriteCoils = 0xf;
static const Shortint mbfWriteRegs = 0x10;
static const Shortint MaxBlockLength = 0x7d;
static const int MaxRange = 0x1869f;
#define DMB_VERSION "0.3.0"
static const Word MB_PORT = 0x1f6;
} /* namespace Modbusconsts */
using namespace Modbusconsts;
#pragma option pop // -w-
#pragma option pop // -Vx
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // ModbusConsts
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -