mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-20 14:37:01 +01:00
Merge branch 'main' of https://github.com/joBr99/nspanel-lovelace-ui (add nextion2text)
This commit is contained in:
@@ -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-03-29 08:35:50.434815150 +0000
|
||||
+++ HMI/US/portrait/n2t-out/Program.s.txt 2022-03-29 08:35:50.850823278 +0000
|
||||
--- HMI/n2t-out/Program.s.txt 2022-03-29 09:00:45.659455717 +0000
|
||||
+++ HMI/US/portrait/n2t-out/Program.s.txt 2022-03-29 09:00:46.159475076 +0000
|
||||
@@ -10,6 +10,6 @@
|
||||
int sleepValue=0
|
||||
// dim value
|
||||
@@ -11,12 +11,37 @@ 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/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
|
||||
--- HMI/n2t-out/cardEntities.txt 2022-03-29 08:35:50.434815150 +0000
|
||||
+++ HMI/US/portrait/n2t-out/cardEntities.txt 2022-03-29 08:35:50.850823278 +0000
|
||||
@@ -59,6 +59,24 @@
|
||||
--- HMI/n2t-out/cardEntities.txt 2022-03-29 09:00:45.659455717 +0000
|
||||
+++ HMI/US/portrait/n2t-out/cardEntities.txt 2022-03-29 09:00:46.159475076 +0000
|
||||
@@ -32,7 +32,6 @@
|
||||
vis tEntity1,0
|
||||
vis bText1,0
|
||||
vis hSlider1,0
|
||||
- vis nNum1,0
|
||||
//ui e2
|
||||
vis btOnOff2,0
|
||||
vis bUp2,0
|
||||
@@ -42,7 +41,6 @@
|
||||
vis tEntity2,0
|
||||
vis bText2,0
|
||||
vis hSlider2,0
|
||||
- vis nNum2,0
|
||||
//ui e3
|
||||
vis btOnOff3,0
|
||||
vis bUp3,0
|
||||
@@ -52,7 +50,6 @@
|
||||
vis tEntity3,0
|
||||
vis bText3,0
|
||||
vis hSlider3,0
|
||||
- vis nNum3,0
|
||||
//ui e4
|
||||
vis btOnOff4,0
|
||||
vis bUp4,0
|
||||
@@ -62,7 +59,24 @@
|
||||
vis tEntity4,0
|
||||
vis bText4,0
|
||||
vis hSlider4,0
|
||||
- vis nNum4,0
|
||||
+ //ui e5
|
||||
+ vis btOnOff5,0
|
||||
+ vis bUp5,0
|
||||
@@ -38,42 +63,69 @@ diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
|
||||
|
||||
Variable (string) strCommand
|
||||
Attributes
|
||||
@@ -123,6 +141,34 @@
|
||||
@@ -127,45 +141,33 @@
|
||||
Text :
|
||||
Max. Text Size: 70
|
||||
|
||||
-Number nNum1
|
||||
+Variable (string) entn5
|
||||
+ Attributes
|
||||
Attributes
|
||||
- ID : 58
|
||||
+ ID : 70
|
||||
+ Scope : local
|
||||
Scope : local
|
||||
- Dragging : 0
|
||||
- Disable release event after dragging: 0
|
||||
- Send Component ID : disabled
|
||||
- Associated Keyboard : none
|
||||
- Value : 0
|
||||
+ Text :
|
||||
+ Max. Text Size: 50
|
||||
+
|
||||
|
||||
-Number nNum2
|
||||
+Variable (string) entn6
|
||||
+ Attributes
|
||||
Attributes
|
||||
- ID : 59
|
||||
+ ID : 71
|
||||
+ Scope : local
|
||||
Scope : local
|
||||
- Dragging : 0
|
||||
- Disable release event after dragging: 0
|
||||
- Send Component ID : disabled
|
||||
- Associated Keyboard : none
|
||||
- Value : 0
|
||||
+ Text :
|
||||
+ Max. Text Size: 50
|
||||
+
|
||||
|
||||
-Number nNum3
|
||||
+Variable (string) type5
|
||||
+ Attributes
|
||||
Attributes
|
||||
- ID : 60
|
||||
+ ID : 72
|
||||
+ Scope : local
|
||||
Scope : local
|
||||
- Dragging : 0
|
||||
- Disable release event after dragging: 0
|
||||
- Send Component ID : disabled
|
||||
- Associated Keyboard : none
|
||||
- Value : 0
|
||||
+ Text :
|
||||
+ Max. Text Size: 10
|
||||
+
|
||||
|
||||
-Number nNum4
|
||||
+Variable (string) type6
|
||||
+ Attributes
|
||||
Attributes
|
||||
- ID : 61
|
||||
+ ID : 73
|
||||
+ Scope : local
|
||||
Scope : local
|
||||
- Dragging : 0
|
||||
- Disable release event after dragging: 0
|
||||
- Send Component ID : disabled
|
||||
- Associated Keyboard : none
|
||||
- Value : 0
|
||||
+ Text :
|
||||
+ Max. Text Size: 10
|
||||
+
|
||||
|
||||
Text tHeading
|
||||
Attributes
|
||||
ID : 2
|
||||
@@ -266,6 +312,50 @@
|
||||
@@ -310,6 +312,50 @@
|
||||
Text :
|
||||
Max. Text Size : 50
|
||||
|
||||
@@ -124,7 +176,7 @@ diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
|
||||
Picture p0
|
||||
Attributes
|
||||
ID : 1
|
||||
@@ -276,7 +366,7 @@
|
||||
@@ -320,7 +366,7 @@
|
||||
|
||||
Slider hSlider1
|
||||
Attributes
|
||||
@@ -133,7 +185,7 @@ diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
@@ -287,7 +377,7 @@
|
||||
@@ -331,7 +377,7 @@
|
||||
|
||||
Slider hSlider2
|
||||
Attributes
|
||||
@@ -142,7 +194,7 @@ diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
@@ -298,7 +388,7 @@
|
||||
@@ -342,7 +388,7 @@
|
||||
|
||||
Slider hSlider3
|
||||
Attributes
|
||||
@@ -151,7 +203,7 @@ diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
@@ -309,7 +399,29 @@
|
||||
@@ -353,7 +399,29 @@
|
||||
|
||||
Slider hSlider4
|
||||
Attributes
|
||||
@@ -182,7 +234,7 @@ diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
@@ -786,6 +898,214 @@
|
||||
@@ -830,6 +898,214 @@
|
||||
prints tSend.txt,0
|
||||
prints crcval,2
|
||||
|
||||
@@ -397,7 +449,7 @@ diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
|
||||
Dual-state Button btOnOff1
|
||||
Attributes
|
||||
ID : 23
|
||||
@@ -898,6 +1218,62 @@
|
||||
@@ -942,6 +1218,62 @@
|
||||
prints tSend.txt,0
|
||||
prints crcval,2
|
||||
|
||||
@@ -460,7 +512,7 @@ diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
|
||||
Hotspot mSpecial
|
||||
Attributes
|
||||
ID : 35
|
||||
@@ -1008,6 +1384,52 @@
|
||||
@@ -1052,6 +1384,52 @@
|
||||
page popupLight
|
||||
}
|
||||
|
||||
@@ -513,7 +565,259 @@ diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
|
||||
Timer tmSerial
|
||||
Attributes
|
||||
ID : 30
|
||||
@@ -1528,6 +1950,238 @@
|
||||
@@ -1122,7 +1500,6 @@
|
||||
vis tIcon1,0
|
||||
vis bText1,0
|
||||
vis hSlider1,0
|
||||
- vis nNum1,0
|
||||
}else
|
||||
{
|
||||
// change icon
|
||||
@@ -1146,7 +1523,6 @@
|
||||
vis btOnOff1,0
|
||||
vis bText1,0
|
||||
vis hSlider1,0
|
||||
- vis nNum1,0
|
||||
}
|
||||
if(type1.txt=="light")
|
||||
{
|
||||
@@ -1156,7 +1532,6 @@
|
||||
vis btOnOff1,1
|
||||
vis bText1,0
|
||||
vis hSlider1,0
|
||||
- vis nNum1,0
|
||||
// get Button State (optional Value)
|
||||
spstr strCommand.txt,tTmp.txt,",",8
|
||||
covx tTmp.txt,sys0,0,0
|
||||
@@ -1170,7 +1545,6 @@
|
||||
vis btOnOff1,1
|
||||
vis bText1,0
|
||||
vis hSlider1,0
|
||||
- vis nNum1,0
|
||||
// get Button State (optional Value)
|
||||
spstr strCommand.txt,tTmp.txt,",",8
|
||||
covx tTmp.txt,sys0,0,0
|
||||
@@ -1185,7 +1559,6 @@
|
||||
vis bText1,1
|
||||
tsw bText1,0
|
||||
vis hSlider1,0
|
||||
- vis nNum1,0
|
||||
bText1.pco=65535
|
||||
bText1.pco2=65535
|
||||
// get Text (optional Value)
|
||||
@@ -1200,7 +1573,6 @@
|
||||
vis bText1,1
|
||||
tsw bText1,1
|
||||
vis hSlider1,0
|
||||
- vis nNum1,0
|
||||
bText1.pco=1374
|
||||
bText1.pco2=1374
|
||||
// get Text (optional Value)
|
||||
@@ -1215,14 +1587,12 @@
|
||||
vis bText1,0
|
||||
tsw bText1,0
|
||||
vis hSlider1,1
|
||||
- vis nNum1,1
|
||||
// get config (optional Value) (use bText as variable)
|
||||
spstr strCommand.txt,bText1.txt,",",8
|
||||
//first value is current value
|
||||
spstr bText1.txt,tTmp.txt,"|",1
|
||||
covx tTmp.txt,sys0,0,0
|
||||
hSlider1.val=sys0
|
||||
- nNum1.val=sys0
|
||||
//second value is min value
|
||||
spstr bText1.txt,tTmp.txt,"|",2
|
||||
covx tTmp.txt,sys0,0,0
|
||||
@@ -1246,7 +1616,6 @@
|
||||
vis tIcon2,0
|
||||
vis bText2,0
|
||||
vis hSlider2,0
|
||||
- vis nNum2,0
|
||||
}else
|
||||
{
|
||||
// change icon
|
||||
@@ -1270,7 +1639,6 @@
|
||||
vis btOnOff2,0
|
||||
vis bText2,0
|
||||
vis hSlider2,0
|
||||
- vis nNum2,0
|
||||
}
|
||||
if(type2.txt=="light")
|
||||
{
|
||||
@@ -1280,7 +1648,6 @@
|
||||
vis btOnOff2,1
|
||||
vis bText2,0
|
||||
vis hSlider2,0
|
||||
- vis nNum2,0
|
||||
// get Button State (optional Value)
|
||||
spstr strCommand.txt,tTmp.txt,",",14
|
||||
covx tTmp.txt,sys0,0,0
|
||||
@@ -1294,7 +1661,6 @@
|
||||
vis btOnOff2,1
|
||||
vis bText2,0
|
||||
vis hSlider2,0
|
||||
- vis nNum2,0
|
||||
// get Button State (optional Value)
|
||||
spstr strCommand.txt,tTmp.txt,",",14
|
||||
covx tTmp.txt,sys0,0,0
|
||||
@@ -1309,7 +1675,6 @@
|
||||
vis bText2,1
|
||||
tsw bText2,0
|
||||
vis hSlider2,0
|
||||
- vis nNum2,0
|
||||
bText2.pco=65535
|
||||
bText2.pco2=65535
|
||||
// get Text (optional Value)
|
||||
@@ -1324,7 +1689,6 @@
|
||||
vis bText2,1
|
||||
tsw bText2,1
|
||||
vis hSlider2,0
|
||||
- vis nNum2,0
|
||||
bText2.pco=1374
|
||||
bText2.pco2=1374
|
||||
// get Text (optional Value)
|
||||
@@ -1339,14 +1703,12 @@
|
||||
vis bText2,0
|
||||
tsw bText2,0
|
||||
vis hSlider2,1
|
||||
- vis nNum2,1
|
||||
// get config (optional Value) (use bText as variable)
|
||||
spstr strCommand.txt,bText2.txt,",",14
|
||||
//first value is current value
|
||||
spstr bText2.txt,tTmp.txt,"|",1
|
||||
covx tTmp.txt,sys0,0,0
|
||||
hSlider2.val=sys0
|
||||
- nNum2.val=sys0
|
||||
//second value is min value
|
||||
spstr bText2.txt,tTmp.txt,"|",2
|
||||
covx tTmp.txt,sys0,0,0
|
||||
@@ -1370,7 +1732,6 @@
|
||||
vis tIcon3,0
|
||||
vis bText3,0
|
||||
vis hSlider3,0
|
||||
- vis nNum3,0
|
||||
}else
|
||||
{
|
||||
// change icon
|
||||
@@ -1394,7 +1755,6 @@
|
||||
vis btOnOff3,0
|
||||
vis bText3,0
|
||||
vis hSlider3,0
|
||||
- vis nNum3,0
|
||||
}
|
||||
if(type3.txt=="light")
|
||||
{
|
||||
@@ -1404,7 +1764,6 @@
|
||||
vis btOnOff3,1
|
||||
vis bText3,0
|
||||
vis hSlider3,0
|
||||
- vis nNum3,0
|
||||
// get Button State (optional Value)
|
||||
spstr strCommand.txt,tTmp.txt,",",20
|
||||
covx tTmp.txt,sys0,0,0
|
||||
@@ -1418,7 +1777,6 @@
|
||||
vis btOnOff3,1
|
||||
vis bText3,0
|
||||
vis hSlider3,0
|
||||
- vis nNum3,0
|
||||
// get Button State (optional Value)
|
||||
spstr strCommand.txt,tTmp.txt,",",20
|
||||
covx tTmp.txt,sys0,0,0
|
||||
@@ -1433,7 +1791,6 @@
|
||||
vis bText3,1
|
||||
tsw bText3,0
|
||||
vis hSlider3,0
|
||||
- vis nNum3,0
|
||||
bText3.pco=65535
|
||||
bText3.pco2=65535
|
||||
// get Text (optional Value)
|
||||
@@ -1448,7 +1805,6 @@
|
||||
vis bText3,1
|
||||
tsw bText3,1
|
||||
vis hSlider3,0
|
||||
- vis nNum3,0
|
||||
bText3.pco=1374
|
||||
bText3.pco2=1374
|
||||
// get Text (optional Value)
|
||||
@@ -1463,14 +1819,12 @@
|
||||
vis bText3,0
|
||||
tsw bText3,0
|
||||
vis hSlider3,1
|
||||
- vis nNum3,1
|
||||
// get config (optional Value) (use bText as variable)
|
||||
spstr strCommand.txt,bText3.txt,",",20
|
||||
//first value is current value
|
||||
spstr bText3.txt,tTmp.txt,"|",1
|
||||
covx tTmp.txt,sys0,0,0
|
||||
hSlider3.val=sys0
|
||||
- nNum3.val=sys0
|
||||
//second value is min value
|
||||
spstr bText3.txt,tTmp.txt,"|",2
|
||||
covx tTmp.txt,sys0,0,0
|
||||
@@ -1494,7 +1848,6 @@
|
||||
vis tIcon4,0
|
||||
vis bText4,0
|
||||
vis hSlider4,0
|
||||
- vis nNum4,0
|
||||
}else
|
||||
{
|
||||
// change icon
|
||||
@@ -1518,7 +1871,6 @@
|
||||
vis btOnOff4,0
|
||||
vis bText4,0
|
||||
vis hSlider4,0
|
||||
- vis nNum4,0
|
||||
}
|
||||
if(type4.txt=="light")
|
||||
{
|
||||
@@ -1528,7 +1880,6 @@
|
||||
vis btOnOff4,1
|
||||
vis bText4,0
|
||||
vis hSlider4,0
|
||||
- vis nNum4,0
|
||||
// get Button State (optional Value)
|
||||
spstr strCommand.txt,tTmp.txt,",",26
|
||||
covx tTmp.txt,sys0,0,0
|
||||
@@ -1542,7 +1893,6 @@
|
||||
vis btOnOff4,1
|
||||
vis bText4,0
|
||||
vis hSlider4,0
|
||||
- vis nNum4,0
|
||||
// get Button State (optional Value)
|
||||
spstr strCommand.txt,tTmp.txt,",",26
|
||||
covx tTmp.txt,sys0,0,0
|
||||
@@ -1557,7 +1907,6 @@
|
||||
vis bText4,1
|
||||
tsw bText4,0
|
||||
vis hSlider4,0
|
||||
- vis nNum4,0
|
||||
bText4.pco=65535
|
||||
bText4.pco2=65535
|
||||
// get Text (optional Value)
|
||||
@@ -1572,7 +1921,6 @@
|
||||
vis bText4,1
|
||||
tsw bText4,1
|
||||
vis hSlider4,0
|
||||
- vis nNum4,0
|
||||
bText4.pco=1374
|
||||
bText4.pco2=1374
|
||||
// get Text (optional Value)
|
||||
@@ -1587,14 +1935,12 @@
|
||||
vis bText4,0
|
||||
tsw bText4,0
|
||||
vis hSlider4,1
|
||||
- vis nNum4,1
|
||||
// get config (optional Value) (use bText as variable)
|
||||
spstr strCommand.txt,bText4.txt,",",26
|
||||
//first value is current value
|
||||
spstr bText4.txt,tTmp.txt,"|",1
|
||||
covx tTmp.txt,sys0,0,0
|
||||
hSlider4.val=sys0
|
||||
- nNum4.val=sys0
|
||||
//second value is min value
|
||||
spstr bText4.txt,tTmp.txt,"|",2
|
||||
covx tTmp.txt,sys0,0,0
|
||||
@@ -1604,6 +1950,238 @@
|
||||
covx tTmp.txt,sys0,0,0
|
||||
hSlider4.maxval=sys0
|
||||
}
|
||||
@@ -753,8 +1057,8 @@ diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
|
||||
if(tInstruction.txt=="pageType")
|
||||
{
|
||||
diff -bur HMI/n2t-out/cardMedia.txt HMI/US/portrait/n2t-out/cardMedia.txt
|
||||
--- HMI/n2t-out/cardMedia.txt 2022-03-29 08:35:50.434815150 +0000
|
||||
+++ HMI/US/portrait/n2t-out/cardMedia.txt 2022-03-29 08:35:50.850823278 +0000
|
||||
--- HMI/n2t-out/cardMedia.txt 2022-03-29 09:00:45.659455717 +0000
|
||||
+++ HMI/US/portrait/n2t-out/cardMedia.txt 2022-03-29 09:00:46.159475076 +0000
|
||||
@@ -30,21 +30,21 @@
|
||||
|
||||
Variable (string) entn
|
||||
@@ -880,8 +1184,8 @@ diff -bur HMI/n2t-out/cardMedia.txt HMI/US/portrait/n2t-out/cardMedia.txt
|
||||
Value: 0
|
||||
|
||||
diff -bur HMI/n2t-out/pageStartup.txt HMI/US/portrait/n2t-out/pageStartup.txt
|
||||
--- HMI/n2t-out/pageStartup.txt 2022-03-29 08:35:50.434815150 +0000
|
||||
+++ HMI/US/portrait/n2t-out/pageStartup.txt 2022-03-29 08:35:50.850823278 +0000
|
||||
--- HMI/n2t-out/pageStartup.txt 2022-03-29 09:00:45.659455717 +0000
|
||||
+++ HMI/US/portrait/n2t-out/pageStartup.txt 2022-03-29 09:00:46.159475076 +0000
|
||||
@@ -155,7 +155,7 @@
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
@@ -903,8 +1207,8 @@ diff -bur HMI/n2t-out/pageStartup.txt HMI/US/portrait/n2t-out/pageStartup.txt
|
||||
{
|
||||
pageIcons.tTmp1.txt=tTmp.txt
|
||||
diff -bur HMI/n2t-out/popupLight.txt HMI/US/portrait/n2t-out/popupLight.txt
|
||||
--- HMI/n2t-out/popupLight.txt 2022-03-29 08:35:50.434815150 +0000
|
||||
+++ HMI/US/portrait/n2t-out/popupLight.txt 2022-03-29 08:35:50.850823278 +0000
|
||||
--- HMI/n2t-out/popupLight.txt 2022-03-29 09:00:45.659455717 +0000
|
||||
+++ HMI/US/portrait/n2t-out/popupLight.txt 2022-03-29 09:00:46.159475076 +0000
|
||||
@@ -252,8 +252,6 @@
|
||||
|
||||
Events
|
||||
|
||||
@@ -39,6 +39,7 @@ Page cardEntities
|
||||
vis tEntity1,0
|
||||
vis bText1,0
|
||||
vis hSlider1,0
|
||||
vis nNum1,0
|
||||
//ui e2
|
||||
vis btOnOff2,0
|
||||
vis bUp2,0
|
||||
@@ -48,6 +49,7 @@ Page cardEntities
|
||||
vis tEntity2,0
|
||||
vis bText2,0
|
||||
vis hSlider2,0
|
||||
vis nNum2,0
|
||||
//ui e3
|
||||
vis btOnOff3,0
|
||||
vis bUp3,0
|
||||
@@ -57,6 +59,7 @@ Page cardEntities
|
||||
vis tEntity3,0
|
||||
vis bText3,0
|
||||
vis hSlider3,0
|
||||
vis nNum3,0
|
||||
//ui e4
|
||||
vis btOnOff4,0
|
||||
vis bUp4,0
|
||||
@@ -66,6 +69,7 @@ Page cardEntities
|
||||
vis tEntity4,0
|
||||
vis bText4,0
|
||||
vis hSlider4,0
|
||||
vis nNum4,0
|
||||
|
||||
Variable (string) strCommand
|
||||
Attributes
|
||||
@@ -130,6 +134,126 @@ Variable (string) entn4
|
||||
Text :
|
||||
Max. Text Size: 70
|
||||
|
||||
Number nNum1
|
||||
Attributes
|
||||
ID : 58
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 378
|
||||
y coordinate : 76
|
||||
Width : 46
|
||||
Height : 50
|
||||
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 : center
|
||||
Vertical Alignment : center
|
||||
Value : 0
|
||||
Significant digits shown : all
|
||||
Format : decimal
|
||||
Word wrap : enabled
|
||||
Horizontal Spacing : 0
|
||||
Vertical Spacing : 0
|
||||
|
||||
Number nNum2
|
||||
Attributes
|
||||
ID : 59
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 378
|
||||
y coordinate : 132
|
||||
Width : 46
|
||||
Height : 50
|
||||
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 : center
|
||||
Vertical Alignment : center
|
||||
Value : 0
|
||||
Significant digits shown : all
|
||||
Format : decimal
|
||||
Word wrap : enabled
|
||||
Horizontal Spacing : 0
|
||||
Vertical Spacing : 0
|
||||
|
||||
Number nNum3
|
||||
Attributes
|
||||
ID : 60
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 378
|
||||
y coordinate : 186
|
||||
Width : 45
|
||||
Height : 50
|
||||
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 : center
|
||||
Vertical Alignment : center
|
||||
Value : 0
|
||||
Significant digits shown : all
|
||||
Format : decimal
|
||||
Word wrap : enabled
|
||||
Horizontal Spacing : 0
|
||||
Vertical Spacing : 0
|
||||
|
||||
Number nNum4
|
||||
Attributes
|
||||
ID : 61
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 378
|
||||
y coordinate : 242
|
||||
Width : 44
|
||||
Height : 50
|
||||
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 : center
|
||||
Vertical Alignment : center
|
||||
Value : 0
|
||||
Significant digits shown : all
|
||||
Format : decimal
|
||||
Word wrap : enabled
|
||||
Horizontal Spacing : 0
|
||||
Vertical Spacing : 0
|
||||
|
||||
Text tHeading
|
||||
Attributes
|
||||
ID : 2
|
||||
@@ -546,8 +670,8 @@ Slider hSlider1
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 275
|
||||
y coordinate : 77
|
||||
Width : 150
|
||||
y coordinate : 76
|
||||
Width : 100
|
||||
Height : 50
|
||||
Effect : load
|
||||
Effect Priority : 0
|
||||
@@ -571,8 +695,8 @@ Slider hSlider2
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 276
|
||||
y coordinate : 133
|
||||
Width : 150
|
||||
y coordinate : 132
|
||||
Width : 100
|
||||
Height : 50
|
||||
Effect : load
|
||||
Effect Priority : 0
|
||||
@@ -596,8 +720,8 @@ Slider hSlider3
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 276
|
||||
y coordinate : 187
|
||||
Width : 150
|
||||
y coordinate : 186
|
||||
Width : 100
|
||||
Height : 50
|
||||
Effect : load
|
||||
Effect Priority : 0
|
||||
@@ -620,9 +744,9 @@ Slider hSlider4
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 275
|
||||
y coordinate : 243
|
||||
Width : 150
|
||||
x coordinate : 274
|
||||
y coordinate : 241
|
||||
Width : 100
|
||||
Height : 50
|
||||
Effect : load
|
||||
Effect Priority : 0
|
||||
@@ -1491,7 +1615,7 @@ Dual-state Button btOnOff1
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 373
|
||||
x coordinate : 372
|
||||
y coordinate : 75
|
||||
Width : 50
|
||||
Height : 50
|
||||
@@ -1883,6 +2007,7 @@ Timer tmSerial
|
||||
vis tIcon1,0
|
||||
vis bText1,0
|
||||
vis hSlider1,0
|
||||
vis nNum1,0
|
||||
}else
|
||||
{
|
||||
// change icon
|
||||
@@ -1906,6 +2031,7 @@ Timer tmSerial
|
||||
vis btOnOff1,0
|
||||
vis bText1,0
|
||||
vis hSlider1,0
|
||||
vis nNum1,0
|
||||
}
|
||||
if(type1.txt=="light")
|
||||
{
|
||||
@@ -1915,6 +2041,7 @@ Timer tmSerial
|
||||
vis btOnOff1,1
|
||||
vis bText1,0
|
||||
vis hSlider1,0
|
||||
vis nNum1,0
|
||||
// get Button State (optional Value)
|
||||
spstr strCommand.txt,tTmp.txt,",",8
|
||||
covx tTmp.txt,sys0,0,0
|
||||
@@ -1928,6 +2055,7 @@ Timer tmSerial
|
||||
vis btOnOff1,1
|
||||
vis bText1,0
|
||||
vis hSlider1,0
|
||||
vis nNum1,0
|
||||
// get Button State (optional Value)
|
||||
spstr strCommand.txt,tTmp.txt,",",8
|
||||
covx tTmp.txt,sys0,0,0
|
||||
@@ -1942,6 +2070,7 @@ Timer tmSerial
|
||||
vis bText1,1
|
||||
tsw bText1,0
|
||||
vis hSlider1,0
|
||||
vis nNum1,0
|
||||
bText1.pco=65535
|
||||
bText1.pco2=65535
|
||||
// get Text (optional Value)
|
||||
@@ -1956,6 +2085,7 @@ Timer tmSerial
|
||||
vis bText1,1
|
||||
tsw bText1,1
|
||||
vis hSlider1,0
|
||||
vis nNum1,0
|
||||
bText1.pco=1374
|
||||
bText1.pco2=1374
|
||||
// get Text (optional Value)
|
||||
@@ -1970,12 +2100,14 @@ Timer tmSerial
|
||||
vis bText1,0
|
||||
tsw bText1,0
|
||||
vis hSlider1,1
|
||||
vis nNum1,1
|
||||
// get config (optional Value) (use bText as variable)
|
||||
spstr strCommand.txt,bText1.txt,",",8
|
||||
//first value is current value
|
||||
spstr bText1.txt,tTmp.txt,"|",1
|
||||
covx tTmp.txt,sys0,0,0
|
||||
hSlider1.val=sys0
|
||||
nNum1.val=sys0
|
||||
//second value is min value
|
||||
spstr bText1.txt,tTmp.txt,"|",2
|
||||
covx tTmp.txt,sys0,0,0
|
||||
@@ -1999,6 +2131,7 @@ Timer tmSerial
|
||||
vis tIcon2,0
|
||||
vis bText2,0
|
||||
vis hSlider2,0
|
||||
vis nNum2,0
|
||||
}else
|
||||
{
|
||||
// change icon
|
||||
@@ -2022,6 +2155,7 @@ Timer tmSerial
|
||||
vis btOnOff2,0
|
||||
vis bText2,0
|
||||
vis hSlider2,0
|
||||
vis nNum2,0
|
||||
}
|
||||
if(type2.txt=="light")
|
||||
{
|
||||
@@ -2031,6 +2165,7 @@ Timer tmSerial
|
||||
vis btOnOff2,1
|
||||
vis bText2,0
|
||||
vis hSlider2,0
|
||||
vis nNum2,0
|
||||
// get Button State (optional Value)
|
||||
spstr strCommand.txt,tTmp.txt,",",14
|
||||
covx tTmp.txt,sys0,0,0
|
||||
@@ -2044,6 +2179,7 @@ Timer tmSerial
|
||||
vis btOnOff2,1
|
||||
vis bText2,0
|
||||
vis hSlider2,0
|
||||
vis nNum2,0
|
||||
// get Button State (optional Value)
|
||||
spstr strCommand.txt,tTmp.txt,",",14
|
||||
covx tTmp.txt,sys0,0,0
|
||||
@@ -2058,6 +2194,7 @@ Timer tmSerial
|
||||
vis bText2,1
|
||||
tsw bText2,0
|
||||
vis hSlider2,0
|
||||
vis nNum2,0
|
||||
bText2.pco=65535
|
||||
bText2.pco2=65535
|
||||
// get Text (optional Value)
|
||||
@@ -2072,6 +2209,7 @@ Timer tmSerial
|
||||
vis bText2,1
|
||||
tsw bText2,1
|
||||
vis hSlider2,0
|
||||
vis nNum2,0
|
||||
bText2.pco=1374
|
||||
bText2.pco2=1374
|
||||
// get Text (optional Value)
|
||||
@@ -2086,12 +2224,14 @@ Timer tmSerial
|
||||
vis bText2,0
|
||||
tsw bText2,0
|
||||
vis hSlider2,1
|
||||
vis nNum2,1
|
||||
// get config (optional Value) (use bText as variable)
|
||||
spstr strCommand.txt,bText2.txt,",",14
|
||||
//first value is current value
|
||||
spstr bText2.txt,tTmp.txt,"|",1
|
||||
covx tTmp.txt,sys0,0,0
|
||||
hSlider2.val=sys0
|
||||
nNum2.val=sys0
|
||||
//second value is min value
|
||||
spstr bText2.txt,tTmp.txt,"|",2
|
||||
covx tTmp.txt,sys0,0,0
|
||||
@@ -2115,6 +2255,7 @@ Timer tmSerial
|
||||
vis tIcon3,0
|
||||
vis bText3,0
|
||||
vis hSlider3,0
|
||||
vis nNum3,0
|
||||
}else
|
||||
{
|
||||
// change icon
|
||||
@@ -2138,6 +2279,7 @@ Timer tmSerial
|
||||
vis btOnOff3,0
|
||||
vis bText3,0
|
||||
vis hSlider3,0
|
||||
vis nNum3,0
|
||||
}
|
||||
if(type3.txt=="light")
|
||||
{
|
||||
@@ -2147,6 +2289,7 @@ Timer tmSerial
|
||||
vis btOnOff3,1
|
||||
vis bText3,0
|
||||
vis hSlider3,0
|
||||
vis nNum3,0
|
||||
// get Button State (optional Value)
|
||||
spstr strCommand.txt,tTmp.txt,",",20
|
||||
covx tTmp.txt,sys0,0,0
|
||||
@@ -2160,6 +2303,7 @@ Timer tmSerial
|
||||
vis btOnOff3,1
|
||||
vis bText3,0
|
||||
vis hSlider3,0
|
||||
vis nNum3,0
|
||||
// get Button State (optional Value)
|
||||
spstr strCommand.txt,tTmp.txt,",",20
|
||||
covx tTmp.txt,sys0,0,0
|
||||
@@ -2174,6 +2318,7 @@ Timer tmSerial
|
||||
vis bText3,1
|
||||
tsw bText3,0
|
||||
vis hSlider3,0
|
||||
vis nNum3,0
|
||||
bText3.pco=65535
|
||||
bText3.pco2=65535
|
||||
// get Text (optional Value)
|
||||
@@ -2188,6 +2333,7 @@ Timer tmSerial
|
||||
vis bText3,1
|
||||
tsw bText3,1
|
||||
vis hSlider3,0
|
||||
vis nNum3,0
|
||||
bText3.pco=1374
|
||||
bText3.pco2=1374
|
||||
// get Text (optional Value)
|
||||
@@ -2202,12 +2348,14 @@ Timer tmSerial
|
||||
vis bText3,0
|
||||
tsw bText3,0
|
||||
vis hSlider3,1
|
||||
vis nNum3,1
|
||||
// get config (optional Value) (use bText as variable)
|
||||
spstr strCommand.txt,bText3.txt,",",20
|
||||
//first value is current value
|
||||
spstr bText3.txt,tTmp.txt,"|",1
|
||||
covx tTmp.txt,sys0,0,0
|
||||
hSlider3.val=sys0
|
||||
nNum3.val=sys0
|
||||
//second value is min value
|
||||
spstr bText3.txt,tTmp.txt,"|",2
|
||||
covx tTmp.txt,sys0,0,0
|
||||
@@ -2231,6 +2379,7 @@ Timer tmSerial
|
||||
vis tIcon4,0
|
||||
vis bText4,0
|
||||
vis hSlider4,0
|
||||
vis nNum4,0
|
||||
}else
|
||||
{
|
||||
// change icon
|
||||
@@ -2254,6 +2403,7 @@ Timer tmSerial
|
||||
vis btOnOff4,0
|
||||
vis bText4,0
|
||||
vis hSlider4,0
|
||||
vis nNum4,0
|
||||
}
|
||||
if(type4.txt=="light")
|
||||
{
|
||||
@@ -2263,6 +2413,7 @@ Timer tmSerial
|
||||
vis btOnOff4,1
|
||||
vis bText4,0
|
||||
vis hSlider4,0
|
||||
vis nNum4,0
|
||||
// get Button State (optional Value)
|
||||
spstr strCommand.txt,tTmp.txt,",",26
|
||||
covx tTmp.txt,sys0,0,0
|
||||
@@ -2276,6 +2427,7 @@ Timer tmSerial
|
||||
vis btOnOff4,1
|
||||
vis bText4,0
|
||||
vis hSlider4,0
|
||||
vis nNum4,0
|
||||
// get Button State (optional Value)
|
||||
spstr strCommand.txt,tTmp.txt,",",26
|
||||
covx tTmp.txt,sys0,0,0
|
||||
@@ -2290,6 +2442,7 @@ Timer tmSerial
|
||||
vis bText4,1
|
||||
tsw bText4,0
|
||||
vis hSlider4,0
|
||||
vis nNum4,0
|
||||
bText4.pco=65535
|
||||
bText4.pco2=65535
|
||||
// get Text (optional Value)
|
||||
@@ -2304,6 +2457,7 @@ Timer tmSerial
|
||||
vis bText4,1
|
||||
tsw bText4,1
|
||||
vis hSlider4,0
|
||||
vis nNum4,0
|
||||
bText4.pco=1374
|
||||
bText4.pco2=1374
|
||||
// get Text (optional Value)
|
||||
@@ -2318,12 +2472,14 @@ Timer tmSerial
|
||||
vis bText4,0
|
||||
tsw bText4,0
|
||||
vis hSlider4,1
|
||||
vis nNum4,1
|
||||
// get config (optional Value) (use bText as variable)
|
||||
spstr strCommand.txt,bText4.txt,",",26
|
||||
//first value is current value
|
||||
spstr bText4.txt,tTmp.txt,"|",1
|
||||
covx tTmp.txt,sys0,0,0
|
||||
hSlider4.val=sys0
|
||||
nNum4.val=sys0
|
||||
//second value is min value
|
||||
spstr bText4.txt,tTmp.txt,"|",2
|
||||
covx tTmp.txt,sys0,0,0
|
||||
|
||||
@@ -51,12 +51,12 @@ screensaver
|
||||
183 Line(s) of event code
|
||||
133 Unique line(s) of event code
|
||||
cardEntities
|
||||
58 Component(s)
|
||||
842 Line(s) of event code
|
||||
360 Unique line(s) of event code
|
||||
62 Component(s)
|
||||
882 Line(s) of event code
|
||||
380 Unique line(s) of event code
|
||||
|
||||
Total
|
||||
13 Page(s)
|
||||
349 Component(s)
|
||||
3275 Line(s) of event code
|
||||
882 Unique line(s) of event code
|
||||
353 Component(s)
|
||||
3315 Line(s) of event code
|
||||
902 Unique line(s) of event code
|
||||
|
||||
@@ -32,6 +32,7 @@ Page cardEntities
|
||||
vis tEntity1,0
|
||||
vis bText1,0
|
||||
vis hSlider1,0
|
||||
vis nNum1,0
|
||||
//ui e2
|
||||
vis btOnOff2,0
|
||||
vis bUp2,0
|
||||
@@ -41,6 +42,7 @@ Page cardEntities
|
||||
vis tEntity2,0
|
||||
vis bText2,0
|
||||
vis hSlider2,0
|
||||
vis nNum2,0
|
||||
//ui e3
|
||||
vis btOnOff3,0
|
||||
vis bUp3,0
|
||||
@@ -50,6 +52,7 @@ Page cardEntities
|
||||
vis tEntity3,0
|
||||
vis bText3,0
|
||||
vis hSlider3,0
|
||||
vis nNum3,0
|
||||
//ui e4
|
||||
vis btOnOff4,0
|
||||
vis bUp4,0
|
||||
@@ -59,6 +62,7 @@ Page cardEntities
|
||||
vis tEntity4,0
|
||||
vis bText4,0
|
||||
vis hSlider4,0
|
||||
vis nNum4,0
|
||||
|
||||
Variable (string) strCommand
|
||||
Attributes
|
||||
@@ -123,6 +127,46 @@ Variable (string) entn4
|
||||
Text :
|
||||
Max. Text Size: 70
|
||||
|
||||
Number nNum1
|
||||
Attributes
|
||||
ID : 58
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Associated Keyboard : none
|
||||
Value : 0
|
||||
|
||||
Number nNum2
|
||||
Attributes
|
||||
ID : 59
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Associated Keyboard : none
|
||||
Value : 0
|
||||
|
||||
Number nNum3
|
||||
Attributes
|
||||
ID : 60
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Associated Keyboard : none
|
||||
Value : 0
|
||||
|
||||
Number nNum4
|
||||
Attributes
|
||||
ID : 61
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Associated Keyboard : none
|
||||
Value : 0
|
||||
|
||||
Text tHeading
|
||||
Attributes
|
||||
ID : 2
|
||||
@@ -1078,6 +1122,7 @@ Timer tmSerial
|
||||
vis tIcon1,0
|
||||
vis bText1,0
|
||||
vis hSlider1,0
|
||||
vis nNum1,0
|
||||
}else
|
||||
{
|
||||
// change icon
|
||||
@@ -1101,6 +1146,7 @@ Timer tmSerial
|
||||
vis btOnOff1,0
|
||||
vis bText1,0
|
||||
vis hSlider1,0
|
||||
vis nNum1,0
|
||||
}
|
||||
if(type1.txt=="light")
|
||||
{
|
||||
@@ -1110,6 +1156,7 @@ Timer tmSerial
|
||||
vis btOnOff1,1
|
||||
vis bText1,0
|
||||
vis hSlider1,0
|
||||
vis nNum1,0
|
||||
// get Button State (optional Value)
|
||||
spstr strCommand.txt,tTmp.txt,",",8
|
||||
covx tTmp.txt,sys0,0,0
|
||||
@@ -1123,6 +1170,7 @@ Timer tmSerial
|
||||
vis btOnOff1,1
|
||||
vis bText1,0
|
||||
vis hSlider1,0
|
||||
vis nNum1,0
|
||||
// get Button State (optional Value)
|
||||
spstr strCommand.txt,tTmp.txt,",",8
|
||||
covx tTmp.txt,sys0,0,0
|
||||
@@ -1137,6 +1185,7 @@ Timer tmSerial
|
||||
vis bText1,1
|
||||
tsw bText1,0
|
||||
vis hSlider1,0
|
||||
vis nNum1,0
|
||||
bText1.pco=65535
|
||||
bText1.pco2=65535
|
||||
// get Text (optional Value)
|
||||
@@ -1151,6 +1200,7 @@ Timer tmSerial
|
||||
vis bText1,1
|
||||
tsw bText1,1
|
||||
vis hSlider1,0
|
||||
vis nNum1,0
|
||||
bText1.pco=1374
|
||||
bText1.pco2=1374
|
||||
// get Text (optional Value)
|
||||
@@ -1165,12 +1215,14 @@ Timer tmSerial
|
||||
vis bText1,0
|
||||
tsw bText1,0
|
||||
vis hSlider1,1
|
||||
vis nNum1,1
|
||||
// get config (optional Value) (use bText as variable)
|
||||
spstr strCommand.txt,bText1.txt,",",8
|
||||
//first value is current value
|
||||
spstr bText1.txt,tTmp.txt,"|",1
|
||||
covx tTmp.txt,sys0,0,0
|
||||
hSlider1.val=sys0
|
||||
nNum1.val=sys0
|
||||
//second value is min value
|
||||
spstr bText1.txt,tTmp.txt,"|",2
|
||||
covx tTmp.txt,sys0,0,0
|
||||
@@ -1194,6 +1246,7 @@ Timer tmSerial
|
||||
vis tIcon2,0
|
||||
vis bText2,0
|
||||
vis hSlider2,0
|
||||
vis nNum2,0
|
||||
}else
|
||||
{
|
||||
// change icon
|
||||
@@ -1217,6 +1270,7 @@ Timer tmSerial
|
||||
vis btOnOff2,0
|
||||
vis bText2,0
|
||||
vis hSlider2,0
|
||||
vis nNum2,0
|
||||
}
|
||||
if(type2.txt=="light")
|
||||
{
|
||||
@@ -1226,6 +1280,7 @@ Timer tmSerial
|
||||
vis btOnOff2,1
|
||||
vis bText2,0
|
||||
vis hSlider2,0
|
||||
vis nNum2,0
|
||||
// get Button State (optional Value)
|
||||
spstr strCommand.txt,tTmp.txt,",",14
|
||||
covx tTmp.txt,sys0,0,0
|
||||
@@ -1239,6 +1294,7 @@ Timer tmSerial
|
||||
vis btOnOff2,1
|
||||
vis bText2,0
|
||||
vis hSlider2,0
|
||||
vis nNum2,0
|
||||
// get Button State (optional Value)
|
||||
spstr strCommand.txt,tTmp.txt,",",14
|
||||
covx tTmp.txt,sys0,0,0
|
||||
@@ -1253,6 +1309,7 @@ Timer tmSerial
|
||||
vis bText2,1
|
||||
tsw bText2,0
|
||||
vis hSlider2,0
|
||||
vis nNum2,0
|
||||
bText2.pco=65535
|
||||
bText2.pco2=65535
|
||||
// get Text (optional Value)
|
||||
@@ -1267,6 +1324,7 @@ Timer tmSerial
|
||||
vis bText2,1
|
||||
tsw bText2,1
|
||||
vis hSlider2,0
|
||||
vis nNum2,0
|
||||
bText2.pco=1374
|
||||
bText2.pco2=1374
|
||||
// get Text (optional Value)
|
||||
@@ -1281,12 +1339,14 @@ Timer tmSerial
|
||||
vis bText2,0
|
||||
tsw bText2,0
|
||||
vis hSlider2,1
|
||||
vis nNum2,1
|
||||
// get config (optional Value) (use bText as variable)
|
||||
spstr strCommand.txt,bText2.txt,",",14
|
||||
//first value is current value
|
||||
spstr bText2.txt,tTmp.txt,"|",1
|
||||
covx tTmp.txt,sys0,0,0
|
||||
hSlider2.val=sys0
|
||||
nNum2.val=sys0
|
||||
//second value is min value
|
||||
spstr bText2.txt,tTmp.txt,"|",2
|
||||
covx tTmp.txt,sys0,0,0
|
||||
@@ -1310,6 +1370,7 @@ Timer tmSerial
|
||||
vis tIcon3,0
|
||||
vis bText3,0
|
||||
vis hSlider3,0
|
||||
vis nNum3,0
|
||||
}else
|
||||
{
|
||||
// change icon
|
||||
@@ -1333,6 +1394,7 @@ Timer tmSerial
|
||||
vis btOnOff3,0
|
||||
vis bText3,0
|
||||
vis hSlider3,0
|
||||
vis nNum3,0
|
||||
}
|
||||
if(type3.txt=="light")
|
||||
{
|
||||
@@ -1342,6 +1404,7 @@ Timer tmSerial
|
||||
vis btOnOff3,1
|
||||
vis bText3,0
|
||||
vis hSlider3,0
|
||||
vis nNum3,0
|
||||
// get Button State (optional Value)
|
||||
spstr strCommand.txt,tTmp.txt,",",20
|
||||
covx tTmp.txt,sys0,0,0
|
||||
@@ -1355,6 +1418,7 @@ Timer tmSerial
|
||||
vis btOnOff3,1
|
||||
vis bText3,0
|
||||
vis hSlider3,0
|
||||
vis nNum3,0
|
||||
// get Button State (optional Value)
|
||||
spstr strCommand.txt,tTmp.txt,",",20
|
||||
covx tTmp.txt,sys0,0,0
|
||||
@@ -1369,6 +1433,7 @@ Timer tmSerial
|
||||
vis bText3,1
|
||||
tsw bText3,0
|
||||
vis hSlider3,0
|
||||
vis nNum3,0
|
||||
bText3.pco=65535
|
||||
bText3.pco2=65535
|
||||
// get Text (optional Value)
|
||||
@@ -1383,6 +1448,7 @@ Timer tmSerial
|
||||
vis bText3,1
|
||||
tsw bText3,1
|
||||
vis hSlider3,0
|
||||
vis nNum3,0
|
||||
bText3.pco=1374
|
||||
bText3.pco2=1374
|
||||
// get Text (optional Value)
|
||||
@@ -1397,12 +1463,14 @@ Timer tmSerial
|
||||
vis bText3,0
|
||||
tsw bText3,0
|
||||
vis hSlider3,1
|
||||
vis nNum3,1
|
||||
// get config (optional Value) (use bText as variable)
|
||||
spstr strCommand.txt,bText3.txt,",",20
|
||||
//first value is current value
|
||||
spstr bText3.txt,tTmp.txt,"|",1
|
||||
covx tTmp.txt,sys0,0,0
|
||||
hSlider3.val=sys0
|
||||
nNum3.val=sys0
|
||||
//second value is min value
|
||||
spstr bText3.txt,tTmp.txt,"|",2
|
||||
covx tTmp.txt,sys0,0,0
|
||||
@@ -1426,6 +1494,7 @@ Timer tmSerial
|
||||
vis tIcon4,0
|
||||
vis bText4,0
|
||||
vis hSlider4,0
|
||||
vis nNum4,0
|
||||
}else
|
||||
{
|
||||
// change icon
|
||||
@@ -1449,6 +1518,7 @@ Timer tmSerial
|
||||
vis btOnOff4,0
|
||||
vis bText4,0
|
||||
vis hSlider4,0
|
||||
vis nNum4,0
|
||||
}
|
||||
if(type4.txt=="light")
|
||||
{
|
||||
@@ -1458,6 +1528,7 @@ Timer tmSerial
|
||||
vis btOnOff4,1
|
||||
vis bText4,0
|
||||
vis hSlider4,0
|
||||
vis nNum4,0
|
||||
// get Button State (optional Value)
|
||||
spstr strCommand.txt,tTmp.txt,",",26
|
||||
covx tTmp.txt,sys0,0,0
|
||||
@@ -1471,6 +1542,7 @@ Timer tmSerial
|
||||
vis btOnOff4,1
|
||||
vis bText4,0
|
||||
vis hSlider4,0
|
||||
vis nNum4,0
|
||||
// get Button State (optional Value)
|
||||
spstr strCommand.txt,tTmp.txt,",",26
|
||||
covx tTmp.txt,sys0,0,0
|
||||
@@ -1485,6 +1557,7 @@ Timer tmSerial
|
||||
vis bText4,1
|
||||
tsw bText4,0
|
||||
vis hSlider4,0
|
||||
vis nNum4,0
|
||||
bText4.pco=65535
|
||||
bText4.pco2=65535
|
||||
// get Text (optional Value)
|
||||
@@ -1499,6 +1572,7 @@ Timer tmSerial
|
||||
vis bText4,1
|
||||
tsw bText4,1
|
||||
vis hSlider4,0
|
||||
vis nNum4,0
|
||||
bText4.pco=1374
|
||||
bText4.pco2=1374
|
||||
// get Text (optional Value)
|
||||
@@ -1513,12 +1587,14 @@ Timer tmSerial
|
||||
vis bText4,0
|
||||
tsw bText4,0
|
||||
vis hSlider4,1
|
||||
vis nNum4,1
|
||||
// get config (optional Value) (use bText as variable)
|
||||
spstr strCommand.txt,bText4.txt,",",26
|
||||
//first value is current value
|
||||
spstr bText4.txt,tTmp.txt,"|",1
|
||||
covx tTmp.txt,sys0,0,0
|
||||
hSlider4.val=sys0
|
||||
nNum4.val=sys0
|
||||
//second value is min value
|
||||
spstr bText4.txt,tTmp.txt,"|",2
|
||||
covx tTmp.txt,sys0,0,0
|
||||
|
||||
Reference in New Issue
Block a user