implement #471 (add nextion2text)

This commit is contained in:
joBr99
2022-09-17 19:57:29 +00:00
committed by github-actions[bot]
parent 673f4c20da
commit cd1fecd9f2
36 changed files with 282 additions and 86 deletions

View File

@@ -1014,6 +1014,7 @@ Hotspot m2
Touch Press Event
pageIcons.tTmp1.txt=tEntity3.txt
pageIcons.tTmp2.txt=entn3.txt
pageIcons.tTmp3.txt=tIcon3.txt
if(type3.txt=="shutter")
{
//popupShutter.tHeading.txt=tEntity3.txt
@@ -1040,6 +1041,7 @@ Hotspot m1
Touch Press Event
pageIcons.tTmp1.txt=tEntity2.txt
pageIcons.tTmp2.txt=entn2.txt
pageIcons.tTmp3.txt=tIcon2.txt
if(type2.txt=="shutter")
{
//popupShutter.tHeading.txt=tEntity2.txt
@@ -1066,6 +1068,7 @@ Hotspot m0
Touch Press Event
pageIcons.tTmp1.txt=tEntity1.txt
pageIcons.tTmp2.txt=entn1.txt
pageIcons.tTmp3.txt=tIcon1.txt
if(type1.txt=="shutter")
{
//popupShutter.tHeading.txt=tEntity1.txt
@@ -1092,6 +1095,7 @@ Hotspot m3
Touch Press Event
pageIcons.tTmp1.txt=tEntity4.txt
pageIcons.tTmp2.txt=entn4.txt
pageIcons.tTmp3.txt=tIcon4.txt
if(type4.txt=="shutter")
{
//popupShutter.tHeading.txt=tEntity4.txt

View File

@@ -310,6 +310,7 @@ Button bEntity1
tTmp.txt=type1.txt
pageIcons.tTmp1.txt=tEntity1.txt
pageIcons.tTmp2.txt=entn1.txt
pageIcons.tTmp3.txt=bEntity1.txt
if(type1.txt=="shutter")
{
page popupShutter
@@ -346,6 +347,7 @@ Button bEntity2
tTmp.txt=type2.txt
pageIcons.tTmp1.txt=tEntity2.txt
pageIcons.tTmp2.txt=entn2.txt
pageIcons.tTmp3.txt=bEntity2.txt
if(type2.txt=="shutter")
{
page popupShutter
@@ -382,6 +384,7 @@ Button bEntity3
tTmp.txt=type3.txt
pageIcons.tTmp1.txt=tEntity3.txt
pageIcons.tTmp2.txt=entn3.txt
pageIcons.tTmp3.txt=bEntity3.txt
if(type3.txt=="shutter")
{
page popupShutter
@@ -418,6 +421,7 @@ Button bEntity4
tTmp.txt=type4.txt
pageIcons.tTmp1.txt=tEntity4.txt
pageIcons.tTmp2.txt=entn4.txt
pageIcons.tTmp3.txt=bEntity4.txt
if(type4.txt=="shutter")
{
page popupShutter
@@ -454,6 +458,7 @@ Button bEntity5
tTmp.txt=type5.txt
pageIcons.tTmp1.txt=tEntity5.txt
pageIcons.tTmp2.txt=entn5.txt
pageIcons.tTmp3.txt=bEntity5.txt
if(type5.txt=="shutter")
{
page popupShutter
@@ -490,6 +495,7 @@ Button bEntity6
tTmp.txt=type6.txt
pageIcons.tTmp1.txt=tEntity6.txt
pageIcons.tTmp2.txt=entn6.txt
pageIcons.tTmp3.txt=bEntity6.txt
if(type6.txt=="shutter")
{
page popupShutter

View File

@@ -42,6 +42,16 @@ Text tTmp2
Text :
Max. Text Size : 80
Text tTmp3
Attributes
Scope : global
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Associated Keyboard : none
Text :
Max. Text Size : 10
Picture p0
Attributes
Scope : local

View File

@@ -17,6 +17,7 @@ Page popupLight
tEntity.txt=pageIcons.tTmp1.txt
//get entity id
entn.txt=pageIcons.tTmp2.txt
tIcon1.txt=pageIcons.tTmp3.txt
vis p0,0
vis tSend,0
vis tTmp,0

View File

@@ -17,6 +17,7 @@ Page popupShutter
tEntity.txt=pageIcons.tTmp1.txt
//get entity id
entn.txt=pageIcons.tTmp2.txt
tIcon1.txt=pageIcons.tTmp3.txt
vis p0,0
vis tSend,0
vis tPosHeading,0