Infocubes
From PlcWiki
(Difference between revisions)
Pavel.kruzik (Talk | contribs) |
Pavel.kruzik (Talk | contribs) |
||
Line 34: | Line 34: | ||
"background":"yellow" | "background":"yellow" | ||
} | } | ||
+ | |||
+ | |||
+ | Klíč "maxminmode" v hodnotě "seconds" způsobí, že hodnoty max a min jsou porovnávány se sekundami a ne se zobrazenou hodnotou. Funguje jen u kostky lastrecordvalue2 |
Revision as of 07:34, 8 October 2021
Tato vizualizace slouží k rozmístění jednotlivých infokostiček na obrazovku.
Druhy kostiček:
- image
- andon
- text
- productionrate
- lastrecordvalue
- lastrecordvalue2
- freezelastrecordvalue
obecné klíče
shadow: true/false
rounded: true/false
{ "cube":"lastrecordvalue2", "title":"Acc. box [7781]", "sensor_id":"main-stack-size.changed@7781.new.sas-automotive.com", "template":"<%= record.chart_value %>", "max":{ "value":800, "color":"white", "background":"red" }, "min":{ "value":600, "color":"black", "background":"lime" }, "color":"black", "background":"yellow" }
Klíč "maxminmode" v hodnotě "seconds" způsobí, že hodnoty max a min jsou porovnávány se sekundami a ne se zobrazenou hodnotou. Funguje jen u kostky lastrecordvalue2