mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-15 09:26:58 +01:00
Merge branch 'main' of https://github.com/joBr99/nspanel-lovelace-ui (add nextion2text)
This commit is contained in:
committed by
github-actions[bot]
parent
ce8fb9b1ae
commit
69a5c7304c
@@ -1,6 +1,6 @@
|
||||
diff -bur HMI/n2t-out/Program.s.txt HMI/US/portrait/n2t-out/Program.s.txt
|
||||
--- HMI/n2t-out/Program.s.txt 2022-07-13 16:57:06.544404168 +0000
|
||||
+++ HMI/US/portrait/n2t-out/Program.s.txt 2022-07-13 16:57:06.972403853 +0000
|
||||
--- HMI/n2t-out/Program.s.txt 2022-07-23 08:51:48.553338369 +0000
|
||||
+++ HMI/US/portrait/n2t-out/Program.s.txt 2022-07-23 08:51:49.061349901 +0000
|
||||
@@ -14,6 +14,6 @@
|
||||
//color vars
|
||||
int defaultFontColor=65535
|
||||
@@ -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
|
||||
page pageStartup
|
||||
diff -bur HMI/n2t-out/cardAlarm.txt HMI/US/portrait/n2t-out/cardAlarm.txt
|
||||
--- HMI/n2t-out/cardAlarm.txt 2022-07-13 16:57:06.548404165 +0000
|
||||
+++ HMI/US/portrait/n2t-out/cardAlarm.txt 2022-07-13 16:57:06.972403853 +0000
|
||||
--- HMI/n2t-out/cardAlarm.txt 2022-07-23 08:51:48.553338369 +0000
|
||||
+++ HMI/US/portrait/n2t-out/cardAlarm.txt 2022-07-23 08:51:49.065349991 +0000
|
||||
@@ -12,6 +12,21 @@
|
||||
|
||||
Events
|
||||
@@ -62,8 +62,8 @@ diff -bur HMI/n2t-out/cardAlarm.txt HMI/US/portrait/n2t-out/cardAlarm.txt
|
||||
Variable (string) strCommand
|
||||
Attributes
|
||||
diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
|
||||
--- HMI/n2t-out/cardEntities.txt 2022-07-13 16:57:06.548404165 +0000
|
||||
+++ HMI/US/portrait/n2t-out/cardEntities.txt 2022-07-13 16:57:06.976403850 +0000
|
||||
--- HMI/n2t-out/cardEntities.txt 2022-07-23 08:51:48.553338369 +0000
|
||||
+++ HMI/US/portrait/n2t-out/cardEntities.txt 2022-07-23 08:51:49.065349991 +0000
|
||||
@@ -12,6 +12,22 @@
|
||||
|
||||
Events
|
||||
@@ -428,8 +428,8 @@ diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
|
||||
|
||||
Hotspot mSwipeNext
|
||||
diff -bur HMI/n2t-out/cardGrid.txt HMI/US/portrait/n2t-out/cardGrid.txt
|
||||
--- HMI/n2t-out/cardGrid.txt 2022-07-13 16:57:06.548404165 +0000
|
||||
+++ HMI/US/portrait/n2t-out/cardGrid.txt 2022-07-13 16:57:06.972403853 +0000
|
||||
--- HMI/n2t-out/cardGrid.txt 2022-07-23 08:51:48.553338369 +0000
|
||||
+++ HMI/US/portrait/n2t-out/cardGrid.txt 2022-07-23 08:51:49.065349991 +0000
|
||||
@@ -12,6 +12,11 @@
|
||||
|
||||
Events
|
||||
@@ -470,8 +470,8 @@ diff -bur HMI/n2t-out/cardGrid.txt HMI/US/portrait/n2t-out/cardGrid.txt
|
||||
TouchCap tc0
|
||||
Attributes
|
||||
diff -bur HMI/n2t-out/cardMedia.txt HMI/US/portrait/n2t-out/cardMedia.txt
|
||||
--- HMI/n2t-out/cardMedia.txt 2022-07-13 16:57:06.548404165 +0000
|
||||
+++ HMI/US/portrait/n2t-out/cardMedia.txt 2022-07-13 16:57:06.972403853 +0000
|
||||
--- HMI/n2t-out/cardMedia.txt 2022-07-23 08:51:48.553338369 +0000
|
||||
+++ HMI/US/portrait/n2t-out/cardMedia.txt 2022-07-23 08:51:49.065349991 +0000
|
||||
@@ -12,30 +12,26 @@
|
||||
|
||||
Events
|
||||
@@ -514,8 +514,8 @@ diff -bur HMI/n2t-out/cardMedia.txt HMI/US/portrait/n2t-out/cardMedia.txt
|
||||
Variable (string) strCommand
|
||||
Attributes
|
||||
diff -bur HMI/n2t-out/cardQR.txt HMI/US/portrait/n2t-out/cardQR.txt
|
||||
--- HMI/n2t-out/cardQR.txt 2022-07-13 16:57:06.548404165 +0000
|
||||
+++ HMI/US/portrait/n2t-out/cardQR.txt 2022-07-13 16:57:06.972403853 +0000
|
||||
--- HMI/n2t-out/cardQR.txt 2022-07-23 08:51:48.553338369 +0000
|
||||
+++ HMI/US/portrait/n2t-out/cardQR.txt 2022-07-23 08:51:49.065349991 +0000
|
||||
@@ -32,25 +32,6 @@
|
||||
vis bText2,0
|
||||
tsw m0,0
|
||||
@@ -543,8 +543,8 @@ diff -bur HMI/n2t-out/cardQR.txt HMI/US/portrait/n2t-out/cardQR.txt
|
||||
Variable (string) strCommand
|
||||
Attributes
|
||||
diff -bur HMI/n2t-out/cardThermo.txt HMI/US/portrait/n2t-out/cardThermo.txt
|
||||
--- HMI/n2t-out/cardThermo.txt 2022-07-13 16:57:06.548404165 +0000
|
||||
+++ HMI/US/portrait/n2t-out/cardThermo.txt 2022-07-13 16:57:06.972403853 +0000
|
||||
--- HMI/n2t-out/cardThermo.txt 2022-07-23 08:51:48.553338369 +0000
|
||||
+++ HMI/US/portrait/n2t-out/cardThermo.txt 2022-07-23 08:51:49.065349991 +0000
|
||||
@@ -41,21 +41,6 @@
|
||||
vis xTempDest1,0
|
||||
vis bPrev,0
|
||||
@@ -568,8 +568,8 @@ diff -bur HMI/n2t-out/cardThermo.txt HMI/US/portrait/n2t-out/cardThermo.txt
|
||||
Variable (string) strCommand
|
||||
Attributes
|
||||
diff -bur HMI/n2t-out/pageStartup.txt HMI/US/portrait/n2t-out/pageStartup.txt
|
||||
--- HMI/n2t-out/pageStartup.txt 2022-07-13 16:57:06.544404168 +0000
|
||||
+++ HMI/US/portrait/n2t-out/pageStartup.txt 2022-07-13 16:57:06.972403853 +0000
|
||||
--- HMI/n2t-out/pageStartup.txt 2022-07-23 08:51:48.553338369 +0000
|
||||
+++ HMI/US/portrait/n2t-out/pageStartup.txt 2022-07-23 08:51:49.065349991 +0000
|
||||
@@ -142,7 +142,7 @@
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
@@ -588,60 +588,9 @@ diff -bur HMI/n2t-out/pageStartup.txt HMI/US/portrait/n2t-out/pageStartup.txt
|
||||
//send calc crc
|
||||
btlen tSend.txt,sys0
|
||||
crcrest 1,0xffff // reset CRC
|
||||
diff -bur HMI/n2t-out/pageTest.txt HMI/US/portrait/n2t-out/pageTest.txt
|
||||
--- HMI/n2t-out/pageTest.txt 2022-07-13 16:57:06.544404168 +0000
|
||||
+++ HMI/US/portrait/n2t-out/pageTest.txt 2022-07-13 16:57:06.972403853 +0000
|
||||
@@ -13,46 +13,6 @@
|
||||
Events
|
||||
Preinitialize Event
|
||||
vis p0,0
|
||||
- n0.val=defaultBcoColor
|
||||
- n1.val=defaultFontColor
|
||||
-
|
||||
-Number n0
|
||||
- Attributes
|
||||
- Scope : local
|
||||
- Dragging : 0
|
||||
- Disable release event after dragging: 0
|
||||
- Send Component ID : disabled
|
||||
- Associated Keyboard : none
|
||||
- Value : 0
|
||||
-
|
||||
-Number n1
|
||||
- Attributes
|
||||
- Scope : local
|
||||
- Dragging : 0
|
||||
- Disable release event after dragging: 0
|
||||
- Send Component ID : disabled
|
||||
- Associated Keyboard : none
|
||||
- Value : 0
|
||||
-
|
||||
-Text t0
|
||||
- Attributes
|
||||
- Scope : local
|
||||
- Dragging : 0
|
||||
- Disable release event after dragging: 0
|
||||
- Send Component ID : disabled
|
||||
- Associated Keyboard : none
|
||||
- Text : bco
|
||||
- Max. Text Size : 10
|
||||
-
|
||||
-Text t1
|
||||
- Attributes
|
||||
- Scope : local
|
||||
- Dragging : 0
|
||||
- Disable release event after dragging: 0
|
||||
- Send Component ID : disabled
|
||||
- Associated Keyboard : none
|
||||
- Text : font
|
||||
- Max. Text Size : 10
|
||||
|
||||
Picture p0
|
||||
Attributes
|
||||
Only in HMI/n2t-out: popupFan.txt
|
||||
diff -bur HMI/n2t-out/popupLight.txt HMI/US/portrait/n2t-out/popupLight.txt
|
||||
--- HMI/n2t-out/popupLight.txt 2022-07-13 16:57:06.544404168 +0000
|
||||
+++ HMI/US/portrait/n2t-out/popupLight.txt 2022-07-13 16:57:06.972403853 +0000
|
||||
--- HMI/n2t-out/popupLight.txt 2022-07-23 08:51:48.553338369 +0000
|
||||
+++ HMI/US/portrait/n2t-out/popupLight.txt 2022-07-23 08:51:49.065349991 +0000
|
||||
@@ -50,14 +50,10 @@
|
||||
vis t0,0
|
||||
vis pColorWheel,0
|
||||
@@ -658,107 +607,9 @@ diff -bur HMI/n2t-out/popupLight.txt HMI/US/portrait/n2t-out/popupLight.txt
|
||||
if(b[sys0].type==53&&defaultBcoColor==0)
|
||||
{
|
||||
b[sys0].pic=10
|
||||
diff -bur HMI/n2t-out/popupNotify.txt HMI/US/portrait/n2t-out/popupNotify.txt
|
||||
--- HMI/n2t-out/popupNotify.txt 2022-07-13 16:57:06.544404168 +0000
|
||||
+++ HMI/US/portrait/n2t-out/popupNotify.txt 2022-07-13 16:57:06.972403853 +0000
|
||||
@@ -12,24 +12,12 @@
|
||||
|
||||
Events
|
||||
Preinitialize Event
|
||||
- popupNotify.bco=defaultBcoColor
|
||||
dim=dimValueNormal
|
||||
vis p0,0
|
||||
vis tSend,0
|
||||
vis tTmp,0
|
||||
vis tInstruction,0
|
||||
vis tId,0
|
||||
- popupNotify.bco=defaultBcoColor
|
||||
- tHeading.bco=defaultBcoColor
|
||||
- b0.bco=defaultBcoColor
|
||||
- tText.bco=defaultBcoColor
|
||||
- b1.bco=defaultBcoColor
|
||||
- b2.bco=defaultBcoColor
|
||||
- tHeading.pco=defaultFontColor
|
||||
- b0.pco=defaultFontColor
|
||||
- tText.pco=defaultFontColor
|
||||
- b1.pco=defaultFontColor
|
||||
- b2.pco=defaultFontColor
|
||||
|
||||
Variable (string) strCommand
|
||||
Attributes
|
||||
diff -bur HMI/n2t-out/popupShutter.txt HMI/US/portrait/n2t-out/popupShutter.txt
|
||||
--- HMI/n2t-out/popupShutter.txt 2022-07-13 16:57:06.544404168 +0000
|
||||
+++ HMI/US/portrait/n2t-out/popupShutter.txt 2022-07-13 16:57:06.972403853 +0000
|
||||
@@ -12,34 +12,6 @@
|
||||
|
||||
Events
|
||||
Preinitialize Event
|
||||
- dim=dimValueNormal
|
||||
- //get entitiy name
|
||||
- tEntity.txt=pageIcons.tTmp1.txt
|
||||
- //get entity id
|
||||
- entn.txt=pageIcons.tTmp2.txt
|
||||
- vis p0,0
|
||||
- vis tSend,0
|
||||
- vis tPosHeading,0
|
||||
- vis hPosition,0
|
||||
- vis hTilt,0
|
||||
- vis bTLeft,0
|
||||
- vis bTStop,0
|
||||
- vis bTRight,0
|
||||
- //page open event
|
||||
- // event,pageOpenDetail,typeOfPage,tEntityName
|
||||
- // craft command
|
||||
- tSend.txt="event,pageOpenDetail,popupShutter,"+entn.txt
|
||||
- //send calc crc
|
||||
- btlen tSend.txt,sys0
|
||||
- crcrest 1,0xffff // reset CRC
|
||||
- crcputh 55 bb
|
||||
- crcputs sys0,2
|
||||
- crcputs tSend.txt,0
|
||||
- //send cmd
|
||||
- printh 55 bb
|
||||
- prints sys0,2
|
||||
- prints tSend.txt,0
|
||||
- prints crcval,2
|
||||
popupShutter.bco=defaultBcoColor
|
||||
b0.bco=defaultBcoColor
|
||||
tIcon1.bco=defaultBcoColor
|
||||
@@ -74,6 +46,34 @@
|
||||
hPosition.pic1=13
|
||||
hPosition.pic2=15
|
||||
}
|
||||
+ dim=dimValueNormal
|
||||
+ //get entitiy name
|
||||
+ tEntity.txt=pageIcons.tTmp1.txt
|
||||
+ //get entity id
|
||||
+ entn.txt=pageIcons.tTmp2.txt
|
||||
+ vis p0,0
|
||||
+ vis tSend,0
|
||||
+ vis tPosHeading,0
|
||||
+ vis hPosition,0
|
||||
+ vis hTilt,0
|
||||
+ vis bTLeft,0
|
||||
+ vis bTStop,0
|
||||
+ vis bTRight,0
|
||||
+ //page open event
|
||||
+ // event,pageOpenDetail,typeOfPage,tEntityName
|
||||
+ // craft command
|
||||
+ tSend.txt="event,pageOpenDetail,popupShutter,"+entn.txt
|
||||
+ //send calc crc
|
||||
+ btlen tSend.txt,sys0
|
||||
+ crcrest 1,0xffff // reset CRC
|
||||
+ crcputh 55 bb
|
||||
+ crcputs sys0,2
|
||||
+ crcputs tSend.txt,0
|
||||
+ //send cmd
|
||||
+ printh 55 bb
|
||||
+ prints sys0,2
|
||||
+ prints tSend.txt,0
|
||||
+ prints crcval,2
|
||||
|
||||
Variable (string) strCommand
|
||||
Attributes
|
||||
--- HMI/n2t-out/popupShutter.txt 2022-07-23 08:51:48.553338369 +0000
|
||||
+++ HMI/US/portrait/n2t-out/popupShutter.txt 2022-07-23 08:51:49.065349991 +0000
|
||||
@@ -143,7 +143,7 @@
|
||||
Send Component ID : disabled
|
||||
Associated Keyboard : none
|
||||
@@ -776,4 +627,4 @@ diff -bur HMI/n2t-out/popupShutter.txt HMI/US/portrait/n2t-out/popupShutter.txt
|
||||
+ Max. Text Size : 15
|
||||
|
||||
Picture p0
|
||||
Attributes
|
||||
Attributes
|
||||
|
||||
Reference in New Issue
Block a user