29 lines
701 B
C++
29 lines
701 B
C++
/*
|
|
* LogicalEntities.hpp
|
|
*
|
|
* Created on: 9 ìàð. 2020 ã.
|
|
* Author: titov
|
|
*/
|
|
|
|
#ifndef UMLIBRARY_UNITS_LOGICALENTITIES_HPP_
|
|
#define UMLIBRARY_UNITS_LOGICALENTITIES_HPP_
|
|
|
|
#include <stdint.h>
|
|
|
|
namespace units {
|
|
|
|
typedef uint16_t Priority; //!<Ïðèîðèòåò.
|
|
typedef uint16_t ErrorCode; //!<Êîä îòêàçà.
|
|
typedef uint16_t CommandCode; //!<Êîä êîìàíäû.
|
|
typedef uint16_t ServiceMessageId; //!<
|
|
typedef uint32_t Size;
|
|
typedef uint32_t Quantity;
|
|
typedef uint16_t ExceptionCode; //!<Êîä èñêëþ÷åíèÿ.
|
|
typedef uint32_t MessageServerId; //!<Èäåíòèôèêàòîð ñåðâåðà ñîîáùåíèé.
|
|
|
|
typedef uint16_t ModbusId; //!<Ðåãèñòð ìîäáàñà.
|
|
|
|
}
|
|
|
|
#endif /* UMLIBRARY_UNITS_LOGICALENTITIES_HPP_ */
|