VICUS Library
Documentation of Vicus library
Loading...
Searching...
No Matches
VICUS::ZoneControlThermostat Class Reference

#include <VICUS_ZoneControlThermostat.h>

Inheritance diagram for VICUS::ZoneControlThermostat:
[legend]

Public Types

enum  para_t { P_Tolerance , P_DeadBand , NUM_P }
 
enum  ControlValue { CV_AirTemperature , CV_OperativeTemperature , NUM_CV }
 
enum  ControllerType { CT_Analog , CT_Digital , NUM_CT }
 
- Public Types inherited from VICUS::AbstractDBElement
enum  ComparisonResult { Equal , OnlyMetaDataDiffers , Different }
 

Public Member Functions

VICUS_READWRITE_OVERRIDE VICUS_COMPARE_WITH_ID bool isValid (const Database< Schedule > &scheduleDB) const
 
ComparisonResult equal (const AbstractDBElement *other) const override
 
- Public Member Functions inherited from VICUS::AbstractDBElement
 AbstractDBElement ()=default
 
 AbstractDBElement (unsigned int id, const IBK::MultiLanguageString &name)
 
virtual ~AbstractDBElement ()
 
virtual void readXML (const TiXmlElement *element)=0
 
virtual TiXmlElement * writeXML (TiXmlElement *parent) const =0
 
void collectChildren (std::set< const AbstractDBElement * > &allChildrenRefs) const
 
void collectLocalChildren (std::set< AbstractDBElement * > &localChildrenRefs) const
 
const QString sourceName () const
 

Public Attributes

IBK::MultiLanguageString m_notes
 
IBK::MultiLanguageString m_dataSource
 
ControlValue m_controlValue = NUM_CV
 
ControllerType m_controllerType = NUM_CT
 
unsigned int m_idHeatingSetpointSchedule = INVALID_ID
 
unsigned int m_idCoolingSetpointSchedule = INVALID_ID
 
IBK::Parameter m_para [NUM_P]
 
- Public Attributes inherited from VICUS::AbstractDBElement
unsigned int m_id = INVALID_ID
 
IBK::MultiLanguageString m_displayName
 
QColor m_color
 
bool m_builtIn = false
 
bool m_local = true
 
std::set< AbstractDBElement * > m_childrenRefs
 
bool m_isReferenced = false
 
std::string m_errorMsg
 

Detailed Description

Zone control parameters for thermostat model.

Member Enumeration Documentation

◆ ControllerType

Type results from the NANDRAD specification.

Enumerator
CT_Analog 
CT_Digital 
NUM_CT 

◆ ControlValue

Zone control value.

Enumerator
CV_AirTemperature 
CV_OperativeTemperature 
NUM_CV 

◆ para_t

Basic parameters.

Enumerator
P_Tolerance 

Tolerance.

P_DeadBand 
NUM_P 

Member Function Documentation

◆ equal()

AbstractDBElement::ComparisonResult VICUS::ZoneControlThermostat::equal ( const AbstractDBElement other) const
overridevirtual

Comparison operator

Implements VICUS::AbstractDBElement.

◆ isValid()

bool VICUS::ZoneControlThermostat::isValid ( const Database< Schedule > &  scheduleDB) const

Checks if all parameters are valid.

Member Data Documentation

◆ m_controllerType

ControllerType VICUS::ZoneControlThermostat::m_controllerType = NUM_CT

Type of controller.

◆ m_controlValue

ControlValue VICUS::ZoneControlThermostat::m_controlValue = NUM_CV

Control value.

◆ m_dataSource

IBK::MultiLanguageString VICUS::ZoneControlThermostat::m_dataSource

Data source.

◆ m_idCoolingSetpointSchedule

unsigned int VICUS::ZoneControlThermostat::m_idCoolingSetpointSchedule = INVALID_ID

Cooling setpoint schedule ID.

◆ m_idHeatingSetpointSchedule

unsigned int VICUS::ZoneControlThermostat::m_idHeatingSetpointSchedule = INVALID_ID

Heating setpoint schedule ID.

◆ m_notes

IBK::MultiLanguageString VICUS::ZoneControlThermostat::m_notes

Notes.

◆ m_para

IBK::Parameter VICUS::ZoneControlThermostat::m_para[NUM_P]

List of parameters.


The documentation for this class was generated from the following files: