29 int lamps_per_fixture,
double lamp_wattage,
int lamp_output,
int lamp_life,
int lamp_cri,
30 double coefficient_of_utilization,
double ballast_factor,
double lumen_degradation_factor) :
32 lamps_per_fixture_(lamps_per_fixture), lamp_wattage_(lamp_wattage), lamp_output_(lamp_output), lamp_life_(lamp_life), lamp_cri_(lamp_cri),
33 coefficient_of_utilization_(coefficient_of_utilization), ballast_factor_(ballast_factor), lumen_degradation_factor_(lumen_degradation_factor) {}
40 void setID(
int id) { this->id_ = id; }
46 int ID()
const {
return this->id_; }
52 std::string
category()
const {
return this->category_; }
58 std::string
type()
const {
return this->type_; }
82 int lampLife()
const {
return this->lamp_life_; }
88 int lampCRI()
const {
return this->lamp_cri_; }
111 std::string category_;
113 int lamps_per_fixture_;
114 double lamp_wattage_;
118 double coefficient_of_utilization_;
119 double ballast_factor_;
120 double lumen_degradation_factor_;
std::string type() const
Gets the Type of the lighting.
int lampsPerFixture() const
Gets the Lamps per Fixture of the lighting system.
double ballastFactor() const
Gets the Ballast Factor of the lighting system.
int lampLife() const
Gets the Lamp Life of the lighting system.
LightingData(std::string category, std::string type, int lamps_per_fixture, double lamp_wattage, int lamp_output, int lamp_life, int lamp_cri, double coefficient_of_utilization, double ballast_factor, double lumen_degradation_factor)
Constructs a Lighting's data record with specified parameters.
int lampCRI() const
Gets the Lamp CRI of the lighting system.
std::string category() const
Gets the Category of the lighting.
void setID(int id)
Sequential ID of the lighting default data.
double lampWattage() const
Gets the Lamp Wattage of the lighting system.
int ID() const
Gets the data sequential ID of the lighting default data.
double coefficientOfUtilization() const
Gets the Coefficient of Utilization of the lighting system.
int lampOutput() const
Gets the Lamp Output of the lighting system.
double lumenDegradationFactor() const
Gets the Lumen Degradation Factor of the lighting system.