Skip to content
Snippets Groups Projects
Station.cpp 3.72 KiB
Newer Older
  • Learn to ignore specific revisions
  • Radim Vavřík's avatar
    Radim Vavřík committed
    // Station.cpp
    
    #include <string>
    #include <memory>
    #include "Station.h"
    
    namespace math1d_cl
    {
    	Station::Station()
    	{
    	}
    
    	const int& Station::getId()
    	{
    		return m_id;
    	}
    
    	void Station::setId(const int& id)
    	{
    		m_id = id;
    	}
    
    	const std::string& Station::getDescription()
    	{
    		return m_description;
    	}
    
    	void Station::setDescription(const std::string& description)
    	{
    		m_description = description;
    	}
    
    	const std::string& Station::getName()
    	{
    		return m_name;
    	}
    
    	void Station::setName(const std::string& name)
    	{
    		m_name = name;
    	}
    
    	const Location& Station::getLocation()
    	{
    		return m_location;
    	}
    
    	void Station::setLocation(const Location& location)
    	{
    		m_location = location;
    	}
    
    	const double& Station::getClockStep()
    	{
    		return m_clockStep;
    	}
    
    	void Station::setClockStep(const double& clockStep)
    	{
    		m_clockStep = clockStep;
    	}
    
    	const std::string& Station::getCode()
    	{
    		return m_code;
    	}
    
    	void Station::setCode(const std::string& code)
    	{
    		m_code = code;
    	}
    
    	const bool& Station::getPrecipitationFlag()
    	{
    		return m_precipitationFlag;
    	}
    
    	void Station::setPrecipitationFlag(const bool& precipitationFlag)
    	{
    		m_precipitationFlag = precipitationFlag;
    	}
    
    	const bool& Station::getTemperatureFlag()
    	{
    		return m_temperatureFlag;
    	}
    
    	void Station::setTemperatureFlag(const bool& temperatureFlag)
    	{
    		m_temperatureFlag = temperatureFlag;
    	}
    
    	const bool& Station::getSnowFlag()
    	{
    		return m_snowFlag;
    	}
    
    	void Station::setSnowFlag(const bool& snowFlag)
    	{
    		m_snowFlag = snowFlag;
    	}
    
    	const bool& Station::getWindVelocityFlag()
    	{
    		return m_windVelocityFlag;
    	}
    	
    	void Station::setWindVelocityFlag(const bool& windVelocityFlag)
    	{
    		m_windVelocityFlag = windVelocityFlag;
    	}
    
    	const bool& Station::getRadarFlag()
    	{
    		return m_radarFlag;
    	}
    
    	void Station::setRadarFlag(const bool& radarFlag)
    	{
    		m_radarFlag = radarFlag;
    	}
    
    	const bool& Station::getIsVirtual()
    	{
    		return m_isVirtual;
    	}
    
    	void Station::setIsVirtual(const bool& isVirtual)
    	{
    		m_isVirtual = isVirtual;
    	}
    
    	const double& Station::getSpa1()
    	{
    		return m_spa1;
    	}
    
    	void Station::setSpa1(const double& spa1)
    	{
    		m_spa1 = spa1;
    	}
    
    	const double& Station::getSpa2()
    	{
    		return m_spa2;
    	}
    
    	void Station::setSpa2(const double& spa2)
    	{
    		m_spa2 = spa2;
    	}
    
    	const double& Station::getSpa3()
    	{
    		return m_spa3;
    	}
    
    	void Station::setSpa3(const double& spa3)
    	{
    		m_spa3 = spa3;
    	}
    
    	const double& Station::getQ()
    	{
    		return m_q;
    	}
    
    	void Station::setQ(const double& q)
    	{
    		m_q = q;
    	}
    
    	const WaterGaugingCategory& Station::getWaterGaugingCategory()
    	{
    		return m_waterGaugingCategory;
    	}
    
    	void Station::setWaterGaugingCategory(const WaterGaugingCategory& waterGaugingCategory)
    	{
    		m_waterGaugingCategory = waterGaugingCategory;
    	}
    
    	const double& Station::getHSpa1()
    	{
    		return m_hSpa1;
    	}
    
    	void Station::setHSpa1(const double& hSpa1)
    	{
    		m_hSpa1 = hSpa1;
    	}
    
    	const double& Station::getHSpa2()
    	{
    		return m_hSpa2;
    	}
    
    	void Station::setHSpa2(const double& hSpa2)
    	{
    		m_hSpa2 = hSpa2;
    	}
    
    	const double& Station::getHSpa3()
    	{
    		return m_hSpa3;
    	}
    
    	void Station::setHSpa3(const double& hSpa3)
    	{
    		m_hSpa3 = hSpa3;
    	}
    
    	const int& Station::getH()
    	{
    		return m_h;
    	}
    
    	void Station::setH(const int& h)
    	{
    		m_h = h;
    	}
    
    	const int& Station::getChmuProfileId()
    	{
    		return m_h;
    	}
    
    	void Station::setChmuProfileId(const int& chmuProfileId)
    	{
    		m_chmuProfileId = chmuProfileId;
    	}
    
    	const int& Station::getChannelIndex()
    	{
    		return m_channelIndex;
    	}
    
    	void Station::setChannelIndex(const int& channelIndex)
    	{
    		m_channelIndex = channelIndex;
    	}
    }