HVAC.cpp
//
//   Add to json if value is not the default value
//
Add to json if value is not the default value
Add to json if value is not the default value
void HVAC::addJson(boost::property_tree::ptree& obj, string key, u_int8_t value) {
	if (value == (u_int8_t) -1)
		return;
	obj.put(key, value);
}
void HVAC :: addJson ( boost :: property_tree :: ptree & obj , string key , u_int8_t value ) { if ( value == ( u_int8_t ) - 1 ) return ; obj . put ( key , value ) ; }
Add to json if value is not the default value
Add to json if value is not the default value