2212 {
2213 if (item.CanHaveTemperature())
2214 {
2216 float itemTemp = item.GetTemperature();
2217 float heatPermCoef = item.GetHeatPermeabilityCoef();
2218 float tempCoef;
2219 float deltaTime;
2220
2222 {
2225 }
2227 {
2230 }
2231 else
2232 {
2233 return;
2234 }
2235
2236 item.SetTemperatureEx(
new TemperatureDataInterpolated(fireplaceTemp,
ETemperatureAccessTypes.ACCESS_FIREPLACE,deltaTime,tempCoef,heatPermCoef));
2237 }
2238 }
const int TIMER_HEATING_UPDATE_INTERVAL
timer constants
const int TIMER_COOLING_UPDATE_INTERVAL
update interval duration of heating process (seconds)
ref Timer m_HeatingTimer
value for calculating of wetness that fireplace gain when raining
const float TEMP_COEF_FIREPLACE_COOLING
const float TEMP_COEF_FIREPLACE_HEATING