mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-21 23:14:25 +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
6dd8ad1cc3
commit
fb05beb3b3
@@ -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-07-13 16:57:06.544404168 +0000
|
--- HMI/n2t-out/Program.s.txt 2022-07-23 08:51:48.553338369 +0000
|
||||||
+++ HMI/US/landscape/n2t-out/Program.s.txt 2022-07-13 16:57:07.448403502 +0000
|
+++ HMI/US/landscape/n2t-out/Program.s.txt 2022-07-23 08:51:49.589361886 +0000
|
||||||
@@ -11,9 +11,4 @@
|
@@ -11,9 +11,4 @@
|
||||||
// dim value
|
// dim value
|
||||||
int dimValue=40
|
int dimValue=40
|
||||||
@@ -12,8 +12,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/cardAlarm.txt HMI/US/landscape/n2t-out/cardAlarm.txt
|
diff -bur HMI/n2t-out/cardAlarm.txt HMI/US/landscape/n2t-out/cardAlarm.txt
|
||||||
--- HMI/n2t-out/cardAlarm.txt 2022-07-13 16:57:06.548404165 +0000
|
--- HMI/n2t-out/cardAlarm.txt 2022-07-23 08:51:48.553338369 +0000
|
||||||
+++ HMI/US/landscape/n2t-out/cardAlarm.txt 2022-07-13 16:57:07.452403499 +0000
|
+++ HMI/US/landscape/n2t-out/cardAlarm.txt 2022-07-23 08:51:49.589361886 +0000
|
||||||
@@ -37,25 +37,6 @@
|
@@ -37,25 +37,6 @@
|
||||||
vis tCode,0
|
vis tCode,0
|
||||||
vis bPrev,0
|
vis bPrev,0
|
||||||
@@ -60,8 +60,8 @@ diff -bur HMI/n2t-out/cardAlarm.txt HMI/US/landscape/n2t-out/cardAlarm.txt
|
|||||||
if(tInstruction.txt=="timeout")
|
if(tInstruction.txt=="timeout")
|
||||||
{
|
{
|
||||||
diff -bur HMI/n2t-out/cardEntities.txt HMI/US/landscape/n2t-out/cardEntities.txt
|
diff -bur HMI/n2t-out/cardEntities.txt HMI/US/landscape/n2t-out/cardEntities.txt
|
||||||
--- HMI/n2t-out/cardEntities.txt 2022-07-13 16:57:06.548404165 +0000
|
--- HMI/n2t-out/cardEntities.txt 2022-07-23 08:51:48.553338369 +0000
|
||||||
+++ HMI/US/landscape/n2t-out/cardEntities.txt 2022-07-13 16:57:07.448403502 +0000
|
+++ HMI/US/landscape/n2t-out/cardEntities.txt 2022-07-23 08:51:49.589361886 +0000
|
||||||
@@ -65,26 +65,6 @@
|
@@ -65,26 +65,6 @@
|
||||||
vis nNum4,0
|
vis nNum4,0
|
||||||
vis bPrev,0
|
vis bPrev,0
|
||||||
@@ -153,8 +153,8 @@ diff -bur HMI/n2t-out/cardEntities.txt HMI/US/landscape/n2t-out/cardEntities.txt
|
|||||||
if(tInstruction.txt=="timeout")
|
if(tInstruction.txt=="timeout")
|
||||||
{
|
{
|
||||||
diff -bur HMI/n2t-out/cardGrid.txt HMI/US/landscape/n2t-out/cardGrid.txt
|
diff -bur HMI/n2t-out/cardGrid.txt HMI/US/landscape/n2t-out/cardGrid.txt
|
||||||
--- HMI/n2t-out/cardGrid.txt 2022-07-13 16:57:06.548404165 +0000
|
--- HMI/n2t-out/cardGrid.txt 2022-07-23 08:51:48.553338369 +0000
|
||||||
+++ HMI/US/landscape/n2t-out/cardGrid.txt 2022-07-13 16:57:07.448403502 +0000
|
+++ HMI/US/landscape/n2t-out/cardGrid.txt 2022-07-23 08:51:49.589361886 +0000
|
||||||
@@ -36,15 +36,6 @@
|
@@ -36,15 +36,6 @@
|
||||||
vis tEntity6,0
|
vis tEntity6,0
|
||||||
vis bPrev,0
|
vis bPrev,0
|
||||||
@@ -202,8 +202,8 @@ diff -bur HMI/n2t-out/cardGrid.txt HMI/US/landscape/n2t-out/cardGrid.txt
|
|||||||
TouchCap tc0
|
TouchCap tc0
|
||||||
Attributes
|
Attributes
|
||||||
diff -bur HMI/n2t-out/cardMedia.txt HMI/US/landscape/n2t-out/cardMedia.txt
|
diff -bur HMI/n2t-out/cardMedia.txt HMI/US/landscape/n2t-out/cardMedia.txt
|
||||||
--- HMI/n2t-out/cardMedia.txt 2022-07-13 16:57:06.548404165 +0000
|
--- HMI/n2t-out/cardMedia.txt 2022-07-23 08:51:48.553338369 +0000
|
||||||
+++ HMI/US/landscape/n2t-out/cardMedia.txt 2022-07-13 16:57:07.448403502 +0000
|
+++ HMI/US/landscape/n2t-out/cardMedia.txt 2022-07-23 08:51:49.589361886 +0000
|
||||||
@@ -21,21 +21,6 @@
|
@@ -21,21 +21,6 @@
|
||||||
vis t5,0
|
vis t5,0
|
||||||
vis bPrev,0
|
vis bPrev,0
|
||||||
@@ -246,8 +246,8 @@ diff -bur HMI/n2t-out/cardMedia.txt HMI/US/landscape/n2t-out/cardMedia.txt
|
|||||||
if(tInstruction.txt=="timeout")
|
if(tInstruction.txt=="timeout")
|
||||||
{
|
{
|
||||||
diff -bur HMI/n2t-out/cardQR.txt HMI/US/landscape/n2t-out/cardQR.txt
|
diff -bur HMI/n2t-out/cardQR.txt HMI/US/landscape/n2t-out/cardQR.txt
|
||||||
--- HMI/n2t-out/cardQR.txt 2022-07-13 16:57:06.548404165 +0000
|
--- HMI/n2t-out/cardQR.txt 2022-07-23 08:51:48.553338369 +0000
|
||||||
+++ HMI/US/landscape/n2t-out/cardQR.txt 2022-07-13 16:57:07.448403502 +0000
|
+++ HMI/US/landscape/n2t-out/cardQR.txt 2022-07-23 08:51:49.589361886 +0000
|
||||||
@@ -32,25 +32,6 @@
|
@@ -32,25 +32,6 @@
|
||||||
vis bText2,0
|
vis bText2,0
|
||||||
tsw m0,0
|
tsw m0,0
|
||||||
@@ -294,8 +294,8 @@ diff -bur HMI/n2t-out/cardQR.txt HMI/US/landscape/n2t-out/cardQR.txt
|
|||||||
if(tInstruction.txt=="timeout")
|
if(tInstruction.txt=="timeout")
|
||||||
{
|
{
|
||||||
diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
|
diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
|
||||||
--- HMI/n2t-out/cardThermo.txt 2022-07-13 16:57:06.548404165 +0000
|
--- HMI/n2t-out/cardThermo.txt 2022-07-23 08:51:48.553338369 +0000
|
||||||
+++ HMI/US/landscape/n2t-out/cardThermo.txt 2022-07-13 16:57:07.452403499 +0000
|
+++ HMI/US/landscape/n2t-out/cardThermo.txt 2022-07-23 08:51:49.589361886 +0000
|
||||||
@@ -41,21 +41,6 @@
|
@@ -41,21 +41,6 @@
|
||||||
vis xTempDest1,0
|
vis xTempDest1,0
|
||||||
vis bPrev,0
|
vis bPrev,0
|
||||||
@@ -338,8 +338,8 @@ diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
|
|||||||
if(tInstruction.txt=="timeout")
|
if(tInstruction.txt=="timeout")
|
||||||
{
|
{
|
||||||
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-07-13 16:57:06.544404168 +0000
|
--- HMI/n2t-out/pageStartup.txt 2022-07-23 08:51:48.553338369 +0000
|
||||||
+++ HMI/US/landscape/n2t-out/pageStartup.txt 2022-07-13 16:57:07.448403502 +0000
|
+++ HMI/US/landscape/n2t-out/pageStartup.txt 2022-07-23 08:51:49.589361886 +0000
|
||||||
@@ -177,7 +177,7 @@
|
@@ -177,7 +177,7 @@
|
||||||
recmod=1
|
recmod=1
|
||||||
bauds=115200
|
bauds=115200
|
||||||
@@ -368,60 +368,10 @@ diff -bur HMI/n2t-out/pageStartup.txt HMI/US/landscape/n2t-out/pageStartup.txt
|
|||||||
}
|
}
|
||||||
if(tInstruction.txt=="timeout")
|
if(tInstruction.txt=="timeout")
|
||||||
{
|
{
|
||||||
diff -bur HMI/n2t-out/pageTest.txt HMI/US/landscape/n2t-out/pageTest.txt
|
|
||||||
--- HMI/n2t-out/pageTest.txt 2022-07-13 16:57:06.544404168 +0000
|
|
||||||
+++ HMI/US/landscape/n2t-out/pageTest.txt 2022-07-13 16:57:07.448403502 +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
|
Only in HMI/n2t-out: popupFan.txt
|
||||||
diff -bur HMI/n2t-out/popupLight.txt HMI/US/landscape/n2t-out/popupLight.txt
|
diff -bur HMI/n2t-out/popupLight.txt HMI/US/landscape/n2t-out/popupLight.txt
|
||||||
--- HMI/n2t-out/popupLight.txt 2022-07-13 16:57:06.544404168 +0000
|
--- HMI/n2t-out/popupLight.txt 2022-07-23 08:51:48.553338369 +0000
|
||||||
+++ HMI/US/landscape/n2t-out/popupLight.txt 2022-07-13 16:57:07.448403502 +0000
|
+++ HMI/US/landscape/n2t-out/popupLight.txt 2022-07-23 08:51:49.589361886 +0000
|
||||||
@@ -50,29 +50,6 @@
|
@@ -50,29 +50,6 @@
|
||||||
vis t0,0
|
vis t0,0
|
||||||
vis pColorWheel,0
|
vis pColorWheel,0
|
||||||
@@ -472,8 +422,8 @@ diff -bur HMI/n2t-out/popupLight.txt HMI/US/landscape/n2t-out/popupLight.txt
|
|||||||
if(tInstruction.txt=="timeout")
|
if(tInstruction.txt=="timeout")
|
||||||
{
|
{
|
||||||
diff -bur HMI/n2t-out/popupNotify.txt HMI/US/landscape/n2t-out/popupNotify.txt
|
diff -bur HMI/n2t-out/popupNotify.txt HMI/US/landscape/n2t-out/popupNotify.txt
|
||||||
--- HMI/n2t-out/popupNotify.txt 2022-07-13 16:57:06.544404168 +0000
|
--- HMI/n2t-out/popupNotify.txt 2022-07-23 08:51:48.553338369 +0000
|
||||||
+++ HMI/US/landscape/n2t-out/popupNotify.txt 2022-07-13 16:57:07.448403502 +0000
|
+++ HMI/US/landscape/n2t-out/popupNotify.txt 2022-07-23 08:51:49.589361886 +0000
|
||||||
@@ -12,24 +12,12 @@
|
@@ -12,24 +12,12 @@
|
||||||
|
|
||||||
Events
|
Events
|
||||||
@@ -519,8 +469,8 @@ diff -bur HMI/n2t-out/popupNotify.txt HMI/US/landscape/n2t-out/popupNotify.txt
|
|||||||
if(tInstruction.txt=="timeout")
|
if(tInstruction.txt=="timeout")
|
||||||
{
|
{
|
||||||
diff -bur HMI/n2t-out/popupShutter.txt HMI/US/landscape/n2t-out/popupShutter.txt
|
diff -bur HMI/n2t-out/popupShutter.txt HMI/US/landscape/n2t-out/popupShutter.txt
|
||||||
--- HMI/n2t-out/popupShutter.txt 2022-07-13 16:57:06.544404168 +0000
|
--- HMI/n2t-out/popupShutter.txt 2022-07-23 08:51:48.553338369 +0000
|
||||||
+++ HMI/US/landscape/n2t-out/popupShutter.txt 2022-07-13 16:57:07.448403502 +0000
|
+++ HMI/US/landscape/n2t-out/popupShutter.txt 2022-07-23 08:51:49.589361886 +0000
|
||||||
@@ -40,40 +40,6 @@
|
@@ -40,40 +40,6 @@
|
||||||
prints sys0,2
|
prints sys0,2
|
||||||
prints tSend.txt,0
|
prints tSend.txt,0
|
||||||
@@ -688,8 +638,8 @@ diff -bur HMI/n2t-out/popupShutter.txt HMI/US/landscape/n2t-out/popupShutter.txt
|
|||||||
if(tInstruction.txt=="time")
|
if(tInstruction.txt=="time")
|
||||||
{
|
{
|
||||||
diff -bur HMI/n2t-out/screensaver.txt HMI/US/landscape/n2t-out/screensaver.txt
|
diff -bur HMI/n2t-out/screensaver.txt HMI/US/landscape/n2t-out/screensaver.txt
|
||||||
--- HMI/n2t-out/screensaver.txt 2022-07-13 16:57:06.544404168 +0000
|
--- HMI/n2t-out/screensaver.txt 2022-07-23 08:51:48.553338369 +0000
|
||||||
+++ HMI/US/landscape/n2t-out/screensaver.txt 2022-07-13 16:57:07.452403499 +0000
|
+++ HMI/US/landscape/n2t-out/screensaver.txt 2022-07-23 08:51:49.589361886 +0000
|
||||||
@@ -406,22 +406,10 @@
|
@@ -406,22 +406,10 @@
|
||||||
// get value
|
// get value
|
||||||
spstr strCommand.txt,tTmp.txt,"~",1
|
spstr strCommand.txt,tTmp.txt,"~",1
|
||||||
|
|||||||
@@ -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-07-13 16:57:06.544404168 +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-13 16:57:06.972403853 +0000
|
+++ HMI/US/portrait/n2t-out/Program.s.txt 2022-07-23 08:51:49.061349901 +0000
|
||||||
@@ -14,6 +14,6 @@
|
@@ -14,6 +14,6 @@
|
||||||
//color vars
|
//color vars
|
||||||
int defaultFontColor=65535
|
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
|
+ //lcd_dev fffb 0002 0000 0020
|
||||||
page pageStartup
|
page pageStartup
|
||||||
diff -bur HMI/n2t-out/cardAlarm.txt HMI/US/portrait/n2t-out/cardAlarm.txt
|
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/n2t-out/cardAlarm.txt 2022-07-23 08:51:48.553338369 +0000
|
||||||
+++ HMI/US/portrait/n2t-out/cardAlarm.txt 2022-07-13 16:57:06.972403853 +0000
|
+++ HMI/US/portrait/n2t-out/cardAlarm.txt 2022-07-23 08:51:49.065349991 +0000
|
||||||
@@ -12,6 +12,21 @@
|
@@ -12,6 +12,21 @@
|
||||||
|
|
||||||
Events
|
Events
|
||||||
@@ -62,8 +62,8 @@ diff -bur HMI/n2t-out/cardAlarm.txt HMI/US/portrait/n2t-out/cardAlarm.txt
|
|||||||
Variable (string) strCommand
|
Variable (string) strCommand
|
||||||
Attributes
|
Attributes
|
||||||
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-07-13 16:57:06.548404165 +0000
|
--- HMI/n2t-out/cardEntities.txt 2022-07-23 08:51:48.553338369 +0000
|
||||||
+++ HMI/US/portrait/n2t-out/cardEntities.txt 2022-07-13 16:57:06.976403850 +0000
|
+++ HMI/US/portrait/n2t-out/cardEntities.txt 2022-07-23 08:51:49.065349991 +0000
|
||||||
@@ -12,6 +12,22 @@
|
@@ -12,6 +12,22 @@
|
||||||
|
|
||||||
Events
|
Events
|
||||||
@@ -428,8 +428,8 @@ diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
|
|||||||
|
|
||||||
Hotspot mSwipeNext
|
Hotspot mSwipeNext
|
||||||
diff -bur HMI/n2t-out/cardGrid.txt HMI/US/portrait/n2t-out/cardGrid.txt
|
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/n2t-out/cardGrid.txt 2022-07-23 08:51:48.553338369 +0000
|
||||||
+++ HMI/US/portrait/n2t-out/cardGrid.txt 2022-07-13 16:57:06.972403853 +0000
|
+++ HMI/US/portrait/n2t-out/cardGrid.txt 2022-07-23 08:51:49.065349991 +0000
|
||||||
@@ -12,6 +12,11 @@
|
@@ -12,6 +12,11 @@
|
||||||
|
|
||||||
Events
|
Events
|
||||||
@@ -470,8 +470,8 @@ diff -bur HMI/n2t-out/cardGrid.txt HMI/US/portrait/n2t-out/cardGrid.txt
|
|||||||
TouchCap tc0
|
TouchCap tc0
|
||||||
Attributes
|
Attributes
|
||||||
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-07-13 16:57:06.548404165 +0000
|
--- HMI/n2t-out/cardMedia.txt 2022-07-23 08:51:48.553338369 +0000
|
||||||
+++ HMI/US/portrait/n2t-out/cardMedia.txt 2022-07-13 16:57:06.972403853 +0000
|
+++ HMI/US/portrait/n2t-out/cardMedia.txt 2022-07-23 08:51:49.065349991 +0000
|
||||||
@@ -12,30 +12,26 @@
|
@@ -12,30 +12,26 @@
|
||||||
|
|
||||||
Events
|
Events
|
||||||
@@ -514,8 +514,8 @@ diff -bur HMI/n2t-out/cardMedia.txt HMI/US/portrait/n2t-out/cardMedia.txt
|
|||||||
Variable (string) strCommand
|
Variable (string) strCommand
|
||||||
Attributes
|
Attributes
|
||||||
diff -bur HMI/n2t-out/cardQR.txt HMI/US/portrait/n2t-out/cardQR.txt
|
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/n2t-out/cardQR.txt 2022-07-23 08:51:48.553338369 +0000
|
||||||
+++ HMI/US/portrait/n2t-out/cardQR.txt 2022-07-13 16:57:06.972403853 +0000
|
+++ HMI/US/portrait/n2t-out/cardQR.txt 2022-07-23 08:51:49.065349991 +0000
|
||||||
@@ -32,25 +32,6 @@
|
@@ -32,25 +32,6 @@
|
||||||
vis bText2,0
|
vis bText2,0
|
||||||
tsw m0,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
|
Variable (string) strCommand
|
||||||
Attributes
|
Attributes
|
||||||
diff -bur HMI/n2t-out/cardThermo.txt HMI/US/portrait/n2t-out/cardThermo.txt
|
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/n2t-out/cardThermo.txt 2022-07-23 08:51:48.553338369 +0000
|
||||||
+++ HMI/US/portrait/n2t-out/cardThermo.txt 2022-07-13 16:57:06.972403853 +0000
|
+++ HMI/US/portrait/n2t-out/cardThermo.txt 2022-07-23 08:51:49.065349991 +0000
|
||||||
@@ -41,21 +41,6 @@
|
@@ -41,21 +41,6 @@
|
||||||
vis xTempDest1,0
|
vis xTempDest1,0
|
||||||
vis bPrev,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
|
Variable (string) strCommand
|
||||||
Attributes
|
Attributes
|
||||||
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-07-13 16:57:06.544404168 +0000
|
--- HMI/n2t-out/pageStartup.txt 2022-07-23 08:51:48.553338369 +0000
|
||||||
+++ HMI/US/portrait/n2t-out/pageStartup.txt 2022-07-13 16:57:06.972403853 +0000
|
+++ HMI/US/portrait/n2t-out/pageStartup.txt 2022-07-23 08:51:49.065349991 +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
|
||||||
@@ -588,60 +588,9 @@ diff -bur HMI/n2t-out/pageStartup.txt HMI/US/portrait/n2t-out/pageStartup.txt
|
|||||||
//send calc crc
|
//send calc crc
|
||||||
btlen tSend.txt,sys0
|
btlen tSend.txt,sys0
|
||||||
crcrest 1,0xffff // reset CRC
|
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
|
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/n2t-out/popupLight.txt 2022-07-23 08:51:48.553338369 +0000
|
||||||
+++ HMI/US/portrait/n2t-out/popupLight.txt 2022-07-13 16:57:06.972403853 +0000
|
+++ HMI/US/portrait/n2t-out/popupLight.txt 2022-07-23 08:51:49.065349991 +0000
|
||||||
@@ -50,14 +50,10 @@
|
@@ -50,14 +50,10 @@
|
||||||
vis t0,0
|
vis t0,0
|
||||||
vis pColorWheel,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)
|
if(b[sys0].type==53&&defaultBcoColor==0)
|
||||||
{
|
{
|
||||||
b[sys0].pic=10
|
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
|
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/n2t-out/popupShutter.txt 2022-07-23 08:51:48.553338369 +0000
|
||||||
+++ HMI/US/portrait/n2t-out/popupShutter.txt 2022-07-13 16:57:06.972403853 +0000
|
+++ HMI/US/portrait/n2t-out/popupShutter.txt 2022-07-23 08:51:49.065349991 +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
|
|
||||||
@@ -143,7 +143,7 @@
|
@@ -143,7 +143,7 @@
|
||||||
Send Component ID : disabled
|
Send Component ID : disabled
|
||||||
Associated Keyboard : none
|
Associated Keyboard : none
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
+++ HMI/US/portrait/diff-eu-version.txt 2022-07-13 16:57:07.016403820 +0000
|
+++ HMI/US/portrait/diff-eu-version.txt 2022-07-23 08:51:49.077350264 +0000
|
||||||
+--- HMI/n2t-out/Program.s.txt 2022-07-13 16:57:06.544404168 +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-13 16:57:06.972403853 +0000
|
++++ HMI/US/portrait/n2t-out/Program.s.txt 2022-07-23 08:51:49.061349901 +0000
|
||||||
+@@ -14,6 +14,6 @@
|
+@@ -14,6 +14,6 @@
|
||||||
+ //color vars
|
+ //color vars
|
||||||
+ int defaultFontColor=65535
|
+ int defaultFontColor=65535
|
||||||
+ int defaultBcoColor=6371
|
+ int defaultBcoColor=6371
|
||||||
+diff -bur HMI/n2t-out/cardAlarm.txt HMI/US/portrait/n2t-out/cardAlarm.txt
|
+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/n2t-out/cardAlarm.txt 2022-07-23 08:51:48.553338369 +0000
|
||||||
++++ HMI/US/portrait/n2t-out/cardAlarm.txt 2022-07-13 16:57:06.972403853 +0000
|
++++ HMI/US/portrait/n2t-out/cardAlarm.txt 2022-07-23 08:51:49.065349991 +0000
|
||||||
+@@ -12,6 +12,21 @@
|
+@@ -12,6 +12,21 @@
|
||||||
+
|
+
|
||||||
+ Events
|
+ Events
|
||||||
@@ -56,8 +56,8 @@
|
|||||||
+
|
+
|
||||||
+ Variable (string) strCommand
|
+ Variable (string) strCommand
|
||||||
+ Attributes
|
+ Attributes
|
||||||
+--- HMI/n2t-out/cardEntities.txt 2022-07-13 16:57:06.548404165 +0000
|
+--- HMI/n2t-out/cardEntities.txt 2022-07-23 08:51:48.553338369 +0000
|
||||||
++++ HMI/US/portrait/n2t-out/cardEntities.txt 2022-07-13 16:57:06.976403850 +0000
|
++++ HMI/US/portrait/n2t-out/cardEntities.txt 2022-07-23 08:51:49.065349991 +0000
|
||||||
+@@ -12,6 +12,22 @@
|
+@@ -12,6 +12,22 @@
|
||||||
+
|
+
|
||||||
+ Events
|
+ Events
|
||||||
@@ -157,8 +157,8 @@
|
|||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+diff -bur HMI/n2t-out/cardGrid.txt HMI/US/portrait/n2t-out/cardGrid.txt
|
+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/n2t-out/cardGrid.txt 2022-07-23 08:51:48.553338369 +0000
|
||||||
++++ HMI/US/portrait/n2t-out/cardGrid.txt 2022-07-13 16:57:06.972403853 +0000
|
++++ HMI/US/portrait/n2t-out/cardGrid.txt 2022-07-23 08:51:49.065349991 +0000
|
||||||
+@@ -12,6 +12,11 @@
|
+@@ -12,6 +12,11 @@
|
||||||
+
|
+
|
||||||
+ Events
|
+ Events
|
||||||
@@ -197,8 +197,8 @@
|
|||||||
+
|
+
|
||||||
+ TouchCap tc0
|
+ TouchCap tc0
|
||||||
+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-07-13 16:57:06.548404165 +0000
|
+--- HMI/n2t-out/cardMedia.txt 2022-07-23 08:51:48.553338369 +0000
|
||||||
++++ HMI/US/portrait/n2t-out/cardMedia.txt 2022-07-13 16:57:06.972403853 +0000
|
++++ HMI/US/portrait/n2t-out/cardMedia.txt 2022-07-23 08:51:49.065349991 +0000
|
||||||
+@@ -12,30 +12,26 @@
|
+@@ -12,30 +12,26 @@
|
||||||
+ Events
|
+ Events
|
||||||
+ Preinitialize Event
|
+ Preinitialize Event
|
||||||
@@ -240,8 +240,8 @@
|
|||||||
+ Variable (string) strCommand
|
+ Variable (string) strCommand
|
||||||
+ Attributes
|
+ Attributes
|
||||||
+diff -bur HMI/n2t-out/cardQR.txt HMI/US/portrait/n2t-out/cardQR.txt
|
+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/n2t-out/cardQR.txt 2022-07-23 08:51:48.553338369 +0000
|
||||||
++++ HMI/US/portrait/n2t-out/cardQR.txt 2022-07-13 16:57:06.972403853 +0000
|
++++ HMI/US/portrait/n2t-out/cardQR.txt 2022-07-23 08:51:49.065349991 +0000
|
||||||
+@@ -32,25 +32,6 @@
|
+@@ -32,25 +32,6 @@
|
||||||
+ vis bText2,0
|
+ vis bText2,0
|
||||||
+ tsw m0,0
|
+ tsw m0,0
|
||||||
@@ -269,8 +269,8 @@
|
|||||||
+ Variable (string) strCommand
|
+ Variable (string) strCommand
|
||||||
+ Attributes
|
+ Attributes
|
||||||
+diff -bur HMI/n2t-out/cardThermo.txt HMI/US/portrait/n2t-out/cardThermo.txt
|
+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/n2t-out/cardThermo.txt 2022-07-23 08:51:48.553338369 +0000
|
||||||
++++ HMI/US/portrait/n2t-out/cardThermo.txt 2022-07-13 16:57:06.972403853 +0000
|
++++ HMI/US/portrait/n2t-out/cardThermo.txt 2022-07-23 08:51:49.065349991 +0000
|
||||||
+@@ -41,21 +41,6 @@
|
+@@ -41,21 +41,6 @@
|
||||||
+ vis xTempDest1,0
|
+ vis xTempDest1,0
|
||||||
+ vis bPrev,0
|
+ vis bPrev,0
|
||||||
@@ -292,62 +292,11 @@
|
|||||||
+- }
|
+- }
|
||||||
+
|
+
|
||||||
+ Variable (string) strCommand
|
+ Variable (string) strCommand
|
||||||
+--- HMI/n2t-out/pageStartup.txt 2022-07-13 16:57:06.544404168 +0000
|
+--- HMI/n2t-out/pageStartup.txt 2022-07-23 08:51:48.553338369 +0000
|
||||||
++++ HMI/US/portrait/n2t-out/pageStartup.txt 2022-07-13 16:57:06.972403853 +0000
|
++++ HMI/US/portrait/n2t-out/pageStartup.txt 2022-07-23 08:51:49.065349991 +0000
|
||||||
+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
|
+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/n2t-out/popupLight.txt 2022-07-23 08:51:48.553338369 +0000
|
||||||
++++ HMI/US/portrait/n2t-out/popupLight.txt 2022-07-13 16:57:06.972403853 +0000
|
++++ HMI/US/portrait/n2t-out/popupLight.txt 2022-07-23 08:51:49.065349991 +0000
|
||||||
+@@ -50,14 +50,10 @@
|
+@@ -50,14 +50,10 @@
|
||||||
+ vis t0,0
|
+ vis t0,0
|
||||||
+ vis pColorWheel,0
|
+ vis pColorWheel,0
|
||||||
@@ -364,107 +313,9 @@
|
|||||||
+ if(b[sys0].type==53&&defaultBcoColor==0)
|
+ if(b[sys0].type==53&&defaultBcoColor==0)
|
||||||
+ {
|
+ {
|
||||||
+ b[sys0].pic=10
|
+ 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
|
+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/n2t-out/popupShutter.txt 2022-07-23 08:51:48.553338369 +0000
|
||||||
++++ HMI/US/portrait/n2t-out/popupShutter.txt 2022-07-13 16:57:06.972403853 +0000
|
++++ HMI/US/portrait/n2t-out/popupShutter.txt 2022-07-23 08:51:49.065349991 +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
|
|
||||||
+@@ -143,7 +143,7 @@
|
+@@ -143,7 +143,7 @@
|
||||||
+ Send Component ID : disabled
|
+ Send Component ID : disabled
|
||||||
+ Associated Keyboard : none
|
+ Associated Keyboard : none
|
||||||
|
|||||||
@@ -12,16 +12,16 @@ pageTest
|
|||||||
14 Unique line(s) of event code
|
14 Unique line(s) of event code
|
||||||
popupNotify
|
popupNotify
|
||||||
17 Component(s)
|
17 Component(s)
|
||||||
214 Line(s) of event code
|
226 Line(s) of event code
|
||||||
132 Unique line(s) of event code
|
143 Unique line(s) of event code
|
||||||
popupShutter
|
|
||||||
25 Component(s)
|
|
||||||
388 Line(s) of event code
|
|
||||||
211 Unique line(s) of event code
|
|
||||||
popupLight
|
popupLight
|
||||||
27 Component(s)
|
27 Component(s)
|
||||||
382 Line(s) of event code
|
382 Line(s) of event code
|
||||||
209 Unique line(s) of event code
|
209 Unique line(s) of event code
|
||||||
|
popupShutter
|
||||||
|
25 Component(s)
|
||||||
|
388 Line(s) of event code
|
||||||
|
211 Unique line(s) of event code
|
||||||
cardQR
|
cardQR
|
||||||
32 Component(s)
|
32 Component(s)
|
||||||
384 Line(s) of event code
|
384 Line(s) of event code
|
||||||
@@ -30,6 +30,10 @@ cardAlarm
|
|||||||
40 Component(s)
|
40 Component(s)
|
||||||
417 Line(s) of event code
|
417 Line(s) of event code
|
||||||
252 Unique line(s) of event code
|
252 Unique line(s) of event code
|
||||||
|
popupFan
|
||||||
|
20 Component(s)
|
||||||
|
234 Line(s) of event code
|
||||||
|
148 Unique line(s) of event code
|
||||||
pageStartup
|
pageStartup
|
||||||
19 Component(s)
|
19 Component(s)
|
||||||
167 Line(s) of event code
|
167 Line(s) of event code
|
||||||
@@ -56,7 +60,7 @@ cardEntities
|
|||||||
533 Unique line(s) of event code
|
533 Unique line(s) of event code
|
||||||
|
|
||||||
Total
|
Total
|
||||||
13 Page(s)
|
14 Page(s)
|
||||||
424 Component(s)
|
444 Component(s)
|
||||||
4958 Line(s) of event code
|
5204 Line(s) of event code
|
||||||
1320 Unique line(s) of event code
|
1344 Unique line(s) of event code
|
||||||
|
|||||||
695
HMI/US/portrait/n2t-out-visual/popupFan.txt
Normal file
695
HMI/US/portrait/n2t-out-visual/popupFan.txt
Normal file
@@ -0,0 +1,695 @@
|
|||||||
|
Page popupFan
|
||||||
|
Attributes
|
||||||
|
ID : 0
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Opacity : 127
|
||||||
|
Width : 320
|
||||||
|
Effect : load
|
||||||
|
Effect Priority : 0
|
||||||
|
Effect Time : 300
|
||||||
|
Locked : no
|
||||||
|
Swide up page ID : disabled
|
||||||
|
Swide down page ID : disabled
|
||||||
|
Swide left page ID : disabled
|
||||||
|
Swide right page ID : disabled
|
||||||
|
Fill : solid color
|
||||||
|
Back. Color : 6371
|
||||||
|
|
||||||
|
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 tTmp,0
|
||||||
|
vis tInstruction,0
|
||||||
|
vis tId,0
|
||||||
|
//page open event
|
||||||
|
// event,pageOpenDetail,typeOfPage,tEntityName
|
||||||
|
// craft command
|
||||||
|
tSend.txt="event,pageOpenDetail,popupFan,"+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
|
||||||
|
vis hSpeed,0
|
||||||
|
popupFan.bco=defaultBcoColor
|
||||||
|
for(sys0=0;sys0<40;sys0++)
|
||||||
|
{
|
||||||
|
if(b[sys0].type==98||b[sys0].type==116)
|
||||||
|
{
|
||||||
|
b[sys0].bco=defaultBcoColor
|
||||||
|
b[sys0].pco=defaultFontColor
|
||||||
|
}
|
||||||
|
if(b[sys0].type==53&&defaultBcoColor==0)
|
||||||
|
{
|
||||||
|
b[sys0].pic=10
|
||||||
|
b[sys0].pic2=11
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if(defaultBcoColor==0)
|
||||||
|
{
|
||||||
|
hSpeed.pic=14
|
||||||
|
hSpeed.pic1=13
|
||||||
|
hSpeed.pic2=15
|
||||||
|
}
|
||||||
|
|
||||||
|
Variable (string) strCommand
|
||||||
|
Attributes
|
||||||
|
ID : 13
|
||||||
|
Scope : local
|
||||||
|
Text :
|
||||||
|
Max. Text Size: 500
|
||||||
|
|
||||||
|
Variable (string) entn
|
||||||
|
Attributes
|
||||||
|
ID : 16
|
||||||
|
Scope : local
|
||||||
|
Text :
|
||||||
|
Max. Text Size: 80
|
||||||
|
|
||||||
|
Variable (int32) mode
|
||||||
|
Attributes
|
||||||
|
ID : 17
|
||||||
|
Scope: local
|
||||||
|
Value: 1
|
||||||
|
|
||||||
|
Variable (int32) mode_temp
|
||||||
|
Attributes
|
||||||
|
ID : 18
|
||||||
|
Scope: local
|
||||||
|
Value: 0
|
||||||
|
|
||||||
|
Text tEntity
|
||||||
|
Attributes
|
||||||
|
ID : 2
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Opacity : 127
|
||||||
|
x coordinate : 63
|
||||||
|
y coordinate : 21
|
||||||
|
Width : 192
|
||||||
|
Height : 30
|
||||||
|
Effect : load
|
||||||
|
Effect Priority : 0
|
||||||
|
Effect Time : 300
|
||||||
|
Fill : solid color
|
||||||
|
Style : flat
|
||||||
|
Associated Keyboard : none
|
||||||
|
Font ID : 0
|
||||||
|
Back. Color : 6371
|
||||||
|
Font Color : 65535
|
||||||
|
Horizontal Alignment : left
|
||||||
|
Vertical Alignment : center
|
||||||
|
Input Type : character
|
||||||
|
Text : tEntity1
|
||||||
|
Max. Text Size : 25
|
||||||
|
Word wrap : disabled
|
||||||
|
Horizontal Spacing : 0
|
||||||
|
Vertical Spacing : 0
|
||||||
|
|
||||||
|
Text tIcon1
|
||||||
|
Attributes
|
||||||
|
ID : 3
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Opacity : 127
|
||||||
|
x coordinate : 11
|
||||||
|
y coordinate : 21
|
||||||
|
Width : 45
|
||||||
|
Height : 30
|
||||||
|
Effect : load
|
||||||
|
Effect Priority : 0
|
||||||
|
Effect Time : 300
|
||||||
|
Fill : solid color
|
||||||
|
Style : flat
|
||||||
|
Associated Keyboard : none
|
||||||
|
Font ID : 1
|
||||||
|
Back. Color : 6371
|
||||||
|
Font Color : 17299
|
||||||
|
Horizontal Alignment : center
|
||||||
|
Vertical Alignment : center
|
||||||
|
Input Type : character
|
||||||
|
Text : î´
|
||||||
|
Max. Text Size : 10
|
||||||
|
Word wrap : disabled
|
||||||
|
Horizontal Spacing : 0
|
||||||
|
Vertical Spacing : 0
|
||||||
|
|
||||||
|
Text t1
|
||||||
|
Attributes
|
||||||
|
ID : 5
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Opacity : 127
|
||||||
|
x coordinate : 15
|
||||||
|
y coordinate : 142
|
||||||
|
Width : 211
|
||||||
|
Height : 30
|
||||||
|
Effect : load
|
||||||
|
Effect Priority : 0
|
||||||
|
Effect Time : 300
|
||||||
|
Fill : solid color
|
||||||
|
Style : flat
|
||||||
|
Associated Keyboard : none
|
||||||
|
Font ID : 0
|
||||||
|
Back. Color : 6371
|
||||||
|
Font Color : 65535
|
||||||
|
Horizontal Alignment : left
|
||||||
|
Vertical Alignment : center
|
||||||
|
Input Type : character
|
||||||
|
Text : Speed
|
||||||
|
Max. Text Size : 50
|
||||||
|
Word wrap : disabled
|
||||||
|
Horizontal Spacing : 0
|
||||||
|
Vertical Spacing : 0
|
||||||
|
|
||||||
|
Text tSend
|
||||||
|
Attributes
|
||||||
|
ID : 8
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Opacity : 127
|
||||||
|
x coordinate : 19
|
||||||
|
y coordinate : 2
|
||||||
|
Width : 284
|
||||||
|
Height : 8
|
||||||
|
Effect : load
|
||||||
|
Effect Priority : 0
|
||||||
|
Effect Time : 300
|
||||||
|
Fill : solid color
|
||||||
|
Style : flat
|
||||||
|
Associated Keyboard : none
|
||||||
|
Font ID : 0
|
||||||
|
Back. Color : 65535
|
||||||
|
Font Color : 0
|
||||||
|
Horizontal Alignment : center
|
||||||
|
Vertical Alignment : center
|
||||||
|
Input Type : character
|
||||||
|
Text : newtxt
|
||||||
|
Max. Text Size : 100
|
||||||
|
Word wrap : disabled
|
||||||
|
Horizontal Spacing : 0
|
||||||
|
Vertical Spacing : 0
|
||||||
|
|
||||||
|
Text tTmp
|
||||||
|
Attributes
|
||||||
|
ID : 9
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Opacity : 127
|
||||||
|
x coordinate : 272
|
||||||
|
y coordinate : 447
|
||||||
|
Width : 34
|
||||||
|
Height : 30
|
||||||
|
Effect : load
|
||||||
|
Effect Priority : 0
|
||||||
|
Effect Time : 300
|
||||||
|
Fill : solid color
|
||||||
|
Style : flat
|
||||||
|
Associated Keyboard : none
|
||||||
|
Font ID : 0
|
||||||
|
Back. Color : 65535
|
||||||
|
Font Color : 0
|
||||||
|
Horizontal Alignment : center
|
||||||
|
Vertical Alignment : center
|
||||||
|
Input Type : character
|
||||||
|
Text :
|
||||||
|
Max. Text Size : 80
|
||||||
|
Word wrap : disabled
|
||||||
|
Horizontal Spacing : 0
|
||||||
|
Vertical Spacing : 0
|
||||||
|
|
||||||
|
Text tInstruction
|
||||||
|
Attributes
|
||||||
|
ID : 14
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Opacity : 127
|
||||||
|
x coordinate : 0
|
||||||
|
y coordinate : 450
|
||||||
|
Width : 100
|
||||||
|
Height : 30
|
||||||
|
Effect : load
|
||||||
|
Effect Priority : 0
|
||||||
|
Effect Time : 300
|
||||||
|
Fill : solid color
|
||||||
|
Style : flat
|
||||||
|
Associated Keyboard : none
|
||||||
|
Font ID : 0
|
||||||
|
Back. Color : 65535
|
||||||
|
Font Color : 0
|
||||||
|
Horizontal Alignment : center
|
||||||
|
Vertical Alignment : center
|
||||||
|
Input Type : character
|
||||||
|
Text :
|
||||||
|
Max. Text Size : 20
|
||||||
|
Word wrap : disabled
|
||||||
|
Horizontal Spacing : 0
|
||||||
|
Vertical Spacing : 0
|
||||||
|
|
||||||
|
Text tId
|
||||||
|
Attributes
|
||||||
|
ID : 15
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Opacity : 127
|
||||||
|
x coordinate : 90
|
||||||
|
y coordinate : 450
|
||||||
|
Width : 100
|
||||||
|
Height : 30
|
||||||
|
Effect : load
|
||||||
|
Effect Priority : 0
|
||||||
|
Effect Time : 300
|
||||||
|
Fill : solid color
|
||||||
|
Style : flat
|
||||||
|
Associated Keyboard : none
|
||||||
|
Font ID : 0
|
||||||
|
Back. Color : 65535
|
||||||
|
Font Color : 0
|
||||||
|
Horizontal Alignment : center
|
||||||
|
Vertical Alignment : center
|
||||||
|
Input Type : character
|
||||||
|
Text :
|
||||||
|
Max. Text Size : 20
|
||||||
|
Word wrap : disabled
|
||||||
|
Horizontal Spacing : 0
|
||||||
|
Vertical Spacing : 0
|
||||||
|
|
||||||
|
Picture p0
|
||||||
|
Attributes
|
||||||
|
ID : 1
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Opacity : 127
|
||||||
|
x coordinate : 0
|
||||||
|
y coordinate : 0
|
||||||
|
Width : 319
|
||||||
|
Height : 479
|
||||||
|
Effect : load
|
||||||
|
Effect Priority : 0
|
||||||
|
Effect Time : 300
|
||||||
|
Picture ID : 0
|
||||||
|
|
||||||
|
Slider hSpeed
|
||||||
|
Attributes
|
||||||
|
ID : 6
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Opacity : 127
|
||||||
|
x coordinate : 16
|
||||||
|
y coordinate : 177
|
||||||
|
Width : 250
|
||||||
|
Height : 44
|
||||||
|
Effect : load
|
||||||
|
Effect Priority : 0
|
||||||
|
Effect Time : 300
|
||||||
|
Direction : horizontal
|
||||||
|
Fill : image
|
||||||
|
Cursor width : auto
|
||||||
|
Cursor height : 255
|
||||||
|
Back. Picture ID : 5
|
||||||
|
Slided Back. Picture ID : 4
|
||||||
|
Position : 50
|
||||||
|
Upper range limit : 100
|
||||||
|
Lower range limit : 0
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Release Event
|
||||||
|
tmCooldown.en=1
|
||||||
|
tmCooldown.tim=2500
|
||||||
|
//craft command
|
||||||
|
tSend.txt="event,buttonPress2,"+entn.txt+",number-set,"
|
||||||
|
covx hSpeed.val,tTmp.txt,0,0
|
||||||
|
tSend.txt+=tTmp.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
|
||||||
|
|
||||||
|
Button b0
|
||||||
|
Attributes
|
||||||
|
ID : 4
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Opacity : 127
|
||||||
|
x coordinate : 262
|
||||||
|
y coordinate : 11
|
||||||
|
Width : 50
|
||||||
|
Height : 50
|
||||||
|
Effect : load
|
||||||
|
Effect Priority : 0
|
||||||
|
Effect Time : 300
|
||||||
|
Fill : solid color
|
||||||
|
Style : flat
|
||||||
|
Font ID : 1
|
||||||
|
Back. Color : 6371
|
||||||
|
Back. Picture ID (Pressed) : 65535
|
||||||
|
Back. Color (Pressed) : 14823
|
||||||
|
Font Color (Unpressed) : 65535
|
||||||
|
Font Color (Pressed) : 65535
|
||||||
|
Horizontal Alignment : center
|
||||||
|
Vertical Alignment : center
|
||||||
|
State : unpressed
|
||||||
|
Text : î
|
||||||
|
Max. Text Size : 10
|
||||||
|
Word wrap : disabled
|
||||||
|
Horizontal Spacing : 0
|
||||||
|
Vertical Spacing : 0
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
tSend.txt="event,buttonPress2,popupLight,bExit"
|
||||||
|
//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
|
||||||
|
|
||||||
|
Dual-state Button btOnOff1
|
||||||
|
Attributes
|
||||||
|
ID : 7
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Opacity : 127
|
||||||
|
x coordinate : 260
|
||||||
|
y coordinate : 117
|
||||||
|
Width : 50
|
||||||
|
Height : 50
|
||||||
|
Effect : load
|
||||||
|
Effect Priority : 0
|
||||||
|
Effect Time : 300
|
||||||
|
Fill : image
|
||||||
|
Font ID : 0
|
||||||
|
Background Picture ID (Unpressed) : 1
|
||||||
|
Back. Picture ID (Pressed) : 2
|
||||||
|
Horizontal Alignment : center
|
||||||
|
Vertical Alignment : center
|
||||||
|
State : unpressed
|
||||||
|
Text :
|
||||||
|
Max. Text Size : 10
|
||||||
|
Word wrap : disabled
|
||||||
|
Horizontal Spacing : 0
|
||||||
|
Vertical Spacing : 0
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
//craft command
|
||||||
|
tSend.txt="event,buttonPress2,"+entn.txt+","+"OnOff,"
|
||||||
|
covx btOnOff1.val,tTmp.txt,0,0
|
||||||
|
tSend.txt+=tTmp.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
|
||||||
|
|
||||||
|
Timer tmSleep
|
||||||
|
Attributes
|
||||||
|
ID : 11
|
||||||
|
Scope : local
|
||||||
|
Period (ms): 1000
|
||||||
|
Enabled : yes
|
||||||
|
|
||||||
|
Events
|
||||||
|
Timer Event
|
||||||
|
if(sleepTimeout!=0)
|
||||||
|
{
|
||||||
|
sleepValue+=1
|
||||||
|
if(sleepTimeout<=sleepValue)
|
||||||
|
{
|
||||||
|
sleepValue=0
|
||||||
|
click b0,1
|
||||||
|
click b0,0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Timer tmSerial
|
||||||
|
Attributes
|
||||||
|
ID : 12
|
||||||
|
Scope : local
|
||||||
|
Period (ms): 50
|
||||||
|
Enabled : yes
|
||||||
|
|
||||||
|
Events
|
||||||
|
Timer Event
|
||||||
|
// data available
|
||||||
|
if(usize>1)
|
||||||
|
{
|
||||||
|
bufferPos=0
|
||||||
|
while(bufferPos<usize)
|
||||||
|
{
|
||||||
|
// check for 0x55 0xBB - Command Init Secuence
|
||||||
|
if(u[bufferPos]==187&&u[bufferPos-1]==85)
|
||||||
|
{
|
||||||
|
//remove garbage at the start of the buffer if there's any to free buffer for command
|
||||||
|
if(u[bufferPos]!=1)
|
||||||
|
{
|
||||||
|
udelete bufferPos-1
|
||||||
|
}
|
||||||
|
//instruction is now aligned with buffer, because we deleted garbage before instrcution
|
||||||
|
//get length after init sequence (check if there are more than to bytes in buffer)
|
||||||
|
if(3<usize)
|
||||||
|
{
|
||||||
|
// check if serial buffer has reached the announced length
|
||||||
|
ucopy payloadLength,2,2,0
|
||||||
|
// we are only checking payload length so we have to skip first 3 bytes (init+payload length) (-1 because of < instead of <=)
|
||||||
|
payloadLength+=3
|
||||||
|
// payload length does also not contain crc, so we are adding another 2 bytes for crc
|
||||||
|
payloadLength+=2
|
||||||
|
if(payloadLength<usize)
|
||||||
|
{
|
||||||
|
// calculate crc
|
||||||
|
crcrest 1,0xFFFF
|
||||||
|
// u[2] contains payload legth at 3rd pos in buffer, we are calculating crc from 3rd pos with number of bytes from payload length
|
||||||
|
//crcputu 3,u[2]
|
||||||
|
// u[2] cotnains payload length, we are calculating a crc over the whole message, so we have to add 3 to the length from u[2]
|
||||||
|
crcputu 0,payloadLength-1
|
||||||
|
// get recived crc to be able to compare it
|
||||||
|
ucopy recvCrc,payloadLength-1,2,0
|
||||||
|
// compare crc with recived value
|
||||||
|
if(crcval==recvCrc)
|
||||||
|
{
|
||||||
|
// crc is okay
|
||||||
|
// here is the location where acual code should be
|
||||||
|
// write command to variable strCommand
|
||||||
|
ucopy strCommand.txt,4,payloadLength-5,0
|
||||||
|
// write instruction to tInstuction (debug output, but used as variable here, ui elements will be disabled by default)
|
||||||
|
spstr strCommand.txt,tInstruction.txt,"~",0
|
||||||
|
spstr strCommand.txt,tTmp.txt,"~",1
|
||||||
|
if(tInstruction.txt=="entityUpdateDetail"&&entn.txt==tTmp.txt)
|
||||||
|
{
|
||||||
|
// change icon
|
||||||
|
spstr strCommand.txt,tIcon1.txt,"~",2
|
||||||
|
vis tIcon1,1
|
||||||
|
// change icon color
|
||||||
|
spstr strCommand.txt,tTmp.txt,"~",3
|
||||||
|
covx tTmp.txt,sys0,0,0
|
||||||
|
tIcon1.pco=sys0
|
||||||
|
// get Button State
|
||||||
|
spstr strCommand.txt,tTmp.txt,"~",4
|
||||||
|
covx tTmp.txt,sys0,0,0
|
||||||
|
btOnOff1.val=sys0
|
||||||
|
// get Brightness value
|
||||||
|
spstr strCommand.txt,tTmp.txt,"~",5
|
||||||
|
if(tTmp.txt=="disable")
|
||||||
|
{
|
||||||
|
vis t1,0
|
||||||
|
vis hSpeed,0
|
||||||
|
}else
|
||||||
|
{
|
||||||
|
vis t1,1
|
||||||
|
vis hSpeed,1
|
||||||
|
covx tTmp.txt,sys0,0,0
|
||||||
|
if(tmCooldown.en==0)
|
||||||
|
{
|
||||||
|
hSpeed.val=sys0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// set t1 Speed (Localization)
|
||||||
|
spstr strCommand.txt,t1.txt,"~",6
|
||||||
|
}
|
||||||
|
if(tInstruction.txt=="time")
|
||||||
|
{
|
||||||
|
// get set time to global variable
|
||||||
|
spstr strCommand.txt,pageIcons.vaTime.txt,"~",1
|
||||||
|
}
|
||||||
|
if(tInstruction.txt=="date")
|
||||||
|
{
|
||||||
|
// get set date to global variable
|
||||||
|
spstr strCommand.txt,pageIcons.vaDate.txt,"~",1
|
||||||
|
}
|
||||||
|
if(tInstruction.txt=="dimmode")
|
||||||
|
{
|
||||||
|
// get value
|
||||||
|
spstr strCommand.txt,tTmp.txt,"~",1
|
||||||
|
covx tTmp.txt,dimValue,0,0
|
||||||
|
// get value normal
|
||||||
|
spstr strCommand.txt,tTmp.txt,"~",2
|
||||||
|
covx tTmp.txt,dimValueNormal,0,0
|
||||||
|
dim=dimValueNormal
|
||||||
|
// get background color
|
||||||
|
spstr strCommand.txt,tTmp.txt,"~",3
|
||||||
|
if(tTmp.txt!="")
|
||||||
|
{
|
||||||
|
covx tTmp.txt,defaultBcoColor,0,0
|
||||||
|
}
|
||||||
|
// get font color
|
||||||
|
spstr strCommand.txt,tTmp.txt,"~",4
|
||||||
|
if(tTmp.txt!="")
|
||||||
|
{
|
||||||
|
covx tTmp.txt,defaultFontColor,0,0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if(tInstruction.txt=="timeout")
|
||||||
|
{
|
||||||
|
//set timeout to global var
|
||||||
|
spstr strCommand.txt,tTmp.txt,"~",1
|
||||||
|
covx tTmp.txt,sleepTimeout,0,0
|
||||||
|
}
|
||||||
|
if(tInstruction.txt=="pageType")
|
||||||
|
{
|
||||||
|
//command format pageType,specialPageName
|
||||||
|
//write name of speical page to tId
|
||||||
|
spstr strCommand.txt,tId.txt,"~",1
|
||||||
|
//save second arg if there's one
|
||||||
|
spstr strCommand.txt,tTmp.txt,"~",2
|
||||||
|
//save third arg if there's one
|
||||||
|
spstr strCommand.txt,pageIcons.tTmp2.txt,"~",3
|
||||||
|
//we are going to exit this page with this command, so we have to clear the buffer, so we are not getting into a stupid loop ...
|
||||||
|
udelete payloadLength-1
|
||||||
|
bufferPos=0
|
||||||
|
if(tId.txt=="pageStartup")
|
||||||
|
{
|
||||||
|
page pageStartup
|
||||||
|
}
|
||||||
|
if(tId.txt=="screensaver")
|
||||||
|
{
|
||||||
|
page screensaver
|
||||||
|
}
|
||||||
|
if(tId.txt=="cardEntities")
|
||||||
|
{
|
||||||
|
page cardEntities
|
||||||
|
}
|
||||||
|
if(tId.txt=="cardGrid")
|
||||||
|
{
|
||||||
|
page cardGrid
|
||||||
|
}
|
||||||
|
if(tId.txt=="popupLight")
|
||||||
|
{
|
||||||
|
pageIcons.tTmp1.txt=tTmp.txt
|
||||||
|
page popupLight
|
||||||
|
}
|
||||||
|
if(tId.txt=="popupShutter")
|
||||||
|
{
|
||||||
|
pageIcons.tTmp1.txt=tTmp.txt
|
||||||
|
page popupShutter
|
||||||
|
}
|
||||||
|
if(tId.txt=="popupNotify")
|
||||||
|
{
|
||||||
|
page popupNotify
|
||||||
|
}
|
||||||
|
if(tId.txt=="cardThermo")
|
||||||
|
{
|
||||||
|
page cardThermo
|
||||||
|
}
|
||||||
|
if(tId.txt=="cardMedia")
|
||||||
|
{
|
||||||
|
page cardMedia
|
||||||
|
}
|
||||||
|
if(tId.txt=="cardAlarm")
|
||||||
|
{
|
||||||
|
page cardAlarm
|
||||||
|
}
|
||||||
|
if(tId.txt=="cardQR")
|
||||||
|
{
|
||||||
|
page cardQR
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// end of user code
|
||||||
|
udelete payloadLength-1
|
||||||
|
bufferPos=0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// next character
|
||||||
|
bufferPos++
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Timer tmCooldown
|
||||||
|
Attributes
|
||||||
|
ID : 19
|
||||||
|
Scope : local
|
||||||
|
Period (ms): 100
|
||||||
|
Enabled : no
|
||||||
|
|
||||||
|
Events
|
||||||
|
Timer Event
|
||||||
|
tmCooldown.en=0
|
||||||
|
|
||||||
|
TouchCap tc0
|
||||||
|
Attributes
|
||||||
|
ID : 10
|
||||||
|
Scope: local
|
||||||
|
Value: 0
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
sleepValue=0
|
||||||
|
|
||||||
@@ -20,12 +20,24 @@ Page popupNotify
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
popupNotify.bco=defaultBcoColor
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
vis p0,0
|
vis p0,0
|
||||||
vis tSend,0
|
vis tSend,0
|
||||||
vis tTmp,0
|
vis tTmp,0
|
||||||
vis tInstruction,0
|
vis tInstruction,0
|
||||||
vis tId,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
|
Variable (string) strCommand
|
||||||
Attributes
|
Attributes
|
||||||
|
|||||||
@@ -20,6 +20,34 @@ Page popupShutter
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
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
|
popupShutter.bco=defaultBcoColor
|
||||||
b0.bco=defaultBcoColor
|
b0.bco=defaultBcoColor
|
||||||
tIcon1.bco=defaultBcoColor
|
tIcon1.bco=defaultBcoColor
|
||||||
@@ -54,34 +82,6 @@ Page popupShutter
|
|||||||
hPosition.pic1=13
|
hPosition.pic1=13
|
||||||
hPosition.pic2=15
|
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
|
Variable (string) strCommand
|
||||||
Attributes
|
Attributes
|
||||||
|
|||||||
474
HMI/US/portrait/n2t-out/popupFan.txt
Normal file
474
HMI/US/portrait/n2t-out/popupFan.txt
Normal file
@@ -0,0 +1,474 @@
|
|||||||
|
Page popupFan
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Locked : no
|
||||||
|
Swide up page ID : disabled
|
||||||
|
Swide down page ID : disabled
|
||||||
|
Swide left page ID : disabled
|
||||||
|
Swide right page ID : disabled
|
||||||
|
|
||||||
|
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 tTmp,0
|
||||||
|
vis tInstruction,0
|
||||||
|
vis tId,0
|
||||||
|
//page open event
|
||||||
|
// event,pageOpenDetail,typeOfPage,tEntityName
|
||||||
|
// craft command
|
||||||
|
tSend.txt="event,pageOpenDetail,popupFan,"+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
|
||||||
|
vis hSpeed,0
|
||||||
|
popupFan.bco=defaultBcoColor
|
||||||
|
for(sys0=0;sys0<40;sys0++)
|
||||||
|
{
|
||||||
|
if(b[sys0].type==98||b[sys0].type==116)
|
||||||
|
{
|
||||||
|
b[sys0].bco=defaultBcoColor
|
||||||
|
b[sys0].pco=defaultFontColor
|
||||||
|
}
|
||||||
|
if(b[sys0].type==53&&defaultBcoColor==0)
|
||||||
|
{
|
||||||
|
b[sys0].pic=10
|
||||||
|
b[sys0].pic2=11
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if(defaultBcoColor==0)
|
||||||
|
{
|
||||||
|
hSpeed.pic=14
|
||||||
|
hSpeed.pic1=13
|
||||||
|
hSpeed.pic2=15
|
||||||
|
}
|
||||||
|
|
||||||
|
Variable (string) strCommand
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Text :
|
||||||
|
Max. Text Size: 500
|
||||||
|
|
||||||
|
Variable (string) entn
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Text :
|
||||||
|
Max. Text Size: 80
|
||||||
|
|
||||||
|
Variable (int32) mode
|
||||||
|
Attributes
|
||||||
|
Scope: local
|
||||||
|
Value: 1
|
||||||
|
|
||||||
|
Variable (int32) mode_temp
|
||||||
|
Attributes
|
||||||
|
Scope: local
|
||||||
|
Value: 0
|
||||||
|
|
||||||
|
Text tEntity
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Associated Keyboard : none
|
||||||
|
Text : tEntity1
|
||||||
|
Max. Text Size : 25
|
||||||
|
|
||||||
|
Text tIcon1
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Associated Keyboard : none
|
||||||
|
Text : î´
|
||||||
|
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 : Speed
|
||||||
|
Max. Text Size : 50
|
||||||
|
|
||||||
|
Text tSend
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Associated Keyboard : none
|
||||||
|
Text : newtxt
|
||||||
|
Max. Text Size : 100
|
||||||
|
|
||||||
|
Text tTmp
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Associated Keyboard : none
|
||||||
|
Text :
|
||||||
|
Max. Text Size : 80
|
||||||
|
|
||||||
|
Text tInstruction
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Associated Keyboard : none
|
||||||
|
Text :
|
||||||
|
Max. Text Size : 20
|
||||||
|
|
||||||
|
Text tId
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Associated Keyboard : none
|
||||||
|
Text :
|
||||||
|
Max. Text Size : 20
|
||||||
|
|
||||||
|
Picture p0
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
|
||||||
|
Slider hSpeed
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
Position : 50
|
||||||
|
Upper range limit : 100
|
||||||
|
Lower range limit : 0
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Release Event
|
||||||
|
tmCooldown.en=1
|
||||||
|
tmCooldown.tim=2500
|
||||||
|
//craft command
|
||||||
|
tSend.txt="event,buttonPress2,"+entn.txt+",number-set,"
|
||||||
|
covx hSpeed.val,tTmp.txt,0,0
|
||||||
|
tSend.txt+=tTmp.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
|
||||||
|
|
||||||
|
Button b0
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
State : unpressed
|
||||||
|
Text : î
|
||||||
|
Max. Text Size : 10
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
tSend.txt="event,buttonPress2,popupLight,bExit"
|
||||||
|
//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
|
||||||
|
|
||||||
|
Dual-state Button btOnOff1
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Dragging : 0
|
||||||
|
Disable release event after dragging: 0
|
||||||
|
Send Component ID : disabled
|
||||||
|
State : unpressed
|
||||||
|
Text :
|
||||||
|
Max. Text Size : 10
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
//craft command
|
||||||
|
tSend.txt="event,buttonPress2,"+entn.txt+","+"OnOff,"
|
||||||
|
covx btOnOff1.val,tTmp.txt,0,0
|
||||||
|
tSend.txt+=tTmp.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
|
||||||
|
|
||||||
|
Timer tmSleep
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Period (ms): 1000
|
||||||
|
Enabled : yes
|
||||||
|
|
||||||
|
Events
|
||||||
|
Timer Event
|
||||||
|
if(sleepTimeout!=0)
|
||||||
|
{
|
||||||
|
sleepValue+=1
|
||||||
|
if(sleepTimeout<=sleepValue)
|
||||||
|
{
|
||||||
|
sleepValue=0
|
||||||
|
click b0,1
|
||||||
|
click b0,0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Timer tmSerial
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Period (ms): 50
|
||||||
|
Enabled : yes
|
||||||
|
|
||||||
|
Events
|
||||||
|
Timer Event
|
||||||
|
// data available
|
||||||
|
if(usize>1)
|
||||||
|
{
|
||||||
|
bufferPos=0
|
||||||
|
while(bufferPos<usize)
|
||||||
|
{
|
||||||
|
// check for 0x55 0xBB - Command Init Secuence
|
||||||
|
if(u[bufferPos]==187&&u[bufferPos-1]==85)
|
||||||
|
{
|
||||||
|
//remove garbage at the start of the buffer if there's any to free buffer for command
|
||||||
|
if(u[bufferPos]!=1)
|
||||||
|
{
|
||||||
|
udelete bufferPos-1
|
||||||
|
}
|
||||||
|
//instruction is now aligned with buffer, because we deleted garbage before instrcution
|
||||||
|
//get length after init sequence (check if there are more than to bytes in buffer)
|
||||||
|
if(3<usize)
|
||||||
|
{
|
||||||
|
// check if serial buffer has reached the announced length
|
||||||
|
ucopy payloadLength,2,2,0
|
||||||
|
// we are only checking payload length so we have to skip first 3 bytes (init+payload length) (-1 because of < instead of <=)
|
||||||
|
payloadLength+=3
|
||||||
|
// payload length does also not contain crc, so we are adding another 2 bytes for crc
|
||||||
|
payloadLength+=2
|
||||||
|
if(payloadLength<usize)
|
||||||
|
{
|
||||||
|
// calculate crc
|
||||||
|
crcrest 1,0xFFFF
|
||||||
|
// u[2] contains payload legth at 3rd pos in buffer, we are calculating crc from 3rd pos with number of bytes from payload length
|
||||||
|
//crcputu 3,u[2]
|
||||||
|
// u[2] cotnains payload length, we are calculating a crc over the whole message, so we have to add 3 to the length from u[2]
|
||||||
|
crcputu 0,payloadLength-1
|
||||||
|
// get recived crc to be able to compare it
|
||||||
|
ucopy recvCrc,payloadLength-1,2,0
|
||||||
|
// compare crc with recived value
|
||||||
|
if(crcval==recvCrc)
|
||||||
|
{
|
||||||
|
// crc is okay
|
||||||
|
// here is the location where acual code should be
|
||||||
|
// write command to variable strCommand
|
||||||
|
ucopy strCommand.txt,4,payloadLength-5,0
|
||||||
|
// write instruction to tInstuction (debug output, but used as variable here, ui elements will be disabled by default)
|
||||||
|
spstr strCommand.txt,tInstruction.txt,"~",0
|
||||||
|
spstr strCommand.txt,tTmp.txt,"~",1
|
||||||
|
if(tInstruction.txt=="entityUpdateDetail"&&entn.txt==tTmp.txt)
|
||||||
|
{
|
||||||
|
// change icon
|
||||||
|
spstr strCommand.txt,tIcon1.txt,"~",2
|
||||||
|
vis tIcon1,1
|
||||||
|
// change icon color
|
||||||
|
spstr strCommand.txt,tTmp.txt,"~",3
|
||||||
|
covx tTmp.txt,sys0,0,0
|
||||||
|
tIcon1.pco=sys0
|
||||||
|
// get Button State
|
||||||
|
spstr strCommand.txt,tTmp.txt,"~",4
|
||||||
|
covx tTmp.txt,sys0,0,0
|
||||||
|
btOnOff1.val=sys0
|
||||||
|
// get Brightness value
|
||||||
|
spstr strCommand.txt,tTmp.txt,"~",5
|
||||||
|
if(tTmp.txt=="disable")
|
||||||
|
{
|
||||||
|
vis t1,0
|
||||||
|
vis hSpeed,0
|
||||||
|
}else
|
||||||
|
{
|
||||||
|
vis t1,1
|
||||||
|
vis hSpeed,1
|
||||||
|
covx tTmp.txt,sys0,0,0
|
||||||
|
if(tmCooldown.en==0)
|
||||||
|
{
|
||||||
|
hSpeed.val=sys0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// set t1 Speed (Localization)
|
||||||
|
spstr strCommand.txt,t1.txt,"~",6
|
||||||
|
}
|
||||||
|
if(tInstruction.txt=="time")
|
||||||
|
{
|
||||||
|
// get set time to global variable
|
||||||
|
spstr strCommand.txt,pageIcons.vaTime.txt,"~",1
|
||||||
|
}
|
||||||
|
if(tInstruction.txt=="date")
|
||||||
|
{
|
||||||
|
// get set date to global variable
|
||||||
|
spstr strCommand.txt,pageIcons.vaDate.txt,"~",1
|
||||||
|
}
|
||||||
|
if(tInstruction.txt=="dimmode")
|
||||||
|
{
|
||||||
|
// get value
|
||||||
|
spstr strCommand.txt,tTmp.txt,"~",1
|
||||||
|
covx tTmp.txt,dimValue,0,0
|
||||||
|
// get value normal
|
||||||
|
spstr strCommand.txt,tTmp.txt,"~",2
|
||||||
|
covx tTmp.txt,dimValueNormal,0,0
|
||||||
|
dim=dimValueNormal
|
||||||
|
// get background color
|
||||||
|
spstr strCommand.txt,tTmp.txt,"~",3
|
||||||
|
if(tTmp.txt!="")
|
||||||
|
{
|
||||||
|
covx tTmp.txt,defaultBcoColor,0,0
|
||||||
|
}
|
||||||
|
// get font color
|
||||||
|
spstr strCommand.txt,tTmp.txt,"~",4
|
||||||
|
if(tTmp.txt!="")
|
||||||
|
{
|
||||||
|
covx tTmp.txt,defaultFontColor,0,0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if(tInstruction.txt=="timeout")
|
||||||
|
{
|
||||||
|
//set timeout to global var
|
||||||
|
spstr strCommand.txt,tTmp.txt,"~",1
|
||||||
|
covx tTmp.txt,sleepTimeout,0,0
|
||||||
|
}
|
||||||
|
if(tInstruction.txt=="pageType")
|
||||||
|
{
|
||||||
|
//command format pageType,specialPageName
|
||||||
|
//write name of speical page to tId
|
||||||
|
spstr strCommand.txt,tId.txt,"~",1
|
||||||
|
//save second arg if there's one
|
||||||
|
spstr strCommand.txt,tTmp.txt,"~",2
|
||||||
|
//save third arg if there's one
|
||||||
|
spstr strCommand.txt,pageIcons.tTmp2.txt,"~",3
|
||||||
|
//we are going to exit this page with this command, so we have to clear the buffer, so we are not getting into a stupid loop ...
|
||||||
|
udelete payloadLength-1
|
||||||
|
bufferPos=0
|
||||||
|
if(tId.txt=="pageStartup")
|
||||||
|
{
|
||||||
|
page pageStartup
|
||||||
|
}
|
||||||
|
if(tId.txt=="screensaver")
|
||||||
|
{
|
||||||
|
page screensaver
|
||||||
|
}
|
||||||
|
if(tId.txt=="cardEntities")
|
||||||
|
{
|
||||||
|
page cardEntities
|
||||||
|
}
|
||||||
|
if(tId.txt=="cardGrid")
|
||||||
|
{
|
||||||
|
page cardGrid
|
||||||
|
}
|
||||||
|
if(tId.txt=="popupLight")
|
||||||
|
{
|
||||||
|
pageIcons.tTmp1.txt=tTmp.txt
|
||||||
|
page popupLight
|
||||||
|
}
|
||||||
|
if(tId.txt=="popupShutter")
|
||||||
|
{
|
||||||
|
pageIcons.tTmp1.txt=tTmp.txt
|
||||||
|
page popupShutter
|
||||||
|
}
|
||||||
|
if(tId.txt=="popupNotify")
|
||||||
|
{
|
||||||
|
page popupNotify
|
||||||
|
}
|
||||||
|
if(tId.txt=="cardThermo")
|
||||||
|
{
|
||||||
|
page cardThermo
|
||||||
|
}
|
||||||
|
if(tId.txt=="cardMedia")
|
||||||
|
{
|
||||||
|
page cardMedia
|
||||||
|
}
|
||||||
|
if(tId.txt=="cardAlarm")
|
||||||
|
{
|
||||||
|
page cardAlarm
|
||||||
|
}
|
||||||
|
if(tId.txt=="cardQR")
|
||||||
|
{
|
||||||
|
page cardQR
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// end of user code
|
||||||
|
udelete payloadLength-1
|
||||||
|
bufferPos=0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// next character
|
||||||
|
bufferPos++
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Timer tmCooldown
|
||||||
|
Attributes
|
||||||
|
Scope : local
|
||||||
|
Period (ms): 100
|
||||||
|
Enabled : no
|
||||||
|
|
||||||
|
Events
|
||||||
|
Timer Event
|
||||||
|
tmCooldown.en=0
|
||||||
|
|
||||||
|
TouchCap tc0
|
||||||
|
Attributes
|
||||||
|
Scope: local
|
||||||
|
Value: 0
|
||||||
|
|
||||||
|
Events
|
||||||
|
Touch Press Event
|
||||||
|
sleepValue=0
|
||||||
|
|
||||||
@@ -12,12 +12,24 @@ Page popupNotify
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
|
popupNotify.bco=defaultBcoColor
|
||||||
dim=dimValueNormal
|
dim=dimValueNormal
|
||||||
vis p0,0
|
vis p0,0
|
||||||
vis tSend,0
|
vis tSend,0
|
||||||
vis tTmp,0
|
vis tTmp,0
|
||||||
vis tInstruction,0
|
vis tInstruction,0
|
||||||
vis tId,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
|
Variable (string) strCommand
|
||||||
Attributes
|
Attributes
|
||||||
|
|||||||
@@ -12,6 +12,34 @@ Page popupShutter
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Preinitialize Event
|
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
|
popupShutter.bco=defaultBcoColor
|
||||||
b0.bco=defaultBcoColor
|
b0.bco=defaultBcoColor
|
||||||
tIcon1.bco=defaultBcoColor
|
tIcon1.bco=defaultBcoColor
|
||||||
@@ -46,34 +74,6 @@ Page popupShutter
|
|||||||
hPosition.pic1=13
|
hPosition.pic1=13
|
||||||
hPosition.pic2=15
|
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
|
Variable (string) strCommand
|
||||||
Attributes
|
Attributes
|
||||||
|
|||||||
@@ -6,10 +6,6 @@ pageIcons
|
|||||||
6 Component(s)
|
6 Component(s)
|
||||||
0 Line(s) of event code
|
0 Line(s) of event code
|
||||||
0 Unique line(s) of event code
|
0 Unique line(s) of event code
|
||||||
pageTest
|
|
||||||
18 Component(s)
|
|
||||||
16 Line(s) of event code
|
|
||||||
16 Unique line(s) of event code
|
|
||||||
pageStartup
|
pageStartup
|
||||||
19 Component(s)
|
19 Component(s)
|
||||||
167 Line(s) of event code
|
167 Line(s) of event code
|
||||||
@@ -42,6 +38,10 @@ cardGrid
|
|||||||
42 Component(s)
|
42 Component(s)
|
||||||
462 Line(s) of event code
|
462 Line(s) of event code
|
||||||
271 Unique line(s) of event code
|
271 Unique line(s) of event code
|
||||||
|
pageTest
|
||||||
|
14 Component(s)
|
||||||
|
14 Line(s) of event code
|
||||||
|
14 Unique line(s) of event code
|
||||||
cardQR
|
cardQR
|
||||||
32 Component(s)
|
32 Component(s)
|
||||||
403 Line(s) of event code
|
403 Line(s) of event code
|
||||||
@@ -61,6 +61,6 @@ cardEntities
|
|||||||
|
|
||||||
Total
|
Total
|
||||||
14 Page(s)
|
14 Page(s)
|
||||||
436 Component(s)
|
432 Component(s)
|
||||||
5195 Line(s) of event code
|
5193 Line(s) of event code
|
||||||
1354 Unique line(s) of event code
|
1352 Unique line(s) of event code
|
||||||
|
|||||||
@@ -21,128 +21,6 @@ Page pageTest
|
|||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
vis p0,0
|
vis p0,0
|
||||||
n0.val=defaultBcoColor
|
|
||||||
n1.val=defaultFontColor
|
|
||||||
|
|
||||||
Number n0
|
|
||||||
Attributes
|
|
||||||
ID : 14
|
|
||||||
Scope : local
|
|
||||||
Dragging : 0
|
|
||||||
Disable release event after dragging: 0
|
|
||||||
Send Component ID : disabled
|
|
||||||
Opacity : 127
|
|
||||||
x coordinate : 236
|
|
||||||
y coordinate : 221
|
|
||||||
Width : 100
|
|
||||||
Height : 30
|
|
||||||
Effect : load
|
|
||||||
Effect Priority : 0
|
|
||||||
Effect Time : 300
|
|
||||||
Fill : solid color
|
|
||||||
Style : flat
|
|
||||||
Associated Keyboard : none
|
|
||||||
Font ID : 0
|
|
||||||
Back. Color : 65535
|
|
||||||
Font Color : 0
|
|
||||||
Horizontal Alignment : center
|
|
||||||
Vertical Alignment : center
|
|
||||||
Value : 0
|
|
||||||
Significant digits shown : all
|
|
||||||
Format : decimal
|
|
||||||
Word wrap : enabled
|
|
||||||
Horizontal Spacing : 0
|
|
||||||
Vertical Spacing : 0
|
|
||||||
|
|
||||||
Number n1
|
|
||||||
Attributes
|
|
||||||
ID : 15
|
|
||||||
Scope : local
|
|
||||||
Dragging : 0
|
|
||||||
Disable release event after dragging: 0
|
|
||||||
Send Component ID : disabled
|
|
||||||
Opacity : 127
|
|
||||||
x coordinate : 236
|
|
||||||
y coordinate : 280
|
|
||||||
Width : 100
|
|
||||||
Height : 30
|
|
||||||
Effect : load
|
|
||||||
Effect Priority : 0
|
|
||||||
Effect Time : 300
|
|
||||||
Fill : solid color
|
|
||||||
Style : flat
|
|
||||||
Associated Keyboard : none
|
|
||||||
Font ID : 0
|
|
||||||
Back. Color : 65535
|
|
||||||
Font Color : 0
|
|
||||||
Horizontal Alignment : center
|
|
||||||
Vertical Alignment : center
|
|
||||||
Value : 0
|
|
||||||
Significant digits shown : all
|
|
||||||
Format : decimal
|
|
||||||
Word wrap : enabled
|
|
||||||
Horizontal Spacing : 0
|
|
||||||
Vertical Spacing : 0
|
|
||||||
|
|
||||||
Text t0
|
|
||||||
Attributes
|
|
||||||
ID : 16
|
|
||||||
Scope : local
|
|
||||||
Dragging : 0
|
|
||||||
Disable release event after dragging: 0
|
|
||||||
Send Component ID : disabled
|
|
||||||
Opacity : 127
|
|
||||||
x coordinate : 236
|
|
||||||
y coordinate : 191
|
|
||||||
Width : 100
|
|
||||||
Height : 30
|
|
||||||
Effect : load
|
|
||||||
Effect Priority : 0
|
|
||||||
Effect Time : 300
|
|
||||||
Fill : solid color
|
|
||||||
Style : flat
|
|
||||||
Associated Keyboard : none
|
|
||||||
Font ID : 0
|
|
||||||
Back. Color : 65535
|
|
||||||
Font Color : 0
|
|
||||||
Horizontal Alignment : center
|
|
||||||
Vertical Alignment : center
|
|
||||||
Input Type : character
|
|
||||||
Text : bco
|
|
||||||
Max. Text Size : 10
|
|
||||||
Word wrap : disabled
|
|
||||||
Horizontal Spacing : 0
|
|
||||||
Vertical Spacing : 0
|
|
||||||
|
|
||||||
Text t1
|
|
||||||
Attributes
|
|
||||||
ID : 17
|
|
||||||
Scope : local
|
|
||||||
Dragging : 0
|
|
||||||
Disable release event after dragging: 0
|
|
||||||
Send Component ID : disabled
|
|
||||||
Opacity : 127
|
|
||||||
x coordinate : 236
|
|
||||||
y coordinate : 251
|
|
||||||
Width : 100
|
|
||||||
Height : 30
|
|
||||||
Effect : load
|
|
||||||
Effect Priority : 0
|
|
||||||
Effect Time : 300
|
|
||||||
Fill : solid color
|
|
||||||
Style : flat
|
|
||||||
Associated Keyboard : none
|
|
||||||
Font ID : 0
|
|
||||||
Back. Color : 65535
|
|
||||||
Font Color : 0
|
|
||||||
Horizontal Alignment : center
|
|
||||||
Vertical Alignment : center
|
|
||||||
Input Type : character
|
|
||||||
Text : font
|
|
||||||
Max. Text Size : 10
|
|
||||||
Word wrap : disabled
|
|
||||||
Horizontal Spacing : 0
|
|
||||||
Vertical Spacing : 0
|
|
||||||
|
|
||||||
Picture p0
|
Picture p0
|
||||||
Attributes
|
Attributes
|
||||||
|
|||||||
@@ -13,46 +13,6 @@ Page pageTest
|
|||||||
Events
|
Events
|
||||||
Preinitialize Event
|
Preinitialize Event
|
||||||
vis p0,0
|
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
|
Picture p0
|
||||||
Attributes
|
Attributes
|
||||||
|
|||||||
Reference in New Issue
Block a user