TESTI NEI LAYOUT - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9) +--- Thread: TESTI NEI LAYOUT (/showthread.php?tid=2360) Pages:
1
2
|
TESTI NEI LAYOUT - Hosutech - 22.11.2019 Ciao a tutti, ho la necessità di scrivere delle etichette (testi) in verticale, non trovo il modo per farlo, c'è una configurazione particolare per ottenere questo ?? RE: Layout Text - Erwin van der Zwart - 22.11.2019 Hi, Can you post your questions in English in the future? Thanks! You can do that by adding a custom class to the text element (in this sample verticaltext) Add this code to you custom ccs: Code: .item.verticaltext.item-label { Erwin RE: Layout Text - Hosutech - 23.11.2019 (22.11.2019, 19:13)Erwin van der Zwart Wrote: Hi, thanks for the answer, I added the code in my custom css but in the layout I don't find the desired option to get the vertical text, where am I doing wrong? thanks for the answer, I added the code in my custom css but in the layout I don't find the desired option to get the vertical text, where am I doing wrong? RE: Layout Text - Erwin van der Zwart - 23.11.2019 Hi, Did you add the additional class ‘verticaltext’ to your text element in the editor? The change is only visible in the live view and not in the editor. BR, Erwin RE: TESTI NEI LAYOUT - Hosutech - 24.11.2019 hello, ok I see it live, let me point out that in this way there is no possibility to precisely position the text in the layout, what is the way to define it from the editor? I also ask if there is a way to read the text having the individual vertical letters in order to avoid reading by bending the head? RE: TESTI NEI LAYOUT - admin - 24.11.2019 This might be helpful: https://developer.mozilla.org/en-US/docs/Web/CSS/text-orientation RE: TESTI NEI LAYOUT - Hosutech - 25.11.2019 (24.11.2019, 11:03)admin Wrote: This might be helpful: https://developer.mozilla.org/en-US/docs/Web/CSS/text-orientationthanks to the information, I tried but I didn't get the desired result, I apologize for the inaccuracies but I didn't study this matter and therefore I need your kind technical support. Code: .item.verticaltext.item-label { RE: TESTI NEI LAYOUT - admin - 25.11.2019 It should be: Code: .item.verticaltext.item-label { RE: TESTI NEI LAYOUT - Hosutech - 25.11.2019 perfect thanks ! I also ask if there is a way to insert a colored background to the text ?! RE: TESTI NEI LAYOUT - Hosutech - 02.12.2019 (25.11.2019, 07:32)admin Wrote: It should be:perfetto grazie ! Chiedo anche se esiste un modo per inserire uno sfondo colorato nel testo ?! RE: TESTI NEI LAYOUT - admin - 03.12.2019 You can set background via CSS: Code: .item.verticaltext.item-label { RE: TESTI NEI LAYOUT - Hosutech - 06.12.2019 very well thank you, it works, now I'd like to get the green background activation if an "x" object goes to 1 and red if another "y" object goes to 2. I guess this is possible too ?! RE: TESTI NEI LAYOUT - Daniel - 06.12.2019 You can convert this https://forum.logicmachine.net/showthread.php?tid=1976&pid=12317#pid12317 RE: TESTI NEI LAYOUT - Hosutech - 18.12.2019 Good evening, I would like to activate an object (value_3) as a function of a temperature value (value_1) + a differential value (value_2), how can I do!? RE: TESTI NEI LAYOUT - Daniel - 19.12.2019 (18.12.2019, 19:35)Hosutech Wrote: Good evening, I would like to activate an object (value_3) as a function of a temperature value (value_1) + a differential value (value_2), how can I do!?Hi Do you want to get v1 and v2 then add them together and write to v3? v1 + v2 = v3 ? RE: TESTI NEI LAYOUT - Hosutech - 19.12.2019 I explained myself wrongly, I have to start a command (value_3) when the room temperature (value_1) is 2.5 ° C (value_2) higher than the setpoint requested by the user (value_4). Therefore : (value_3 = 1) if (value_1> = value_4 + value_2) else (value_3 = 0) RE: TESTI NEI LAYOUT - Hosutech - 20.12.2019 mi sono spiegato male, devo far partire un comando (value_3) quando la temperatura ambiente (value_1) è 2,5°C (value_2) superiore al setpoint richiesto dall'utente (value_4). Quindi : (value_3 = 1) if (value_1 >= value_4 + value_2 ) else (value_3 = 0) RE: TESTI NEI LAYOUT - Daniel - 20.12.2019 Google translator didn't work well here Based on your description do it like that. Tag objects v1,v2,v4 as you want but not v4. In my example it is setpiont, temp and delta but not switch. Create event based script which will be triggered by your tag. Code: temp = grp.getvalue('Thermostat Temperature') RE: TESTI NEI LAYOUT - Hosutech - 26.12.2019 THANK YOU !! happy birthday! .. I applied it also using an and filter, here is what I wrote in the script: value_2 = grp.getvalue ('3/3/2') - set speed value_1 = grp.getvalue ('7/0/0') - summer / winter value_3 = grp.getvalue ('6/0/2') - master command temp = grp.getvalue ('2/2/7') setpoint = grp.getvalue ('2/2/17') delta = grp.getvalue ('3/1/202') if delta <= (temp - setpoint) and (value_1 == false) and (value_3 == false) then grp.write ('2/0/92', true) grp.write ('6/0/92', value_2) else grp.write ('2/0/92', false) grp.write ('6/0/92', 0) - byte to 0 end RE: TESTI NEI LAYOUT - Hosutech - 14.01.2020 Good morning, I have communication problems in the configuration of devices on different lines present in a system composed of 6 lines connected together with the Router / IP module. The server is connected to the bus via IP and not via TP, do you recommend changing the connection to the bus? (see screenshot) https://drive.google.com/drive/folders/1RwojQkYaa1nXmT9GKYzR1Kik_bvfCcrY?usp=sharing |