Skip to content

Commit 7361709

Browse files
pipe flow improved
1 parent 27c1962 commit 7361709

File tree

3 files changed

+19
-17
lines changed

3 files changed

+19
-17
lines changed

dist/heat-pump-card.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class HeatPumpCard extends HTMLElement {
8686
this.content.querySelector("#textTankTempWWDown").innerHTML = this.formatNumValue(tankTempWWDown);
8787
this.tankColors(this.content, tankTempWWUp, tankTempWWMiddle, tankTempWWDown, "#stop3050", "#stop3070", "#stop3060");
8888

89-
this.content.querySelector("#gWWHeatingValve").setAttribute('transform', 'rotate(' + (this.formatBinary(hass, this.config.wwHeatingValve) ? '90' : '0') + ', 620, 487)');
89+
this.content.querySelector("#gWWHeatingValve").setAttribute('transform', 'rotate(' + (this.formatBinary(hass, this.config.wwHeatingValve) ? '90' : '0') + ', 620, 362)');
9090
this.content.querySelector("#pathHeaterRodWW").style.display = heaterRodWW ? 'block' : 'none';
9191
}
9292

@@ -312,9 +312,9 @@ class HeatPumpCard extends HTMLElement {
312312
}
313313

314314
moveHeatingCircuitPump(content, selection) {
315-
var translation = selection ? 'translate(-220,-15)' : 'translate(0,-400)';
316-
var animationFrom = selection ? '0 565 489' : '0 785 104';
317-
var animationTo = selection ? '360 565 489' : '360 785 104';
315+
var translation = selection ? 'translate(-195,-15)' : 'translate(0,-400)';
316+
var animationFrom = selection ? '0 590 489' : '0 785 104';
317+
var animationTo = selection ? '360 590 489' : '360 785 104';
318318
content.querySelector('#useHeatingPumpChassis').setAttribute('transform', translation);
319319
content.querySelector('#useHeatingPumpBladeWheelInner').setAttribute('transform', translation);
320320
content.querySelector('#animationHeatingCircuitPumpBladeWheel').setAttribute('from', animationFrom);

dist/heat-pump-card/heat-pump.svg

Lines changed: 11 additions & 9 deletions
Loading

heat-pump-testpage.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -309,9 +309,9 @@
309309
document.getElementById('stopCircuit6').setAttribute('style', "stop-color:" + tempFarbe(tempOut) + ";");
310310
}
311311
function moveHeatingCircuitPump(selection) {
312-
var translation = selection ? 'translate(-220,-15)' : 'translate(0,-400)';
313-
var animationFrom = selection ? '0 565 489' : '0 785 104';
314-
var animationTo = selection ? '360 565 489' : '360 785 104';
312+
var translation = selection ? 'translate(-195,-15)' : 'translate(0,-400)';
313+
var animationFrom = selection ? '0 590 489' : '0 785 104';
314+
var animationTo = selection ? '360 590 489' : '360 785 104';
315315
document.getElementById('useHeatingPumpChassis').setAttribute('transform', translation);
316316
document.getElementById('useHeatingPumpBladeWheelInner').setAttribute('transform', translation);
317317
document.getElementById('animationHeatingCircuitPumpBladeWheel').setAttribute('from', animationFrom);
@@ -460,7 +460,7 @@
460460
</div>
461461
<div>
462462
<label for="inputWwHeatingValve" id="labelWwHeatingValve">Ventil Heizen/Warmwasser:</label>
463-
<input type="checkbox" id="inputWwHeatingValve" onClick="document.getElementById('gWWHeatingValve').setAttribute('transform', this.checked ? 'rotate(90, 620, 487)' : 'rotate(0, 620, 487)');heizstabFarbe();"></input>
463+
<input type="checkbox" id="inputWwHeatingValve" onClick="document.getElementById('gWWHeatingValve').setAttribute('transform', this.checked ? 'rotate(90, 620, 362)' : 'rotate(0, 620, 362)');heizstabFarbe();"></input>
464464
</div>
465465
<div>
466466
<label for="inputCirculatingPumpRunning" id="labelCirculatingPumpRunning">Zirkulationspumpe aktiv:</label>

0 commit comments

Comments
 (0)