Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
GeneratorPmsBuilders.hpp
Go to the documentation of this file.
1#ifndef IV_SRC_MIMICS_BUILDERS_GENERATORPMSBUILDERS_HPP_
2#define IV_SRC_MIMICS_BUILDERS_GENERATORPMSBUILDERS_HPP_
3
4#include "core/types.hpp"
6
7#include <memory>
8
10{
11
13{
14public:
16
18 const std::shared_ptr<iv::mimics::AbstractMimicElement> &mimicElement);
19
20 static bool
22 const std::shared_ptr<iv::mimics::AbstractMimicElement> &mimicElement);
23
24 static bool
26 const std::shared_ptr<iv::mimics::AbstractMimicElement> &mimicElement);
27
28 static bool
30 const std::shared_ptr<iv::mimics::AbstractMimicElement> &mimicElement);
31
32private:
33 struct Constants
34 {
35 static constexpr iv::types::width dynamicTextWidth {200};
36 static constexpr iv::types::height dynamicTextHeight {20};
37 };
38};
39
40}// namespace iv::mimics::builders
41
42#endif//IV_SRC_MIMICS_BUILDERS_GENERATORPMSBUILDERS_HPP_
Definition GeneratorPmsBuilders.hpp:13
static bool setGeneratorStatusDynamicText(iv::types::pms::elementId generatorId, const std::shared_ptr< iv::mimics::AbstractMimicElement > &mimicElement)
Definition GeneratorPmsBuilders.cpp:243
static bool setGeneratorControlStateDynamicText(iv::types::pms::elementId generatorId, const std::shared_ptr< iv::mimics::AbstractMimicElement > &mimicElement)
Definition GeneratorPmsBuilders.cpp:441
static bool setGeneratorFrequencyModeDynamicText(iv::types::pms::elementId generatorId, const std::shared_ptr< iv::mimics::AbstractMimicElement > &mimicElement)
Definition GeneratorPmsBuilders.cpp:515
static bool setGeneratorLoadAlarmsDynamicText(iv::types::pms::elementId generatorId, const std::shared_ptr< iv::mimics::AbstractMimicElement > &mimicElement)
Definition GeneratorPmsBuilders.cpp:352
Definition GeneratorPmsBuilders.cpp:9
uint16_t elementId
Definition types.hpp:96
double height
Definition types.hpp:14
double width
Definition types.hpp:23
Definition GeneratorPmsBuilders.hpp:34
static constexpr iv::types::width dynamicTextWidth
Definition GeneratorPmsBuilders.hpp:35
static constexpr iv::types::height dynamicTextHeight
Definition GeneratorPmsBuilders.hpp:36