1#ifndef IV_SRC_SERVICES_STRUCTS_HPP_
2#define IV_SRC_SERVICES_STRUCTS_HPP_
35 std::vector<ApiCommunicationInfo>
apiURLs;
49 static constexpr std::string_view
httpSetting {
"HttpSetting"};
65 std::optional<std::vector<std::shared_ptr<iv::comms::api::ILoggerMessage>>>
messages {std::nullopt};
72 std::optional<std::string>
extraInfo {std::nullopt};
77 static constexpr std::string_view
count {
"deletedCount"};
147namespace historyLogger
167 const bool _isPrinted)
Definition xmlFile.hpp:15
eAlarmPriority
Definition enums.hpp:13
eAlarmType
Definition enums.hpp:56
eAlarmState
Definition enums.hpp:20
Definition ApiCommunicationController.cpp:12
EventCategory
Definition AuditableEvents.hpp:11
uint64_t timestamp
Definition types.hpp:21
uint16_t ipPort
Definition types.hpp:41
double channelValue
Definition types.hpp:67
std::string ipAddress
Definition types.hpp:40
std::string channelId
Definition types.hpp:66
Definition structs.hpp:27
iv::types::ipPort port
Definition structs.hpp:29
iv::types::ipAddress ip
Definition structs.hpp:28
std::weak_ptr< bool > isEnabled
Definition structs.hpp:30
Definition structs.hpp:75
static constexpr std::string_view acknowledged
Definition structs.hpp:76
static constexpr std::string_view count
Definition structs.hpp:77
Definition structs.hpp:69
std::optional< std::string > extraInfo
Definition structs.hpp:72
uint32_t count
Definition structs.hpp:71
bool acknowledged
Definition structs.hpp:70
Definition structs.hpp:82
std::string version
Definition structs.hpp:86
bool isActive
Definition structs.hpp:83
std::string status
Definition structs.hpp:85
std::string name
Definition structs.hpp:87
std::string description
Definition structs.hpp:88
Definition structs.hpp:63
std::optional< std::vector< std::shared_ptr< iv::comms::api::ILoggerMessage > > > messages
Definition structs.hpp:65
ApiPaginationInfo paginationInfo
Definition structs.hpp:64
Definition structs.hpp:42
static constexpr std::string_view httpSettingIp
Definition structs.hpp:43
static constexpr std::string_view httpSettingPort
Definition structs.hpp:44
Definition structs.hpp:48
static constexpr std::string_view httpSetting
Definition structs.hpp:49
Definition structs.hpp:34
std::vector< ApiCommunicationInfo > apiURLs
Definition structs.hpp:35
bool load(const iv::file::xml::node &node)
Definition structs.cpp:9
bool save(iv::file::xml::node &node) const
Definition structs.cpp:20
Definition structs.hpp:54
virtual ~ILoggerMessage()=default
ILoggerMessage(const iv::types::timestamp _timestamp)
Definition structs.hpp:58
iv::types::timestamp timestamp
Definition structs.hpp:55
Definition structs.hpp:95
iv::alarms::eAlarmType alarmType
Definition structs.hpp:101
iv::alarms::eAlarmState alarmState
Definition structs.hpp:100
iv::types::channelId channelId
Definition structs.hpp:96
DataLoggerMessage(const iv::types::timestamp _timestamp, iv::types::channelId _channelId, const iv::types::channelValue _value, const iv::alarms::eAlarmPriority _alarmPriority, const iv::alarms::eAlarmState _alarmState, const iv::alarms::eAlarmType _alarmType)
Definition structs.hpp:105
DataLoggerMessage()=default
iv::alarms::eAlarmPriority alarmPriority
Definition structs.hpp:99
iv::types::channelValue value
Definition structs.hpp:97
Definition structs.hpp:120
std::string ipAddress
Definition structs.hpp:133
std::string id
Definition structs.hpp:122
std::string unitId
Definition structs.hpp:137
iv::model::diamar::EventCategory category
Definition structs.hpp:126
std::string source
Definition structs.hpp:124
std::string description
Definition structs.hpp:123
std::string channelId
Definition structs.hpp:138
std::string backupName
Definition structs.hpp:142
std::string groupId
Definition structs.hpp:139
std::string userProfileOut
Definition structs.hpp:130
std::string ipPort
Definition structs.hpp:134
std::string type
Definition structs.hpp:125
std::string userProfileIn
Definition structs.hpp:129
Definition structs.hpp:151
iv::types::channelId tag
Definition structs.hpp:152
iv::alarms::eAlarmState originalAlarmState
Definition structs.hpp:157
bool isPrinted
Definition structs.hpp:161
iv::types::channelValue value
Definition structs.hpp:159
iv::alarms::eAlarmType alarmType
Definition structs.hpp:158
iv::alarms::eAlarmPriority alarmPriority
Definition structs.hpp:155
HistoryLoggerMessage(const iv::types::timestamp _timestamp, iv::types::channelId _channelId, std::string _message, const iv::alarms::eAlarmPriority _alarmPriority, const iv::alarms::eAlarmState _alarmState, const iv::alarms::eAlarmType _alarmType, const iv::types::channelValue _value, const bool _isPrinted)
Definition structs.hpp:164
iv::alarms::eAlarmState alarmState
Definition structs.hpp:156
HistoryLoggerMessage()=default
std::string message
Definition structs.hpp:153