Ankündigung

Einklappen
Keine Ankündigung bisher.

Bug in Vorlage "Rollladen Markise Dachfenster" ID 1-107

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    HS/FS Bug in Vorlage "Rollladen Markise Dachfenster" ID 1-107

    Sorry, I'm French and my German is very poor, so I'll develop this post in English...

    There is a bug in the model 1-107 for blinds, rolls, etc.

    When one chose :
    • "Rollladen" as "Verhalten"
    • "Tastsensorbetrieb mit Positionsanfahrt" as "Bedienung" (i.e. type = 1)
    • "keine Anzeige" as "Statusanzeige" (i.e. style = 0)
    ... it should be possible to chose an absolute positioning through a popup window.
    Not displaying the position ("kein Anzeige") should not prevent the user to select a position ("mit Positionsanfahrt")!

    This is of much use when a module is used to control a group of blinds that are also controlled separately. There is not absolute position to display (each blind can have its own position! Which one to display? Their average position?), but there no reason to forbid a joint absolute positioning of all of them.

    Hence, currently, with the above parameter the popup will never appear.

    To fix the issue, edit the file C:\Users\Public\Documents\Gira\HS+FS Experte 4.11\quad\templates\data\1-107\template_1.xml
    go to the from line 83
    Code:
    <!--Logik für das Hand-Betrieb -->
    <logic id="logic_action_typ1" operation="and">
    <slot id="logic_hand" inverse="true" />
    <slot id="$par_type" compare="1"/>
    <slot id="$par_style" compare="0" inverse="true"/>
    </logic>
    an remove the line 87
    Code:
    <slot id="$par_style" compare="0" inverse="true"/>
    Brief explanation: this code apparently means that the popup will appear if ((type is 1) AND (style is not 0)) which is exactly what I consider as faulty. So I removed the second condition and it fixed the issue. Not very clean, but it works now.

    BTW, if someone knows where to find documentation about this <logic> tag, I'm much interested. gira_template_doku.pdf does not say a single word about it.

    #2
    an automated translation

    Sorry, ich bin Franzose und mein Deutsch ist sehr schlecht, also werde ich diesen Beitrag auf Englisch verfassen...

    Es gibt einen Fehler im Modell 1-107 für Jalousien, Rollen, etc.

    Wenn man wählt :
    • "Rollladen" als "Verhalten"
    • "Tastsensorbetrieb mit Positionsanfahrt" als "Bedienung" (d.h. Typ = 1)
    • "keine Anzeige" als "Statusanzeige" (d.h. Typ = 0)
    ... es sollte möglich sein, eine absolute Positionierung über ein Popup-Fenster zu wählen.
    Die Nichtanzeige der Position ("keine Anzeige") sollte den Benutzer nicht daran hindern, eine Position zu wählen ("mit Positionsanfahrt")!

    Dies ist von großem Nutzen, wenn ein Modul verwendet wird, um eine Gruppe von Jalousien zu steuern, die auch separat gesteuert werden. Es gibt keine absolute Position, die angezeigt werden muss (jede Jalousie kann ihre eigene Position haben! Welche soll angezeigt werden? Ihre durchschnittliche Position?), aber es gibt keinen Grund, eine gemeinsame absolute Positionierung aller Jalousien zu verbieten.

    Daher wird das Popup mit dem obigen Parameter derzeit nie angezeigt.

    Um das Problem zu beheben, bearbeiten Sie die Datei C:\Users\Public\Documents\Gira\HS+FS Experte 4.11\quad\templates\data\1-107\template_1.xml
    gehen Sie zu der ab Zeile 83

    Code:
    <!-Logik für den Hand-Betrieb -->
    <logic id="logic_action_typ1" operation="and">
    <slot id="logic_hand" inverse="true" />
    <slot id="$par_type" compare="1"/>
    <slot id="$par_style" compare="0" inverse="true"/>
    </logic>
    und entfernen Sie die Zeile 87
    Code:
    <slot id="$par_style" compare="0" inverse="true"/>
    Kurze Erklärung: dieser Code bedeutet offenbar, dass das Popup erscheint, wenn ((type ist 1) AND (style ist nicht 0)), was genau das ist, was ich als fehlerhaft betrachte. Also habe ich die zweite Bedingung entfernt und das Problem ist behoben. Nicht sehr sauber, aber es funktioniert jetzt.

    Übrigens, wenn jemand weiß, wo man eine Dokumentation zu diesem <logic> Tag findet, bin ich sehr interessiert. gira_template_doku.pdf sagt kein einziges Wort darüber.

    Kommentar

    Lädt...
    X