<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2015-07-27 17:01 GMT+02:00 Michael Baer <span dir="ltr"><<a href="mailto:mibaer@web.de" target="_blank">mibaer@web.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div style="font-family:'Sans Serif';font-size:10pt;font-weight:400;font-style:normal"><span class="">
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Am Montag, 27. Juli 2015 schrieb Andreas Goetz:</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> > ich habe doch nur einen Wasserzähler den ich in Frontend finde.</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> > Aber ich habe inzwischen noch etwas gebastelt. Es laufen nun ein</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> > Wasserzähler ein Stromzähler und ein Gaszähler bei mir alle über</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> > S0 alle 1000 imp/kw/m3/m3. Das Frontend habe ich mir angepasst,</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> > so dass die Ausgabe im l/min m3/h w/h und Kw/h usw richtig</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> > angezeigt wird. Vor allem die Kosten richtig berechnet werden.</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> Ich verstehe nicht was es da zu basteln gibt. Sollte alles out of</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> the box funktionieren, vllt. mit Ausnahme der Umrechnung von l in</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> m3. Wenn Du konkret beschreiben kannst was dabei nicht</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> funktioniert kann ich das gerne im Repo anpassen- bisher habe ich</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> es nicht verstanden.</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
</span><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Die Umrechnung l auf m3 hast du damals "fuer mich" gebastelt und das funktioniert bei mir noch......</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">War Gas / Wasser und dann noch ne Korrektur beim Betriebsstundenzaehler --- irgendwann um Weihnachten/Silvester 2014 rum :-)</p></div></blockquote><div><br></div><div>Wo Du recht hast- da isses:<br><br>vz.wui.formatNumber = function(number, unit, prefix) {<br>...<br>    // flow unit or air pressure?<br>    if (['l', 'm3', 'm^3', 'm³', 'l/h', 'm3/h', 'm/h^3', 'm³/h', 'hPa'].indexOf(unit) >= 0) {<br>        // don't scale...<br>        maxIndex = -1;<br><br>        // ...unless for l->m3 conversion<br>        if (Math.abs(number) > 1000 && (unit == 'l' || unit == 'l/h')) {<br>            unit = 'm³' + unit.substring(1);<br>            number /= 1000;<br>        }<br>    }<br> ...<br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-family:'Sans Serif';font-size:10pt;font-weight:400;font-style:normal">
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">-- </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Gruss,</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">   Michael</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">GnuPG-ID 0x1E4ED700  <a href="http://pgp.mit.edu/" target="_blank">http://pgp.mit.edu/</a></p></div></blockquote></div><br></div></div>