29 lines
789 B
C++
29 lines
789 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_ */
|