1 /***************************************************************************
3 * Boiler.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 ***************************************************************************/
24 Boiler::Boiler (int productIndexNo
,
27 QString modelQualifier
,
28 double sapSeasonalEffcy
,
32 m_productIndexNo
= productIndexNo
;
33 m_brandName
= brandName
;
34 m_modelName
= modelName
;
35 m_modelQualifier
= modelQualifier
;
36 m_sapSeasonalEffcy
= sapSeasonalEffcy
;
37 m_fuelType
= fuelType
;
44 int Boiler::get_productIndexNo()
46 return m_productIndexNo
;
49 QString
Boiler::get_brandName ()
54 QString
Boiler::get_modelName ()
59 QString
Boiler::get_modelQualifier ()
61 return m_modelQualifier
;
64 int Boiler::get_fuelType ()
69 double Boiler::get_sapSeasonalEffcy ()
71 return m_sapSeasonalEffcy
;