?? modbustypes.hpp
字號:
// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved
// (DO NOT EDIT: machine generated header) 'ModbusTypes.pas' rev: 6.00
#ifndef ModbusTypesHPP
#define ModbusTypesHPP
#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <SysInit.hpp> // Pascal unit
#include <System.hpp> // Pascal unit
//-- user supplied -----------------------------------------------------------
namespace Modbustypes
{
//-- type declarations -------------------------------------------------------
typedef Byte TModBusFunction;
typedef Byte TModBusDataBuffer[257];
#pragma pack(push, 1)
struct TCommsBuffer
{
Word TransactionID;
Word ProtocolID;
Word RecLength;
Byte UnitID;
Byte FunctionCode;
Byte MBPData[257];
Byte Spare;
} ;
#pragma pack(pop)
//-- var, const, procedure ---------------------------------------------------
} /* namespace Modbustypes */
using namespace Modbustypes;
#pragma option pop // -w-
#pragma option pop // -Vx
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // ModbusTypes
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -