closes #266 code on screensaver page is now the same on every version, is checking for the width of the screen (add nextion2text)

This commit is contained in:
joBr99
2022-06-08 20:00:12 +00:00
committed by github-actions[bot]
parent 6bba9d958d
commit aa9ad5d360
10 changed files with 34 additions and 34 deletions

View File

@@ -1,6 +1,6 @@
diff -bur HMI/n2t-out/Program.s.txt HMI/US/landscape/n2t-out/Program.s.txt diff -bur HMI/n2t-out/Program.s.txt HMI/US/landscape/n2t-out/Program.s.txt
--- HMI/n2t-out/Program.s.txt 2022-06-06 20:43:14.701325786 +0000 --- HMI/n2t-out/Program.s.txt 2022-06-08 20:00:07.004980492 +0000
+++ HMI/US/landscape/n2t-out/Program.s.txt 2022-06-06 20:43:15.757379552 +0000 +++ HMI/US/landscape/n2t-out/Program.s.txt 2022-06-08 20:00:08.089056883 +0000
@@ -11,6 +11,4 @@ @@ -11,6 +11,4 @@
// dim value // dim value
int dimValue=40 int dimValue=40
@@ -9,8 +9,8 @@ diff -bur HMI/n2t-out/Program.s.txt HMI/US/landscape/n2t-out/Program.s.txt
- lcd_dev fffb 0002 0000 0020 - lcd_dev fffb 0002 0000 0020
page pageStartup page pageStartup
diff -bur HMI/n2t-out/pageStartup.txt HMI/US/landscape/n2t-out/pageStartup.txt diff -bur HMI/n2t-out/pageStartup.txt HMI/US/landscape/n2t-out/pageStartup.txt
--- HMI/n2t-out/pageStartup.txt 2022-06-06 20:43:14.705325989 +0000 --- HMI/n2t-out/pageStartup.txt 2022-06-08 20:00:07.004980492 +0000
+++ HMI/US/landscape/n2t-out/pageStartup.txt 2022-06-06 20:43:15.757379552 +0000 +++ HMI/US/landscape/n2t-out/pageStartup.txt 2022-06-08 20:00:08.089056883 +0000
@@ -177,7 +177,7 @@ @@ -177,7 +177,7 @@
recmod=1 recmod=1
bauds=115200 bauds=115200

View File

@@ -1041,7 +1041,7 @@ Timer tmSerial
//alternative layout //alternative layout
//tMRIcon //tMRIcon
spstr strCommand.txt,tMRIcon.txt,"~",15 spstr strCommand.txt,tMRIcon.txt,"~",15
if(tMRIcon.txt!="") if(tMRIcon.txt!=""&&p0.w!=320)
{ {
//value for tMRIcon, activate alternative layout //value for tMRIcon, activate alternative layout
vis tMainIcon,0 vis tMainIcon,0

View File

@@ -476,7 +476,7 @@ Timer tmSerial
//alternative layout //alternative layout
//tMRIcon //tMRIcon
spstr strCommand.txt,tMRIcon.txt,"~",15 spstr strCommand.txt,tMRIcon.txt,"~",15
if(tMRIcon.txt!="") if(tMRIcon.txt!=""&&p0.w!=320)
{ {
//value for tMRIcon, activate alternative layout //value for tMRIcon, activate alternative layout
vis tMainIcon,0 vis tMainIcon,0

View File

@@ -1,6 +1,6 @@
diff -bur HMI/n2t-out/Program.s.txt HMI/US/portrait/n2t-out/Program.s.txt diff -bur HMI/n2t-out/Program.s.txt HMI/US/portrait/n2t-out/Program.s.txt
--- HMI/n2t-out/Program.s.txt 2022-06-06 20:43:14.701325786 +0000 --- HMI/n2t-out/Program.s.txt 2022-06-08 20:00:07.004980492 +0000
+++ HMI/US/portrait/n2t-out/Program.s.txt 2022-06-06 20:43:15.217352058 +0000 +++ HMI/US/portrait/n2t-out/Program.s.txt 2022-06-08 20:00:07.521016838 +0000
@@ -11,6 +11,6 @@ @@ -11,6 +11,6 @@
// dim value // dim value
int dimValue=40 int dimValue=40
@@ -11,8 +11,8 @@ diff -bur HMI/n2t-out/Program.s.txt HMI/US/portrait/n2t-out/Program.s.txt
+ //lcd_dev fffb 0002 0000 0020 + //lcd_dev fffb 0002 0000 0020
page pageStartup page pageStartup
diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
--- HMI/n2t-out/cardEntities.txt 2022-06-06 20:43:14.705325989 +0000 --- HMI/n2t-out/cardEntities.txt 2022-06-08 20:00:07.004980492 +0000
+++ HMI/US/portrait/n2t-out/cardEntities.txt 2022-06-06 20:43:15.217352058 +0000 +++ HMI/US/portrait/n2t-out/cardEntities.txt 2022-06-08 20:00:07.521016838 +0000
@@ -63,6 +63,16 @@ @@ -63,6 +63,16 @@
vis bText4,0 vis bText4,0
vis hSlider4,0 vis hSlider4,0
@@ -468,8 +468,8 @@ diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
if(tInstruction.txt=="pageType") if(tInstruction.txt=="pageType")
{ {
diff -bur HMI/n2t-out/cardMedia.txt HMI/US/portrait/n2t-out/cardMedia.txt diff -bur HMI/n2t-out/cardMedia.txt HMI/US/portrait/n2t-out/cardMedia.txt
--- HMI/n2t-out/cardMedia.txt 2022-06-06 20:43:14.705325989 +0000 --- HMI/n2t-out/cardMedia.txt 2022-06-08 20:00:07.004980492 +0000
+++ HMI/US/portrait/n2t-out/cardMedia.txt 2022-06-06 20:43:15.217352058 +0000 +++ HMI/US/portrait/n2t-out/cardMedia.txt 2022-06-08 20:00:07.521016838 +0000
@@ -45,12 +45,6 @@ @@ -45,12 +45,6 @@
Scope: local Scope: local
Value: 0 Value: 0
@@ -518,8 +518,8 @@ diff -bur HMI/n2t-out/cardMedia.txt HMI/US/portrait/n2t-out/cardMedia.txt
if(tInstruction.txt=="time") if(tInstruction.txt=="time")
{ {
diff -bur HMI/n2t-out/pageStartup.txt HMI/US/portrait/n2t-out/pageStartup.txt diff -bur HMI/n2t-out/pageStartup.txt HMI/US/portrait/n2t-out/pageStartup.txt
--- HMI/n2t-out/pageStartup.txt 2022-06-06 20:43:14.705325989 +0000 --- HMI/n2t-out/pageStartup.txt 2022-06-08 20:00:07.004980492 +0000
+++ HMI/US/portrait/n2t-out/pageStartup.txt 2022-06-06 20:43:15.217352058 +0000 +++ HMI/US/portrait/n2t-out/pageStartup.txt 2022-06-08 20:00:07.525017120 +0000
@@ -142,7 +142,7 @@ @@ -142,7 +142,7 @@
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled

View File

@@ -1,8 +1,8 @@
+++ HMI/US/portrait/diff-eu-version.txt 2022-06-06 20:43:15.233352872 +0000 +++ HMI/US/portrait/diff-eu-version.txt 2022-06-08 20:00:07.557019374 +0000
+--- HMI/n2t-out/Program.s.txt 2022-06-06 20:43:14.701325786 +0000 +--- HMI/n2t-out/Program.s.txt 2022-06-08 20:00:07.004980492 +0000
++++ HMI/US/portrait/n2t-out/Program.s.txt 2022-06-06 20:43:15.217352058 +0000 ++++ HMI/US/portrait/n2t-out/Program.s.txt 2022-06-08 20:00:07.521016838 +0000
+--- HMI/n2t-out/cardEntities.txt 2022-06-06 20:43:14.705325989 +0000 +--- HMI/n2t-out/cardEntities.txt 2022-06-08 20:00:07.004980492 +0000
++++ HMI/US/portrait/n2t-out/cardEntities.txt 2022-06-06 20:43:15.217352058 +0000 ++++ HMI/US/portrait/n2t-out/cardEntities.txt 2022-06-08 20:00:07.521016838 +0000
+@@ -63,6 +63,16 @@ +@@ -63,6 +63,16 @@
+@@ -120,6 +130,18 @@ +@@ -120,6 +130,18 @@
+@@ -156,6 +178,15 @@ +@@ -156,6 +178,15 @@
@@ -13,8 +13,8 @@
+@@ -1075,6 +1281,28 @@ +@@ -1075,6 +1281,28 @@
+@@ -1850,6 +2078,169 @@ +@@ -1850,6 +2078,169 @@
+diff -bur HMI/n2t-out/cardMedia.txt HMI/US/portrait/n2t-out/cardMedia.txt +diff -bur HMI/n2t-out/cardMedia.txt HMI/US/portrait/n2t-out/cardMedia.txt
+--- HMI/n2t-out/cardMedia.txt 2022-06-06 20:43:14.705325989 +0000 +--- HMI/n2t-out/cardMedia.txt 2022-06-08 20:00:07.004980492 +0000
++++ HMI/US/portrait/n2t-out/cardMedia.txt 2022-06-06 20:43:15.217352058 +0000 ++++ HMI/US/portrait/n2t-out/cardMedia.txt 2022-06-08 20:00:07.521016838 +0000
+@@ -45,12 +45,6 @@ +@@ -45,12 +45,6 @@
+ Scope: local + Scope: local
+ Value: 0 + Value: 0
@@ -59,5 +59,5 @@
+ } + }
+ if(tInstruction.txt=="time") + if(tInstruction.txt=="time")
+ { + {
+--- HMI/n2t-out/pageStartup.txt 2022-06-06 20:43:14.705325989 +0000 +--- HMI/n2t-out/pageStartup.txt 2022-06-08 20:00:07.004980492 +0000
++++ HMI/US/portrait/n2t-out/pageStartup.txt 2022-06-06 20:43:15.217352058 +0000 ++++ HMI/US/portrait/n2t-out/pageStartup.txt 2022-06-08 20:00:07.525017120 +0000

View File

@@ -901,9 +901,9 @@ Picture p0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 0 x coordinate : 0
y coordinate : 1 y coordinate : 0
Width : 319 Width : 320
Height : 479 Height : 480
Effect : load Effect : load
Effect Priority : 0 Effect Priority : 0
Effect Time : 300 Effect Time : 300
@@ -1041,7 +1041,7 @@ Timer tmSerial
//alternative layout //alternative layout
//tMRIcon //tMRIcon
spstr strCommand.txt,tMRIcon.txt,"~",15 spstr strCommand.txt,tMRIcon.txt,"~",15
if(tMRIcon.txt!="") if(tMRIcon.txt!=""&&p0.w!=320)
{ {
//value for tMRIcon, activate alternative layout //value for tMRIcon, activate alternative layout
vis tMainIcon,0 vis tMainIcon,0

View File

@@ -476,7 +476,7 @@ Timer tmSerial
//alternative layout //alternative layout
//tMRIcon //tMRIcon
spstr strCommand.txt,tMRIcon.txt,"~",15 spstr strCommand.txt,tMRIcon.txt,"~",15
if(tMRIcon.txt!="") if(tMRIcon.txt!=""&&p0.w!=320)
{ {
//value for tMRIcon, activate alternative layout //value for tMRIcon, activate alternative layout
vis tMainIcon,0 vis tMainIcon,0

View File

@@ -22,10 +22,6 @@ popupLight
27 Component(s) 27 Component(s)
352 Line(s) of event code 352 Line(s) of event code
191 Unique line(s) of event code 191 Unique line(s) of event code
screensaver
38 Component(s)
319 Line(s) of event code
253 Unique line(s) of event code
cardMedia cardMedia
34 Component(s) 34 Component(s)
363 Line(s) of event code 363 Line(s) of event code
@@ -50,6 +46,10 @@ cardThermo
53 Component(s) 53 Component(s)
555 Line(s) of event code 555 Line(s) of event code
292 Unique line(s) of event code 292 Unique line(s) of event code
screensaver
38 Component(s)
319 Line(s) of event code
253 Unique line(s) of event code
cardEntities cardEntities
65 Component(s) 65 Component(s)
1133 Line(s) of event code 1133 Line(s) of event code

View File

@@ -1041,7 +1041,7 @@ Timer tmSerial
//alternative layout //alternative layout
//tMRIcon //tMRIcon
spstr strCommand.txt,tMRIcon.txt,"~",15 spstr strCommand.txt,tMRIcon.txt,"~",15
if(tMRIcon.txt!="") if(tMRIcon.txt!=""&&p0.w!=320)
{ {
//value for tMRIcon, activate alternative layout //value for tMRIcon, activate alternative layout
vis tMainIcon,0 vis tMainIcon,0

View File

@@ -476,7 +476,7 @@ Timer tmSerial
//alternative layout //alternative layout
//tMRIcon //tMRIcon
spstr strCommand.txt,tMRIcon.txt,"~",15 spstr strCommand.txt,tMRIcon.txt,"~",15
if(tMRIcon.txt!="") if(tMRIcon.txt!=""&&p0.w!=320)
{ {
//value for tMRIcon, activate alternative layout //value for tMRIcon, activate alternative layout
vis tMainIcon,0 vis tMainIcon,0