Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
structs.hpp
Go to the documentation of this file.
1#ifndef IV_SRC_UI_PANELS_DIAMARREPEATER_STRUCTS_HPP_
2#define IV_SRC_UI_PANELS_DIAMARREPEATER_STRUCTS_HPP_
3
4#include "alarms/enums.hpp"
5#include "core/defines.hpp"
7
8#include <optional>
9
11{
12
14{
15 bool hasError {false};
16 std::optional<iv::types::errorMessage> errorTitle;
17 std::optional<iv::types::errorMessage> errorMessage;
18 std::optional<iv::types::errorMessage> errorSolutionMessage;
19 bool soundOffEnabled {false};
20
21 bool operator==(const CommConnectionError &) const = default;
22};
23
25{
27
28 std::string date {" - - - "};
29 std::string alarmIcon;
30 std::string description;
31 std::string message {" - - - "};
32
33 std::string valueStr;
34
36
37 bool operator==(const AlarmEvent &) const = default;
38};
39
48
59
61{
62 std::string strStatus;
64 bool canBeCalled {false};
65
66 bool operator==(const CallAllInfo &) const = default;
67};
68
70{
72 std::string text;
74 bool canBePassed {false};
75
76 bool operator==(const WatchCallPassInfo &) const = default;
77};
78
80{
81 // Version
82 std::string version;
83 std::string gitBuild;
84
85 // Ship Info
87 std::string area;
88 std::string hull;
89 std::string shipName;
90 std::string shipyard;
91
92 // Language
94
95 bool operator==(const SystemInformation &) const = default;
96};
97
98}// namespace iv::panels::diamarRepeater
99
100#endif//IV_SRC_UI_PANELS_DIAMARREPEATER_STRUCTS_HPP_
eCallAllStatus
Definition enums.hpp:79
eWatchState
Definition enums.hpp:90
eIsNodeOnDuty
Definition enums.hpp:73
eAlarmState
Definition enums.hpp:20
Definition defines.hpp:7
eWatchCallPassButton
Definition defines.hpp:10
std::string stationId
Definition types.hpp:75
std::string channelId
Definition types.hpp:66
std::string groupId
Definition types.hpp:70
uint32_t color
Definition types.hpp:12
std::string repeaterId
Definition types.hpp:79
eLanguage
Definition enums.hpp:37
std::string date
Definition structs.hpp:28
std::string description
Definition structs.hpp:30
bool operator==(const AlarmEvent &) const =default
std::string alarmIcon
Definition structs.hpp:29
iv::types::channelId tag
Definition structs.hpp:26
std::string valueStr
Definition structs.hpp:33
std::string message
Definition structs.hpp:31
iv::types::color alarmColor
Definition structs.hpp:35
bool operator==(const CabinRepeater &) const =default
bool canBeSelected
Definition structs.hpp:54
std::string name
Definition structs.hpp:52
bool displayCanNotBeSelectedVisualFeedback
Definition structs.hpp:55
iv::alarms::eIsNodeOnDuty state
Definition structs.hpp:53
iv::types::repeaterId id
Definition structs.hpp:51
iv::alarms::eCallAllStatus status
Definition structs.hpp:63
bool canBeCalled
Definition structs.hpp:64
bool operator==(const CallAllInfo &) const =default
std::string strStatus
Definition structs.hpp:62
std::optional< iv::types::errorMessage > errorMessage
Definition structs.hpp:17
std::optional< iv::types::errorMessage > errorSolutionMessage
Definition structs.hpp:18
bool operator==(const CommConnectionError &) const =default
std::optional< iv::types::errorMessage > errorTitle
Definition structs.hpp:16
bool hasError
Definition structs.hpp:15
bool soundOffEnabled
Definition structs.hpp:19
std::string groupName
Definition structs.hpp:43
iv::types::groupId groupId
Definition structs.hpp:42
bool operator==(const GroupStateInfo &) const =default
iv::alarms::eAlarmState state
Definition structs.hpp:44
iv::types::stationId stationId
Definition structs.hpp:86
iv::eLanguage currentLanguage
Definition structs.hpp:93
std::string shipName
Definition structs.hpp:89
std::string gitBuild
Definition structs.hpp:83
std::string version
Definition structs.hpp:82
std::string shipyard
Definition structs.hpp:90
std::string area
Definition structs.hpp:87
std::string hull
Definition structs.hpp:88
bool operator==(const SystemInformation &) const =default
bool operator==(const WatchCallPassInfo &) const =default
bool canBePassed
Definition structs.hpp:74
std::string text
Definition structs.hpp:72
iv::alarms::eWatchState state
Definition structs.hpp:73
eWatchCallPassButton button
Definition structs.hpp:71