1#ifndef IV_SRC_UI_PANELS_EDITOR_CONTROL_MAPPERS_HPP_
2#define IV_SRC_UI_PANELS_EDITOR_CONTROL_MAPPERS_HPP_
23 return allValveChannels;
27mapValveChannels(
const std::shared_ptr<iv::model::control::valve::AllValveChannels> &allValveChannels)
31 channelsData.
chFeedbackCL = allValveChannels->chFeedbackCL;
32 channelsData.
chFeedbackOP = allValveChannels->chFeedbackOP;
33 channelsData.
chOutputCL = allValveChannels->chOutputCL;
34 channelsData.
chOutputOP = allValveChannels->chOutputOP;
46 valveData.
lomId = valve->m_lomId;
67 return allDamperChannels;
71mapDamperChannels(
const std::shared_ptr<iv::model::control::damper::AllDamperChannels> &allDamperChannels)
75 channelsData.
chFeedbackCL = allDamperChannels->chFeedbackCL;
76 channelsData.
chFeedbackOP = allDamperChannels->chFeedbackOP;
77 channelsData.
chOutputCL = allDamperChannels->chOutputCL;
78 channelsData.
chOutputOP = allDamperChannels->chOutputOP;
90 damperData.
lomId = damper->m_lomId;
iv::model::control::damper::AllDamperChannels mapDamperChannelsData(const iv::panels::control::damper::DamperChannelsData &channelsData)
Definition mappers.hpp:58
iv::panels::control::damper::DamperData mapDamper(const std::shared_ptr< iv::model::control::Damper > &damper)
Definition mappers.hpp:83
iv::panels::control::damper::DamperChannelsData mapDamperChannels(const std::shared_ptr< iv::model::control::damper::AllDamperChannels > &allDamperChannels)
Definition mappers.hpp:71
iv::model::control::valve::AllValveChannels mapValveChannelsData(const iv::panels::control::valve::ValveChannelsData &channelsData)
Definition mappers.hpp:14
iv::panels::control::valve::ValveChannelsData mapValveChannels(const std::shared_ptr< iv::model::control::valve::AllValveChannels > &allValveChannels)
Definition mappers.hpp:27
iv::panels::control::valve::ValveData mapValve(const std::shared_ptr< iv::model::control::Valve > &valve)
Definition mappers.hpp:39
Definition constants.hpp:7
Definition structs.hpp:102
std::weak_ptr< iv::channels::AbstractChannel > chOutputOP
Definition structs.hpp:108
std::weak_ptr< iv::channels::AbstractChannel > chFeedbackOP
Definition structs.hpp:106
std::weak_ptr< iv::channels::AbstractChannel > chFeedbackCL
Definition structs.hpp:107
std::weak_ptr< iv::channels::AbstractChannel > chOutputCL
Definition structs.hpp:109
Definition structs.hpp:16
std::weak_ptr< iv::channels::AbstractChannel > chOutputCL
Definition structs.hpp:23
std::weak_ptr< iv::channels::AbstractChannel > chFeedbackOP
Definition structs.hpp:20
std::weak_ptr< iv::channels::AbstractChannel > chOutputOP
Definition structs.hpp:22
std::weak_ptr< iv::channels::AbstractChannel > chFeedbackCL
Definition structs.hpp:21
Definition structs.hpp:47
std::weak_ptr< iv::channels::AbstractChannel > chOutputOP
Definition structs.hpp:50
std::weak_ptr< iv::channels::AbstractChannel > chOutputCL
Definition structs.hpp:51
std::weak_ptr< iv::channels::AbstractChannel > chFeedbackOP
Definition structs.hpp:48
std::weak_ptr< iv::channels::AbstractChannel > chFeedbackCL
Definition structs.hpp:49
Definition structs.hpp:55
iv::types::unitId lomId
Definition structs.hpp:61
iv::types::control::damper::damperDescription damperDescription
Definition structs.hpp:59
iv::types::control::damper::damperOrder damperOrder
Definition structs.hpp:58
DamperChannelsData channelsData
Definition structs.hpp:62
iv::model::control::damper::eDamperType damperType
Definition structs.hpp:60
Definition structs.hpp:23
std::weak_ptr< iv::channels::AbstractChannel > chOutputCL
Definition structs.hpp:27
std::weak_ptr< iv::channels::AbstractChannel > chFeedbackCL
Definition structs.hpp:25
std::weak_ptr< iv::channels::AbstractChannel > chFeedbackOP
Definition structs.hpp:24
std::weak_ptr< iv::channels::AbstractChannel > chOutputOP
Definition structs.hpp:26
Definition structs.hpp:31
iv::types::control::valve::valveOrder valveOrder
Definition structs.hpp:34
ValveChannelsData channelsData
Definition structs.hpp:38
iv::model::control::valve::eValveType valveType
Definition structs.hpp:36
iv::types::unitId lomId
Definition structs.hpp:37
iv::model::control::valve::eValveSystem valveSystem
Definition structs.hpp:35