Merge branch 'main' of github.com:joBr99/nspanel-lovelace-ui

This commit is contained in:
Johannes Braun
2022-12-09 14:52:23 +01:00
6 changed files with 128 additions and 28 deletions

View File

@@ -432,7 +432,7 @@
│ Disable release event after dragging: 0
│ Send Component ID : disabled
│ @@ -484,260 +431,14 @@
│ @@ -484,280 +431,14 @@
│ crcputs tSend.txt,0
│ //send cmd
│ printh 55 bb
@@ -506,6 +506,10 @@
│ - {
│ - page popupInSel
│ - }
│ - if(type2.txt=="media_pl")
│ - {
│ - page popupInSel
│ - }
│ -
│ - Touch Release Event
│ - tmLP.en=0
@@ -547,6 +551,10 @@
│ - {
│ - page popupInSel
│ - }
│ - if(type3.txt=="media_pl")
│ - {
│ - page popupInSel
│ - }
│ -
│ - Touch Release Event
│ - tmLP.en=0
@@ -588,6 +596,10 @@
│ - {
│ - page popupInSel
│ - }
│ - if(type4.txt=="media_pl")
│ - {
│ - page popupInSel
│ - }
│ -
│ - Touch Release Event
│ - tmLP.en=0
@@ -629,6 +641,10 @@
│ - {
│ - page popupInSel
│ - }
│ - if(type5.txt=="media_pl")
│ - {
│ - page popupInSel
│ - }
│ -
│ - Touch Release Event
│ - tmLP.en=0
@@ -666,7 +682,11 @@
│ - {
│ - page popupShutter
│ - }
│ - if(type6.txt=="input_sel")
│ - if(entn.txt=="input_sel")
│ - {
│ - page popupInSel
│ - }
│ - if(type6.txt=="media_pl")
│ - {
│ - page popupInSel
│ - }
@@ -693,7 +713,7 @@
│ Disable release event after dragging: 0
│ Send Component ID : disabled
│ State : unpressed
│ @@ -837,31 +538,14 @@
│ @@ -857,31 +538,14 @@
│ Period (ms): 100
│ Enabled : no
@@ -725,7 +745,7 @@
│ Enabled : yes
│ Events
│ @@ -907,15 +591,15 @@
│ @@ -927,15 +591,15 @@
│ // here is the location where acual code should be
│ // write command to variable strCommand
│ ucopy strCommand.txt,4,payloadLength-5,0
@@ -742,7 +762,7 @@
│ if(tTmp.txt=="0")
│ {
│ vis bPrev,0
│ @@ -951,183 +635,111 @@
│ @@ -971,183 +635,111 @@
│ if(tTmp.txt=="2")
│ {
│ vis bNext,1
@@ -993,7 +1013,7 @@
│ //write name of speical page to tId
│ spstr strCommand.txt,tId.txt,"~",1
│ //save second arg if there's one
│ @@ -1184,63 +796,38 @@
│ @@ -1204,63 +796,38 @@
│ {
│ page cardQR
│ }
@@ -1024,14 +1044,14 @@
│ - // get background color
│ - spstr strCommand.txt,tTmp.txt,"~",3
│ - if(tTmp.txt!="")
- {
+ if(tId.txt=="cardChart")
│ {
│ - covx tTmp.txt,defaultBcoColor,0,0
│ - }
│ - // get font color
│ - spstr strCommand.txt,tTmp.txt,"~",4
│ - if(tTmp.txt!="")
+ if(tId.txt=="cardChart")
│ {
- {
│ - covx tTmp.txt,defaultFontColor,0,0
│ + page cardChart
│ }

View File

@@ -1057,7 +1057,7 @@
│ Disable release event after dragging: 0
│ Send Component ID : disabled
│ @@ -484,260 +431,14 @@
│ @@ -484,280 +431,14 @@
│ crcputs tSend.txt,0
│ //send cmd
│ printh 55 bb
@@ -1131,6 +1131,10 @@
│ - {
│ - page popupInSel
│ - }
│ - if(type2.txt=="media_pl")
│ - {
│ - page popupInSel
│ - }
│ -
│ - Touch Release Event
│ - tmLP.en=0
@@ -1172,6 +1176,10 @@
│ - {
│ - page popupInSel
│ - }
│ - if(type3.txt=="media_pl")
│ - {
│ - page popupInSel
│ - }
│ -
│ - Touch Release Event
│ - tmLP.en=0
@@ -1213,6 +1221,10 @@
│ - {
│ - page popupInSel
│ - }
│ - if(type4.txt=="media_pl")
│ - {
│ - page popupInSel
│ - }
│ -
│ - Touch Release Event
│ - tmLP.en=0
@@ -1254,6 +1266,10 @@
│ - {
│ - page popupInSel
│ - }
│ - if(type5.txt=="media_pl")
│ - {
│ - page popupInSel
│ - }
│ -
│ - Touch Release Event
│ - tmLP.en=0
@@ -1291,7 +1307,11 @@
│ - {
│ - page popupShutter
│ - }
│ - if(type6.txt=="input_sel")
│ - if(entn.txt=="input_sel")
│ - {
│ - page popupInSel
│ - }
│ - if(type6.txt=="media_pl")
│ - {
│ - page popupInSel
│ - }
@@ -1318,7 +1338,7 @@
│ Disable release event after dragging: 0
│ Send Component ID : disabled
│ State : unpressed
│ @@ -837,31 +538,14 @@
│ @@ -857,31 +538,14 @@
│ Period (ms): 100
│ Enabled : no
@@ -1350,7 +1370,7 @@
│ Enabled : yes
│ Events
│ @@ -907,15 +591,15 @@
│ @@ -927,15 +591,15 @@
│ // here is the location where acual code should be
│ // write command to variable strCommand
│ ucopy strCommand.txt,4,payloadLength-5,0
@@ -1367,7 +1387,7 @@
│ if(tTmp.txt=="0")
│ {
│ vis bPrev,0
│ @@ -951,183 +635,111 @@
│ @@ -971,183 +635,111 @@
│ if(tTmp.txt=="2")
│ {
│ vis bNext,1
@@ -1618,7 +1638,7 @@
│ //write name of speical page to tId
│ spstr strCommand.txt,tId.txt,"~",1
│ //save second arg if there's one
│ @@ -1184,63 +796,38 @@
│ @@ -1204,63 +796,38 @@
│ {
│ page cardQR
│ }
@@ -1649,14 +1669,14 @@
│ - // get background color
│ - spstr strCommand.txt,tTmp.txt,"~",3
│ - if(tTmp.txt!="")
- {
+ if(tId.txt=="cardChart")
│ {
│ - covx tTmp.txt,defaultBcoColor,0,0
│ - }
│ - // get font color
│ - spstr strCommand.txt,tTmp.txt,"~",4
│ - if(tTmp.txt!="")
+ if(tId.txt=="cardChart")
│ {
- {
│ - covx tTmp.txt,defaultFontColor,0,0
│ + page cardChart
│ }

View File

@@ -1,4 +1,4 @@
+++ /dev/fd/62 2022-12-06 21:19:22.503654117 +0000
+++ /dev/fd/62 2022-12-08 22:30:18.613127649 +0000
+I/n2t-out/Program.s.txt
++ HMI/US/portrait/n2t-out/Program.s.txt
+I/n2t-out/cardChart.txt
@@ -447,7 +447,7 @@
+ Disable release event after dragging: 0
+ Send Component ID : disabled
+
+260 +431,14 @@
+280 +431,14 @@
+ crcputs tSend.txt,0
+ //send cmd
+ printh 55 bb
@@ -521,6 +521,10 @@
+ {
+ page popupInSel
+ }
+ if(type2.txt=="media_pl")
+ {
+ page popupInSel
+ }
+
+ Touch Release Event
+ tmLP.en=0
@@ -562,6 +566,10 @@
+ {
+ page popupInSel
+ }
+ if(type3.txt=="media_pl")
+ {
+ page popupInSel
+ }
+
+ Touch Release Event
+ tmLP.en=0
@@ -603,6 +611,10 @@
+ {
+ page popupInSel
+ }
+ if(type4.txt=="media_pl")
+ {
+ page popupInSel
+ }
+
+ Touch Release Event
+ tmLP.en=0
@@ -644,6 +656,10 @@
+ {
+ page popupInSel
+ }
+ if(type5.txt=="media_pl")
+ {
+ page popupInSel
+ }
+
+ Touch Release Event
+ tmLP.en=0
@@ -681,7 +697,11 @@
+ {
+ page popupShutter
+ }
+ if(type6.txt=="input_sel")
+ if(entn.txt=="input_sel")
+ {
+ page popupInSel
+ }
+ if(type6.txt=="media_pl")
+ {
+ page popupInSel
+ }
@@ -1039,13 +1059,13 @@
+ // get background color
+ spstr strCommand.txt,tTmp.txt,"~",3
+ if(tTmp.txt!="")
+ if(tId.txt=="cardChart")
+ {
+ covx tTmp.txt,defaultBcoColor,0,0
+ }
+ // get font color
+ spstr strCommand.txt,tTmp.txt,"~",4
+ if(tTmp.txt!="")
+ if(tId.txt=="cardChart")
+ {
+ covx tTmp.txt,defaultFontColor,0,0
+ page cardChart

View File

@@ -878,6 +878,10 @@ Button bEntity2
{
page popupInSel
}
if(type2.txt=="media_pl")
{
page popupInSel
}
Touch Release Event
tmLP.en=0
@@ -941,6 +945,10 @@ Button bEntity3
{
page popupInSel
}
if(type3.txt=="media_pl")
{
page popupInSel
}
Touch Release Event
tmLP.en=0
@@ -1004,6 +1012,10 @@ Button bEntity4
{
page popupInSel
}
if(type4.txt=="media_pl")
{
page popupInSel
}
Touch Release Event
tmLP.en=0
@@ -1067,6 +1079,10 @@ Button bEntity5
{
page popupInSel
}
if(type5.txt=="media_pl")
{
page popupInSel
}
Touch Release Event
tmLP.en=0
@@ -1126,7 +1142,11 @@ Button bEntity6
{
page popupShutter
}
if(type6.txt=="input_sel")
if(entn.txt=="input_sel")
{
page popupInSel
}
if(type6.txt=="media_pl")
{
page popupInSel
}

View File

@@ -68,8 +68,8 @@ cardThermo
318 Unique line(s) of event code
cardMedia
57 Component(s)
640 Line(s) of event code
320 Unique line(s) of event code
660 Line(s) of event code
325 Unique line(s) of event code
cardEntities
65 Component(s)
1169 Line(s) of event code
@@ -78,5 +78,5 @@ cardEntities
Total
18 Page(s)
636 Component(s)
7805 Line(s) of event code
1967 Unique line(s) of event code
7825 Line(s) of event code
1973 Unique line(s) of event code

View File

@@ -554,6 +554,10 @@ Button bEntity2
{
page popupInSel
}
if(type2.txt=="media_pl")
{
page popupInSel
}
Touch Release Event
tmLP.en=0
@@ -595,6 +599,10 @@ Button bEntity3
{
page popupInSel
}
if(type3.txt=="media_pl")
{
page popupInSel
}
Touch Release Event
tmLP.en=0
@@ -636,6 +644,10 @@ Button bEntity4
{
page popupInSel
}
if(type4.txt=="media_pl")
{
page popupInSel
}
Touch Release Event
tmLP.en=0
@@ -677,6 +689,10 @@ Button bEntity5
{
page popupInSel
}
if(type5.txt=="media_pl")
{
page popupInSel
}
Touch Release Event
tmLP.en=0
@@ -714,7 +730,11 @@ Button bEntity6
{
page popupShutter
}
if(type6.txt=="input_sel")
if(entn.txt=="input_sel")
{
page popupInSel
}
if(type6.txt=="media_pl")
{
page popupInSel
}