Initial Commit
[HECS.git] / Boiler.cpp
blob73a14d7e116295850323aa964a26697beb9550a2
1 /***************************************************************************
2 * *
3 * Boiler.cpp Copyright (C) 2008 by Jon Rumble *
4 * j.w.rumble@reading.ac.uk *
5 * *
6 * This file is part of HECS, *
7 * *
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. *
12 * *
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. *
17 * *
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 "Boiler.h"
24 Boiler::Boiler (int productIndexNo,
25 QString brandName,
26 QString modelName,
27 QString modelQualifier,
28 double sapSeasonalEffcy,
29 int fuelType)
32 m_productIndexNo = productIndexNo;
33 m_brandName = brandName;
34 m_modelName = modelName;
35 m_modelQualifier = modelQualifier;
36 m_sapSeasonalEffcy = sapSeasonalEffcy;
37 m_fuelType = fuelType;
40 Boiler::~Boiler() { }
41 Boiler::Boiler () { }
44 int Boiler::get_productIndexNo()
46 return m_productIndexNo;
49 QString Boiler::get_brandName ()
51 return m_brandName;
54 QString Boiler::get_modelName ()
56 return m_modelName;
59 QString Boiler::get_modelQualifier ()
61 return m_modelQualifier;
64 int Boiler::get_fuelType ()
66 return m_fuelType;
69 double Boiler::get_sapSeasonalEffcy ()
71 return m_sapSeasonalEffcy;