mirror of
https://github.com/beestat/app.git
synced 2025-08-07 09:01:32 -04:00
Fixed auxiliary heat 1 and 2 metrics
This commit is contained in:
parent
365aa75347
commit
8aa608c86a
@ -20,3 +20,21 @@ beestat.component.metric.runtime_per_degree_day.auxiliary_heat_1.prototype.child
|
|||||||
beestat.component.metric.runtime_per_degree_day.auxiliary_heat_1.prototype.get_icon_ = function() {
|
beestat.component.metric.runtime_per_degree_day.auxiliary_heat_1.prototype.get_icon_ = function() {
|
||||||
return 'fire';
|
return 'fire';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the title of this metric.
|
||||||
|
*
|
||||||
|
* @return {string} The title of this metric.
|
||||||
|
*/
|
||||||
|
beestat.component.metric.runtime_per_degree_day.auxiliary_heat_1.prototype.get_title_ = function() {
|
||||||
|
return beestat.series[this.child_metric_name_].name;
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the color of this metric.
|
||||||
|
*
|
||||||
|
* @return {string} The color of this metric.
|
||||||
|
*/
|
||||||
|
beestat.component.metric.runtime_per_degree_day.auxiliary_heat_1.prototype.get_color_ = function() {
|
||||||
|
return beestat.series[this.child_metric_name_].color;
|
||||||
|
};
|
||||||
|
@ -20,3 +20,21 @@ beestat.component.metric.runtime_per_degree_day.auxiliary_heat_2.prototype.child
|
|||||||
beestat.component.metric.runtime_per_degree_day.auxiliary_heat_2.prototype.get_icon_ = function() {
|
beestat.component.metric.runtime_per_degree_day.auxiliary_heat_2.prototype.get_icon_ = function() {
|
||||||
return 'fire';
|
return 'fire';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the title of this metric.
|
||||||
|
*
|
||||||
|
* @return {string} The title of this metric.
|
||||||
|
*/
|
||||||
|
beestat.component.metric.runtime_per_degree_day.auxiliary_heat_2.prototype.get_title_ = function() {
|
||||||
|
return beestat.series[this.child_metric_name_].name;
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the color of this metric.
|
||||||
|
*
|
||||||
|
* @return {string} The color of this metric.
|
||||||
|
*/
|
||||||
|
beestat.component.metric.runtime_per_degree_day.auxiliary_heat_2.prototype.get_color_ = function() {
|
||||||
|
return beestat.series[this.child_metric_name_].color;
|
||||||
|
};
|
||||||
|
@ -165,6 +165,8 @@ if($setting->get('environment') === 'dev' || $setting->get('environment') === 'd
|
|||||||
echo '<script src="/js/component/metric/runtime_per_degree_day/heat_2.js"></script>' . PHP_EOL;
|
echo '<script src="/js/component/metric/runtime_per_degree_day/heat_2.js"></script>' . PHP_EOL;
|
||||||
echo '<script src="/js/component/metric/runtime_per_degree_day/cool_1.js"></script>' . PHP_EOL;
|
echo '<script src="/js/component/metric/runtime_per_degree_day/cool_1.js"></script>' . PHP_EOL;
|
||||||
echo '<script src="/js/component/metric/runtime_per_degree_day/cool_2.js"></script>' . PHP_EOL;
|
echo '<script src="/js/component/metric/runtime_per_degree_day/cool_2.js"></script>' . PHP_EOL;
|
||||||
|
echo '<script src="/js/component/metric/runtime_per_degree_day/auxiliary_heat_1.js"></script>' . PHP_EOL;
|
||||||
|
echo '<script src="/js/component/metric/runtime_per_degree_day/auxiliary_heat_2.js"></script>' . PHP_EOL;
|
||||||
echo '<script src="/js/component/metric/balance_point.js"></script>' . PHP_EOL;
|
echo '<script src="/js/component/metric/balance_point.js"></script>' . PHP_EOL;
|
||||||
echo '<script src="/js/component/metric/balance_point/heat_1.js"></script>' . PHP_EOL;
|
echo '<script src="/js/component/metric/balance_point/heat_1.js"></script>' . PHP_EOL;
|
||||||
echo '<script src="/js/component/metric/balance_point/heat_2.js"></script>' . PHP_EOL;
|
echo '<script src="/js/component/metric/balance_point/heat_2.js"></script>' . PHP_EOL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user