1 /***************************************************************************
3 * MeanInternalTemp.cpp Copyright (C) 2008 by Jon Rumble *
4 * j.w.rumble@reading.ac.uk *
6 * This file is part of HECS, *
8 * HECS is free software: you can redistribute it and/or modify *
9 * it under the terms of the GNU General Public License as published by *
10 * the Free Software Foundation, either version 2 of the License, or *
11 * (at your option) any later version. *
13 * HECS is distributed in the hope that it will be useful, *
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
16 * GNU General Public License for more details. *
18 * You should have received a copy of the GNU General Public License *
19 * along with this program. If not, see <http://www.gnu.org/licenses/>. *
20 ***************************************************************************/
22 #include "MeanInternalTemp.h"
24 // Constructors/Destructors
27 MeanInternalTemp::MeanInternalTemp ( ) {
31 MeanInternalTemp::~MeanInternalTemp ( ) { }
42 // Private attribute accessor methods
46 void MeanInternalTemp::setIntTempLivingArea ( double new_var
) {
47 m_intTempLivingArea
= new_var
;
51 double MeanInternalTemp::getIntTempLivingArea ( ) {
52 return m_intTempLivingArea
;
56 void MeanInternalTemp::setTempAdj ( double new_var
) {
61 double MeanInternalTemp::getTempAdj ( ) {
66 void MeanInternalTemp::setAdjForGains ( double new_var
) {
67 m_adjForGains
= new_var
;
71 double MeanInternalTemp::getAdjForGains ( ) {
76 void MeanInternalTemp::setAdjLivingRoomTemp ( double new_var
) {
77 m_adjLivingRoomTemp
= new_var
;
81 double MeanInternalTemp::getAdjLivingRoomTemp ( ) {
82 return m_adjLivingRoomTemp
;
86 void MeanInternalTemp::setTempDiffZone ( double new_var
) {
87 m_tempDiffZone
= new_var
;
91 double MeanInternalTemp::getTempDiffZone ( ) {
92 return m_tempDiffZone
;
96 void MeanInternalTemp::setLivingAreaFraction ( double new_var
) {
97 m_livingAreaFraction
= new_var
;
101 double MeanInternalTemp::getLivingAreaFraction ( ) {
102 return m_livingAreaFraction
;
106 void MeanInternalTemp::setRestOfHouseFrac ( double new_var
) {
107 m_restOfHouseFrac
= new_var
;
111 double MeanInternalTemp::getRestOfHouseFrac ( ) {
112 return m_restOfHouseFrac
;
116 void MeanInternalTemp::setMeanIntTemp ( double new_var
) {
117 m_meanIntTemp
= new_var
;
121 double MeanInternalTemp::getMeanIntTemp ( ) {
122 return m_meanIntTemp
;
125 void MeanInternalTemp::calcMeanInternalTemp ()
130 void MeanInternalTemp::initAttributes ( ) {
131 /*m_intTempLivingArea = cf.getValueDouble("MeanInternalTemp:intTempLivingArea");
132 m_tempAdj = cf.getValueDouble("MeanInternalTemp:tempAdj");
133 m_adjForGains = cf.getValueDouble("MeanInternalTemp:adjForGains");
134 m_adjLivingRoomTemp = cf.getValueDouble("MeanInternalTemp:adjLivingRoomTemp");
135 m_tempDiffZone = cf.getValueDouble("MeanInternalTemp:tempDiffZone");
136 m_livingAreaFraction = cf.getValueDouble("MeanInternalTemp:livingAreaFraction");
137 m_restOfHouseFrac = cf.getValueDouble("MeanInternalTemp:restOfHouseFrac");
138 m_meanIntTemp = cf.getValueDouble("MeanInternalTemp:meanIntTemp");*/