changed shutter icon command format (add nextion2text)

This commit is contained in:
joBr99
2022-05-22 14:52:30 +00:00
committed by github-actions[bot]
parent 11edb0b358
commit 2bb857c7b6
18 changed files with 442 additions and 338 deletions

View File

@@ -1,6 +1,6 @@
diff -bur HMI/n2t-out/Program.s.txt HMI/US/landscape/n2t-out/Program.s.txt diff -bur HMI/n2t-out/Program.s.txt HMI/US/landscape/n2t-out/Program.s.txt
--- HMI/n2t-out/Program.s.txt 2022-05-22 08:56:32.972794177 +0000 --- HMI/n2t-out/Program.s.txt 2022-05-22 14:52:29.008661186 +0000
+++ HMI/US/landscape/n2t-out/Program.s.txt 2022-05-22 08:56:34.028800991 +0000 +++ HMI/US/landscape/n2t-out/Program.s.txt 2022-05-22 14:52:29.872661064 +0000
@@ -11,6 +11,4 @@ @@ -11,6 +11,4 @@
// dim value // dim value
int dimValue=40 int dimValue=40
@@ -9,8 +9,8 @@ diff -bur HMI/n2t-out/Program.s.txt HMI/US/landscape/n2t-out/Program.s.txt
- lcd_dev fffb 0002 0000 0020 - lcd_dev fffb 0002 0000 0020
page pageStartup page pageStartup
diff -bur HMI/n2t-out/pageStartup.txt HMI/US/landscape/n2t-out/pageStartup.txt diff -bur HMI/n2t-out/pageStartup.txt HMI/US/landscape/n2t-out/pageStartup.txt
--- HMI/n2t-out/pageStartup.txt 2022-05-22 08:56:32.972794177 +0000 --- HMI/n2t-out/pageStartup.txt 2022-05-22 14:52:29.008661186 +0000
+++ HMI/US/landscape/n2t-out/pageStartup.txt 2022-05-22 08:56:34.032801017 +0000 +++ HMI/US/landscape/n2t-out/pageStartup.txt 2022-05-22 14:52:29.872661064 +0000
@@ -177,7 +177,7 @@ @@ -177,7 +177,7 @@
recmod=1 recmod=1
bauds=115200 bauds=115200

View File

@@ -2252,39 +2252,42 @@ Timer tmSerial
// get Button State (optional Value) // get Button State (optional Value)
spstr strCommand.txt,tId.txt,"~",8 spstr strCommand.txt,tId.txt,"~",8
// up button // up button
spstr tId.txt,tTmp.txt,"|",0 spstr tId.txt,tTmp.txt,"|",3
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bUp1.pco=27501 bUp1.pco=27501
spstr tId.txt,bUp1.txt,"|",0
tsw bUp1,0 tsw bUp1,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bUp1.pco=65535 bUp1.pco=65535
bUp1.txt=tTmp.txt spstr tId.txt,bUp1.txt,"|",0
tsw bUp1,1 tsw bUp1,1
} }
// stop button // stop button
spstr tId.txt,tTmp.txt,"|",1 spstr tId.txt,tTmp.txt,"|",4
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bStop1.pco=27501 bStop1.pco=27501
spstr tId.txt,bStop1.txt,"|",1
tsw bStop1,0 tsw bStop1,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bStop1.pco=65535 bStop1.pco=65535
bStop1.txt=tTmp.txt spstr tId.txt,bStop1.txt,"|",1
tsw bStop1,1 tsw bStop1,1
} }
// down button // down button
spstr tId.txt,tTmp.txt,"|",2 spstr tId.txt,tTmp.txt,"|",5
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bDown1.pco=27501 bDown1.pco=27501
spstr tId.txt,bDown1.txt,"|",2
tsw bDown1,0 tsw bDown1,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bDown1.pco=65535 bDown1.pco=65535
bDown1.txt=tTmp.txt spstr tId.txt,bDown1.txt,"|",2
tsw bDown1,1 tsw bDown1,1
} }
} }
@@ -2412,39 +2415,42 @@ Timer tmSerial
// get Button State (optional Value) // get Button State (optional Value)
spstr strCommand.txt,tId.txt,"~",14 spstr strCommand.txt,tId.txt,"~",14
// up button // up button
spstr tId.txt,tTmp.txt,"|",0 spstr tId.txt,tTmp.txt,"|",3
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bUp2.pco=27501 bUp2.pco=27501
spstr tId.txt,bUp2.txt,"|",0
tsw bUp2,0 tsw bUp2,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bUp2.pco=65535 bUp2.pco=65535
bUp2.txt=tTmp.txt spstr tId.txt,bUp2.txt,"|",0
tsw bUp2,1 tsw bUp2,1
} }
// stop button // stop button
spstr tId.txt,tTmp.txt,"|",1 spstr tId.txt,tTmp.txt,"|",4
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bStop2.pco=27501 bStop2.pco=27501
spstr tId.txt,bStop2.txt,"|",1
tsw bStop2,0 tsw bStop2,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bStop2.pco=65535 bStop2.pco=65535
bStop2.txt=tTmp.txt spstr tId.txt,bStop2.txt,"|",1
tsw bStop2,1 tsw bStop2,1
} }
// down button // down button
spstr tId.txt,tTmp.txt,"|",2 spstr tId.txt,tTmp.txt,"|",5
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bDown2.pco=27501 bDown2.pco=27501
spstr tId.txt,bDown2.txt,"|",2
tsw bDown2,0 tsw bDown2,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bDown2.pco=65535 bDown2.pco=65535
bDown2.txt=tTmp.txt spstr tId.txt,bDown2.txt,"|",2
tsw bDown2,1 tsw bDown2,1
} }
} }
@@ -2572,39 +2578,42 @@ Timer tmSerial
// get Button State (optional Value) // get Button State (optional Value)
spstr strCommand.txt,tId.txt,"~",20 spstr strCommand.txt,tId.txt,"~",20
// up button // up button
spstr tId.txt,tTmp.txt,"|",0 spstr tId.txt,tTmp.txt,"|",3
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bUp3.pco=27501 bUp3.pco=27501
spstr tId.txt,bUp3.txt,"|",0
tsw bUp3,0 tsw bUp3,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bUp3.pco=65535 bUp3.pco=65535
bUp3.txt=tTmp.txt spstr tId.txt,bUp3.txt,"|",0
tsw bUp3,1 tsw bUp3,1
} }
// stop button // stop button
spstr tId.txt,tTmp.txt,"|",1 spstr tId.txt,tTmp.txt,"|",4
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bStop3.pco=27501 bStop3.pco=27501
spstr tId.txt,bStop3.txt,"|",1
tsw bStop3,0 tsw bStop3,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bStop3.pco=65535 bStop3.pco=65535
bStop3.txt=tTmp.txt spstr tId.txt,bStop3.txt,"|",1
tsw bStop3,1 tsw bStop3,1
} }
// down button // down button
spstr tId.txt,tTmp.txt,"|",2 spstr tId.txt,tTmp.txt,"|",5
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bDown3.pco=27501 bDown3.pco=27501
spstr tId.txt,bDown3.txt,"|",2
tsw bDown3,0 tsw bDown3,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bDown3.pco=65535 bDown3.pco=65535
bDown3.txt=tTmp.txt spstr tId.txt,bDown3.txt,"|",2
tsw bDown3,1 tsw bDown3,1
} }
} }
@@ -2732,39 +2741,42 @@ Timer tmSerial
// get Button State (optional Value) // get Button State (optional Value)
spstr strCommand.txt,tId.txt,"~",26 spstr strCommand.txt,tId.txt,"~",26
// up button // up button
spstr tId.txt,tTmp.txt,"|",0 spstr tId.txt,tTmp.txt,"|",3
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bUp4.pco=27501 bUp4.pco=27501
spstr tId.txt,bUp4.txt,"|",0
tsw bUp4,0 tsw bUp4,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bUp4.pco=65535 bUp4.pco=65535
bUp4.txt=tTmp.txt spstr tId.txt,bUp4.txt,"|",0
tsw bUp4,1 tsw bUp4,1
} }
// stop button // stop button
spstr tId.txt,tTmp.txt,"|",1 spstr tId.txt,tTmp.txt,"|",4
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bStop4.pco=27501 bStop4.pco=27501
spstr tId.txt,bStop4.txt,"|",1
tsw bStop4,0 tsw bStop4,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bStop4.pco=65535 bStop4.pco=65535
bStop4.txt=tTmp.txt spstr tId.txt,bStop4.txt,"|",1
tsw bStop4,1 tsw bStop4,1
} }
// down button // down button
spstr tId.txt,tTmp.txt,"|",2 spstr tId.txt,tTmp.txt,"|",5
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bDown4.pco=27501 bDown4.pco=27501
spstr tId.txt,bDown4.txt,"|",2
tsw bDown4,0 tsw bDown4,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bDown4.pco=65535 bDown4.pco=65535
bDown4.txt=tTmp.txt spstr tId.txt,bDown4.txt,"|",2
tsw bDown4,1 tsw bDown4,1
} }
} }

View File

@@ -28,7 +28,7 @@ cardAlarm
224 Unique line(s) of event code 224 Unique line(s) of event code
popupShutter popupShutter
20 Component(s) 20 Component(s)
241 Line(s) of event code 244 Line(s) of event code
138 Unique line(s) of event code 138 Unique line(s) of event code
popupLight popupLight
27 Component(s) 27 Component(s)
@@ -52,11 +52,11 @@ cardQR
205 Unique line(s) of event code 205 Unique line(s) of event code
cardEntities cardEntities
65 Component(s) 65 Component(s)
1121 Line(s) of event code 1133 Line(s) of event code
491 Unique line(s) of event code 491 Unique line(s) of event code
Total Total
13 Page(s) 13 Page(s)
402 Component(s) 402 Component(s)
4443 Line(s) of event code 4458 Line(s) of event code
1167 Unique line(s) of event code 1167 Unique line(s) of event code

View File

@@ -646,38 +646,41 @@ Timer tmSerial
tIcon1.txt=tTmp.txt tIcon1.txt=tTmp.txt
} }
// set icon bUp // set icon bUp
spstr strCommand.txt,tTmp.txt,"~",5 spstr strCommand.txt,tTmp.txt,"~",8
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
tsw bUp1,0 tsw bUp1,0
spstr strCommand.txt,bUp1.txt,"~",5
bUp1.pco=27501 bUp1.pco=27501
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bUp1.txt=tTmp.txt spstr strCommand.txt,bUp1.txt,"~",5
tsw bUp1,1 tsw bUp1,1
bUp1.pco=65535 bUp1.pco=65535
} }
// set icon bStop // set icon bStop
spstr strCommand.txt,tTmp.txt,"~",6 spstr strCommand.txt,tTmp.txt,"~",9
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
tsw bStop1,0 tsw bStop1,0
spstr strCommand.txt,bStop1.txt,"~",6
bStop1.pco=27501 bStop1.pco=27501
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bStop1.txt=tTmp.txt spstr strCommand.txt,bStop1.txt,"~",6
tsw bStop1,1 tsw bStop1,1
bStop1.pco=65535 bStop1.pco=65535
} }
// set icon bDown // set icon bDown
spstr strCommand.txt,tTmp.txt,"~",7 spstr strCommand.txt,tTmp.txt,"~",10
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
spstr strCommand.txt,bDown1.txt,"~",7
tsw bDown1,0 tsw bDown1,0
bDown1.pco=27501 bDown1.pco=27501
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bDown1.txt=tTmp.txt spstr strCommand.txt,bDown1.txt,"~",7
tsw bDown1,1 tsw bDown1,1
bDown1.pco=65535 bDown1.pco=65535
} }

View File

@@ -1280,39 +1280,42 @@ Timer tmSerial
// get Button State (optional Value) // get Button State (optional Value)
spstr strCommand.txt,tId.txt,"~",8 spstr strCommand.txt,tId.txt,"~",8
// up button // up button
spstr tId.txt,tTmp.txt,"|",0 spstr tId.txt,tTmp.txt,"|",3
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bUp1.pco=27501 bUp1.pco=27501
spstr tId.txt,bUp1.txt,"|",0
tsw bUp1,0 tsw bUp1,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bUp1.pco=65535 bUp1.pco=65535
bUp1.txt=tTmp.txt spstr tId.txt,bUp1.txt,"|",0
tsw bUp1,1 tsw bUp1,1
} }
// stop button // stop button
spstr tId.txt,tTmp.txt,"|",1 spstr tId.txt,tTmp.txt,"|",4
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bStop1.pco=27501 bStop1.pco=27501
spstr tId.txt,bStop1.txt,"|",1
tsw bStop1,0 tsw bStop1,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bStop1.pco=65535 bStop1.pco=65535
bStop1.txt=tTmp.txt spstr tId.txt,bStop1.txt,"|",1
tsw bStop1,1 tsw bStop1,1
} }
// down button // down button
spstr tId.txt,tTmp.txt,"|",2 spstr tId.txt,tTmp.txt,"|",5
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bDown1.pco=27501 bDown1.pco=27501
spstr tId.txt,bDown1.txt,"|",2
tsw bDown1,0 tsw bDown1,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bDown1.pco=65535 bDown1.pco=65535
bDown1.txt=tTmp.txt spstr tId.txt,bDown1.txt,"|",2
tsw bDown1,1 tsw bDown1,1
} }
} }
@@ -1440,39 +1443,42 @@ Timer tmSerial
// get Button State (optional Value) // get Button State (optional Value)
spstr strCommand.txt,tId.txt,"~",14 spstr strCommand.txt,tId.txt,"~",14
// up button // up button
spstr tId.txt,tTmp.txt,"|",0 spstr tId.txt,tTmp.txt,"|",3
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bUp2.pco=27501 bUp2.pco=27501
spstr tId.txt,bUp2.txt,"|",0
tsw bUp2,0 tsw bUp2,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bUp2.pco=65535 bUp2.pco=65535
bUp2.txt=tTmp.txt spstr tId.txt,bUp2.txt,"|",0
tsw bUp2,1 tsw bUp2,1
} }
// stop button // stop button
spstr tId.txt,tTmp.txt,"|",1 spstr tId.txt,tTmp.txt,"|",4
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bStop2.pco=27501 bStop2.pco=27501
spstr tId.txt,bStop2.txt,"|",1
tsw bStop2,0 tsw bStop2,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bStop2.pco=65535 bStop2.pco=65535
bStop2.txt=tTmp.txt spstr tId.txt,bStop2.txt,"|",1
tsw bStop2,1 tsw bStop2,1
} }
// down button // down button
spstr tId.txt,tTmp.txt,"|",2 spstr tId.txt,tTmp.txt,"|",5
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bDown2.pco=27501 bDown2.pco=27501
spstr tId.txt,bDown2.txt,"|",2
tsw bDown2,0 tsw bDown2,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bDown2.pco=65535 bDown2.pco=65535
bDown2.txt=tTmp.txt spstr tId.txt,bDown2.txt,"|",2
tsw bDown2,1 tsw bDown2,1
} }
} }
@@ -1600,39 +1606,42 @@ Timer tmSerial
// get Button State (optional Value) // get Button State (optional Value)
spstr strCommand.txt,tId.txt,"~",20 spstr strCommand.txt,tId.txt,"~",20
// up button // up button
spstr tId.txt,tTmp.txt,"|",0 spstr tId.txt,tTmp.txt,"|",3
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bUp3.pco=27501 bUp3.pco=27501
spstr tId.txt,bUp3.txt,"|",0
tsw bUp3,0 tsw bUp3,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bUp3.pco=65535 bUp3.pco=65535
bUp3.txt=tTmp.txt spstr tId.txt,bUp3.txt,"|",0
tsw bUp3,1 tsw bUp3,1
} }
// stop button // stop button
spstr tId.txt,tTmp.txt,"|",1 spstr tId.txt,tTmp.txt,"|",4
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bStop3.pco=27501 bStop3.pco=27501
spstr tId.txt,bStop3.txt,"|",1
tsw bStop3,0 tsw bStop3,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bStop3.pco=65535 bStop3.pco=65535
bStop3.txt=tTmp.txt spstr tId.txt,bStop3.txt,"|",1
tsw bStop3,1 tsw bStop3,1
} }
// down button // down button
spstr tId.txt,tTmp.txt,"|",2 spstr tId.txt,tTmp.txt,"|",5
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bDown3.pco=27501 bDown3.pco=27501
spstr tId.txt,bDown3.txt,"|",2
tsw bDown3,0 tsw bDown3,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bDown3.pco=65535 bDown3.pco=65535
bDown3.txt=tTmp.txt spstr tId.txt,bDown3.txt,"|",2
tsw bDown3,1 tsw bDown3,1
} }
} }
@@ -1760,39 +1769,42 @@ Timer tmSerial
// get Button State (optional Value) // get Button State (optional Value)
spstr strCommand.txt,tId.txt,"~",26 spstr strCommand.txt,tId.txt,"~",26
// up button // up button
spstr tId.txt,tTmp.txt,"|",0 spstr tId.txt,tTmp.txt,"|",3
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bUp4.pco=27501 bUp4.pco=27501
spstr tId.txt,bUp4.txt,"|",0
tsw bUp4,0 tsw bUp4,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bUp4.pco=65535 bUp4.pco=65535
bUp4.txt=tTmp.txt spstr tId.txt,bUp4.txt,"|",0
tsw bUp4,1 tsw bUp4,1
} }
// stop button // stop button
spstr tId.txt,tTmp.txt,"|",1 spstr tId.txt,tTmp.txt,"|",4
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bStop4.pco=27501 bStop4.pco=27501
spstr tId.txt,bStop4.txt,"|",1
tsw bStop4,0 tsw bStop4,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bStop4.pco=65535 bStop4.pco=65535
bStop4.txt=tTmp.txt spstr tId.txt,bStop4.txt,"|",1
tsw bStop4,1 tsw bStop4,1
} }
// down button // down button
spstr tId.txt,tTmp.txt,"|",2 spstr tId.txt,tTmp.txt,"|",5
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bDown4.pco=27501 bDown4.pco=27501
spstr tId.txt,bDown4.txt,"|",2
tsw bDown4,0 tsw bDown4,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bDown4.pco=65535 bDown4.pco=65535
bDown4.txt=tTmp.txt spstr tId.txt,bDown4.txt,"|",2
tsw bDown4,1 tsw bDown4,1
} }
} }

View File

@@ -361,38 +361,41 @@ Timer tmSerial
tIcon1.txt=tTmp.txt tIcon1.txt=tTmp.txt
} }
// set icon bUp // set icon bUp
spstr strCommand.txt,tTmp.txt,"~",5 spstr strCommand.txt,tTmp.txt,"~",8
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
tsw bUp1,0 tsw bUp1,0
spstr strCommand.txt,bUp1.txt,"~",5
bUp1.pco=27501 bUp1.pco=27501
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bUp1.txt=tTmp.txt spstr strCommand.txt,bUp1.txt,"~",5
tsw bUp1,1 tsw bUp1,1
bUp1.pco=65535 bUp1.pco=65535
} }
// set icon bStop // set icon bStop
spstr strCommand.txt,tTmp.txt,"~",6 spstr strCommand.txt,tTmp.txt,"~",9
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
tsw bStop1,0 tsw bStop1,0
spstr strCommand.txt,bStop1.txt,"~",6
bStop1.pco=27501 bStop1.pco=27501
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bStop1.txt=tTmp.txt spstr strCommand.txt,bStop1.txt,"~",6
tsw bStop1,1 tsw bStop1,1
bStop1.pco=65535 bStop1.pco=65535
} }
// set icon bDown // set icon bDown
spstr strCommand.txt,tTmp.txt,"~",7 spstr strCommand.txt,tTmp.txt,"~",10
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
spstr strCommand.txt,bDown1.txt,"~",7
tsw bDown1,0 tsw bDown1,0
bDown1.pco=27501 bDown1.pco=27501
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bDown1.txt=tTmp.txt spstr strCommand.txt,bDown1.txt,"~",7
tsw bDown1,1 tsw bDown1,1
bDown1.pco=65535 bDown1.pco=65535
} }

View File

@@ -1,6 +1,6 @@
diff -bur HMI/n2t-out/Program.s.txt HMI/US/portrait/n2t-out/Program.s.txt diff -bur HMI/n2t-out/Program.s.txt HMI/US/portrait/n2t-out/Program.s.txt
--- HMI/n2t-out/Program.s.txt 2022-05-22 08:56:32.972794177 +0000 --- HMI/n2t-out/Program.s.txt 2022-05-22 14:52:29.008661186 +0000
+++ HMI/US/portrait/n2t-out/Program.s.txt 2022-05-22 08:56:33.488797507 +0000 +++ HMI/US/portrait/n2t-out/Program.s.txt 2022-05-22 14:52:29.428661127 +0000
@@ -11,6 +11,6 @@ @@ -11,6 +11,6 @@
// dim value // dim value
int dimValue=40 int dimValue=40
@@ -11,8 +11,8 @@ diff -bur HMI/n2t-out/Program.s.txt HMI/US/portrait/n2t-out/Program.s.txt
+ //lcd_dev fffb 0002 0000 0020 + //lcd_dev fffb 0002 0000 0020
page pageStartup page pageStartup
diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
--- HMI/n2t-out/cardEntities.txt 2022-05-22 08:56:32.976794203 +0000 --- HMI/n2t-out/cardEntities.txt 2022-05-22 14:52:29.008661186 +0000
+++ HMI/US/portrait/n2t-out/cardEntities.txt 2022-05-22 08:56:33.492797532 +0000 +++ HMI/US/portrait/n2t-out/cardEntities.txt 2022-05-22 14:52:29.432661126 +0000
@@ -62,6 +62,16 @@ @@ -62,6 +62,16 @@
vis bText4,0 vis bText4,0
vis hSlider4,0 vis hSlider4,0
@@ -297,7 +297,7 @@ diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
Hotspot mSwipeNext Hotspot mSwipeNext
Attributes Attributes
Scope : local Scope : local
@@ -1880,6 +2108,166 @@ @@ -1892,6 +2120,169 @@
covx tTmp.txt,sys0,0,0 covx tTmp.txt,sys0,0,0
hSlider4.maxval=sys0 hSlider4.maxval=sys0
} }
@@ -341,39 +341,42 @@ diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
+ // get Button State (optional Value) + // get Button State (optional Value)
+ spstr strCommand.txt,tId.txt,"~",32 + spstr strCommand.txt,tId.txt,"~",32
+ // up button + // up button
+ spstr tId.txt,tTmp.txt,"|",0 + spstr tId.txt,tTmp.txt,"|",3
+ if(tTmp.txt=="disable") + if(tTmp.txt=="disable")
+ { + {
+ bUp5.pco=27501 + bUp5.pco=27501
+ spstr tId.txt,bUp5.txt,"|",0
+ tsw bUp5,0 + tsw bUp5,0
+ }else if(tTmp.txt!="") + }else if(tTmp.txt=="enable")
+ { + {
+ bUp5.pco=65535 + bUp5.pco=65535
+ bUp5.txt=tTmp.txt + spstr tId.txt,bUp5.txt,"|",0
+ tsw bUp5,1 + tsw bUp5,1
+ } + }
+ // stop button + // stop button
+ spstr tId.txt,tTmp.txt,"|",1 + spstr tId.txt,tTmp.txt,"|",4
+ if(tTmp.txt=="disable") + if(tTmp.txt=="disable")
+ { + {
+ bStop5.pco=27501 + bStop5.pco=27501
+ spstr tId.txt,bStop5.txt,"|",1
+ tsw bStop5,0 + tsw bStop5,0
+ }else if(tTmp.txt!="") + }else if(tTmp.txt=="enable")
+ { + {
+ bStop5.pco=65535 + bStop5.pco=65535
+ bStop5.txt=tTmp.txt + spstr tId.txt,bStop5.txt,"|",1
+ tsw bStop5,1 + tsw bStop5,1
+ } + }
+ // down button + // down button
+ spstr tId.txt,tTmp.txt,"|",2 + spstr tId.txt,tTmp.txt,"|",5
+ if(tTmp.txt=="disable") + if(tTmp.txt=="disable")
+ { + {
+ bDown5.pco=27501 + bDown5.pco=27501
+ spstr tId.txt,bDown5.txt,"|",2
+ tsw bDown5,0 + tsw bDown5,0
+ }else if(tTmp.txt!="") + }else if(tTmp.txt=="enable")
+ { + {
+ bDown5.pco=65535 + bDown5.pco=65535
+ bDown5.txt=tTmp.txt + spstr tId.txt,bDown5.txt,"|",2
+ tsw bDown5,1 + tsw bDown5,1
+ } + }
+ } + }
@@ -465,8 +468,8 @@ diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
if(tInstruction.txt=="pageType") if(tInstruction.txt=="pageType")
{ {
diff -bur HMI/n2t-out/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-05-22 08:56:32.972794177 +0000 --- HMI/n2t-out/pageStartup.txt 2022-05-22 14:52:29.008661186 +0000
+++ HMI/US/portrait/n2t-out/pageStartup.txt 2022-05-22 08:56:33.488797507 +0000 +++ HMI/US/portrait/n2t-out/pageStartup.txt 2022-05-22 14:52:29.432661126 +0000
@@ -142,7 +142,7 @@ @@ -142,7 +142,7 @@
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled

View File

@@ -1,30 +1,35 @@
+++ HMI/US/portrait/diff-eu-version.txt 2022-05-22 08:56:33.504797610 +0000 +++ HMI/US/portrait/diff-eu-version.txt 2022-05-22 14:52:29.444661125 +0000
+--- HMI/n2t-out/Program.s.txt 2022-05-22 08:56:32.972794177 +0000 +--- HMI/n2t-out/Program.s.txt 2022-05-22 14:52:29.008661186 +0000
++++ HMI/US/portrait/n2t-out/Program.s.txt 2022-05-22 08:56:33.488797507 +0000 ++++ HMI/US/portrait/n2t-out/Program.s.txt 2022-05-22 14:52:29.428661127 +0000
+--- HMI/n2t-out/cardEntities.txt 2022-05-22 08:56:32.976794203 +0000 +--- HMI/n2t-out/cardEntities.txt 2022-05-22 14:52:29.008661186 +0000
++++ HMI/US/portrait/n2t-out/cardEntities.txt 2022-05-22 08:56:33.492797532 +0000 ++++ HMI/US/portrait/n2t-out/cardEntities.txt 2022-05-22 14:52:29.432661126 +0000
+ Hotspot mSwipeNext + Hotspot mSwipeNext
+ Scope : local + Scope : local
+@@ -1880,6 +2108,166 @@ +@@ -1892,6 +2120,169 @@
++ // up button ++ // up button
++ spstr tId.txt,tTmp.txt,"|",3
++ if(tTmp.txt=="disable") ++ if(tTmp.txt=="disable")
++ }else if(tTmp.txt!="") ++ spstr tId.txt,bUp5.txt,"|",0
++ bUp5.txt=tTmp.txt ++ }else if(tTmp.txt=="enable")
++ spstr tId.txt,bUp5.txt,"|",0
++ // stop button ++ // stop button
++ spstr tId.txt,tTmp.txt,"|",4
++ if(tTmp.txt=="disable") ++ if(tTmp.txt=="disable")
++ { ++ {
++ bStop5.pco=27501 ++ bStop5.pco=27501
++ spstr tId.txt,bStop5.txt,"|",1
++ tsw bStop5,0 ++ tsw bStop5,0
++ }else if(tTmp.txt!="") ++ }else if(tTmp.txt=="enable")
++ { ++ {
++ bStop5.pco=65535 ++ bStop5.pco=65535
++ bStop5.txt=tTmp.txt ++ spstr tId.txt,bStop5.txt,"|",1
++ tsw bStop5,1 ++ tsw bStop5,1
++ } ++ }
++ // down button ++ // down button
++ spstr tId.txt,tTmp.txt,"|",2 ++ spstr tId.txt,tTmp.txt,"|",5
++ if(tTmp.txt=="disable") ++ if(tTmp.txt=="disable")
++ }else if(tTmp.txt!="") ++ spstr tId.txt,bDown5.txt,"|",2
++ bDown5.txt=tTmp.txt ++ }else if(tTmp.txt=="enable")
+--- HMI/n2t-out/pageStartup.txt 2022-05-22 08:56:32.972794177 +0000 ++ spstr tId.txt,bDown5.txt,"|",2
++++ HMI/US/portrait/n2t-out/pageStartup.txt 2022-05-22 08:56:33.488797507 +0000 +--- HMI/n2t-out/pageStartup.txt 2022-05-22 14:52:29.008661186 +0000
++++ HMI/US/portrait/n2t-out/pageStartup.txt 2022-05-22 14:52:29.432661126 +0000

View File

@@ -2673,39 +2673,42 @@ Timer tmSerial
// get Button State (optional Value) // get Button State (optional Value)
spstr strCommand.txt,tId.txt,"~",8 spstr strCommand.txt,tId.txt,"~",8
// up button // up button
spstr tId.txt,tTmp.txt,"|",0 spstr tId.txt,tTmp.txt,"|",3
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bUp1.pco=27501 bUp1.pco=27501
spstr tId.txt,bUp1.txt,"|",0
tsw bUp1,0 tsw bUp1,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bUp1.pco=65535 bUp1.pco=65535
bUp1.txt=tTmp.txt spstr tId.txt,bUp1.txt,"|",0
tsw bUp1,1 tsw bUp1,1
} }
// stop button // stop button
spstr tId.txt,tTmp.txt,"|",1 spstr tId.txt,tTmp.txt,"|",4
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bStop1.pco=27501 bStop1.pco=27501
spstr tId.txt,bStop1.txt,"|",1
tsw bStop1,0 tsw bStop1,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bStop1.pco=65535 bStop1.pco=65535
bStop1.txt=tTmp.txt spstr tId.txt,bStop1.txt,"|",1
tsw bStop1,1 tsw bStop1,1
} }
// down button // down button
spstr tId.txt,tTmp.txt,"|",2 spstr tId.txt,tTmp.txt,"|",5
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bDown1.pco=27501 bDown1.pco=27501
spstr tId.txt,bDown1.txt,"|",2
tsw bDown1,0 tsw bDown1,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bDown1.pco=65535 bDown1.pco=65535
bDown1.txt=tTmp.txt spstr tId.txt,bDown1.txt,"|",2
tsw bDown1,1 tsw bDown1,1
} }
} }
@@ -2833,39 +2836,42 @@ Timer tmSerial
// get Button State (optional Value) // get Button State (optional Value)
spstr strCommand.txt,tId.txt,"~",14 spstr strCommand.txt,tId.txt,"~",14
// up button // up button
spstr tId.txt,tTmp.txt,"|",0 spstr tId.txt,tTmp.txt,"|",3
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bUp2.pco=27501 bUp2.pco=27501
spstr tId.txt,bUp2.txt,"|",0
tsw bUp2,0 tsw bUp2,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bUp2.pco=65535 bUp2.pco=65535
bUp2.txt=tTmp.txt spstr tId.txt,bUp2.txt,"|",0
tsw bUp2,1 tsw bUp2,1
} }
// stop button // stop button
spstr tId.txt,tTmp.txt,"|",1 spstr tId.txt,tTmp.txt,"|",4
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bStop2.pco=27501 bStop2.pco=27501
spstr tId.txt,bStop2.txt,"|",1
tsw bStop2,0 tsw bStop2,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bStop2.pco=65535 bStop2.pco=65535
bStop2.txt=tTmp.txt spstr tId.txt,bStop2.txt,"|",1
tsw bStop2,1 tsw bStop2,1
} }
// down button // down button
spstr tId.txt,tTmp.txt,"|",2 spstr tId.txt,tTmp.txt,"|",5
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bDown2.pco=27501 bDown2.pco=27501
spstr tId.txt,bDown2.txt,"|",2
tsw bDown2,0 tsw bDown2,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bDown2.pco=65535 bDown2.pco=65535
bDown2.txt=tTmp.txt spstr tId.txt,bDown2.txt,"|",2
tsw bDown2,1 tsw bDown2,1
} }
} }
@@ -2993,39 +2999,42 @@ Timer tmSerial
// get Button State (optional Value) // get Button State (optional Value)
spstr strCommand.txt,tId.txt,"~",20 spstr strCommand.txt,tId.txt,"~",20
// up button // up button
spstr tId.txt,tTmp.txt,"|",0 spstr tId.txt,tTmp.txt,"|",3
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bUp3.pco=27501 bUp3.pco=27501
spstr tId.txt,bUp3.txt,"|",0
tsw bUp3,0 tsw bUp3,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bUp3.pco=65535 bUp3.pco=65535
bUp3.txt=tTmp.txt spstr tId.txt,bUp3.txt,"|",0
tsw bUp3,1 tsw bUp3,1
} }
// stop button // stop button
spstr tId.txt,tTmp.txt,"|",1 spstr tId.txt,tTmp.txt,"|",4
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bStop3.pco=27501 bStop3.pco=27501
spstr tId.txt,bStop3.txt,"|",1
tsw bStop3,0 tsw bStop3,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bStop3.pco=65535 bStop3.pco=65535
bStop3.txt=tTmp.txt spstr tId.txt,bStop3.txt,"|",1
tsw bStop3,1 tsw bStop3,1
} }
// down button // down button
spstr tId.txt,tTmp.txt,"|",2 spstr tId.txt,tTmp.txt,"|",5
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bDown3.pco=27501 bDown3.pco=27501
spstr tId.txt,bDown3.txt,"|",2
tsw bDown3,0 tsw bDown3,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bDown3.pco=65535 bDown3.pco=65535
bDown3.txt=tTmp.txt spstr tId.txt,bDown3.txt,"|",2
tsw bDown3,1 tsw bDown3,1
} }
} }
@@ -3153,39 +3162,42 @@ Timer tmSerial
// get Button State (optional Value) // get Button State (optional Value)
spstr strCommand.txt,tId.txt,"~",26 spstr strCommand.txt,tId.txt,"~",26
// up button // up button
spstr tId.txt,tTmp.txt,"|",0 spstr tId.txt,tTmp.txt,"|",3
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bUp4.pco=27501 bUp4.pco=27501
spstr tId.txt,bUp4.txt,"|",0
tsw bUp4,0 tsw bUp4,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bUp4.pco=65535 bUp4.pco=65535
bUp4.txt=tTmp.txt spstr tId.txt,bUp4.txt,"|",0
tsw bUp4,1 tsw bUp4,1
} }
// stop button // stop button
spstr tId.txt,tTmp.txt,"|",1 spstr tId.txt,tTmp.txt,"|",4
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bStop4.pco=27501 bStop4.pco=27501
spstr tId.txt,bStop4.txt,"|",1
tsw bStop4,0 tsw bStop4,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bStop4.pco=65535 bStop4.pco=65535
bStop4.txt=tTmp.txt spstr tId.txt,bStop4.txt,"|",1
tsw bStop4,1 tsw bStop4,1
} }
// down button // down button
spstr tId.txt,tTmp.txt,"|",2 spstr tId.txt,tTmp.txt,"|",5
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bDown4.pco=27501 bDown4.pco=27501
spstr tId.txt,bDown4.txt,"|",2
tsw bDown4,0 tsw bDown4,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bDown4.pco=65535 bDown4.pco=65535
bDown4.txt=tTmp.txt spstr tId.txt,bDown4.txt,"|",2
tsw bDown4,1 tsw bDown4,1
} }
} }
@@ -3313,39 +3325,42 @@ Timer tmSerial
// get Button State (optional Value) // get Button State (optional Value)
spstr strCommand.txt,tId.txt,"~",32 spstr strCommand.txt,tId.txt,"~",32
// up button // up button
spstr tId.txt,tTmp.txt,"|",0 spstr tId.txt,tTmp.txt,"|",3
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bUp5.pco=27501 bUp5.pco=27501
spstr tId.txt,bUp5.txt,"|",0
tsw bUp5,0 tsw bUp5,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bUp5.pco=65535 bUp5.pco=65535
bUp5.txt=tTmp.txt spstr tId.txt,bUp5.txt,"|",0
tsw bUp5,1 tsw bUp5,1
} }
// stop button // stop button
spstr tId.txt,tTmp.txt,"|",1 spstr tId.txt,tTmp.txt,"|",4
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bStop5.pco=27501 bStop5.pco=27501
spstr tId.txt,bStop5.txt,"|",1
tsw bStop5,0 tsw bStop5,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bStop5.pco=65535 bStop5.pco=65535
bStop5.txt=tTmp.txt spstr tId.txt,bStop5.txt,"|",1
tsw bStop5,1 tsw bStop5,1
} }
// down button // down button
spstr tId.txt,tTmp.txt,"|",2 spstr tId.txt,tTmp.txt,"|",5
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bDown5.pco=27501 bDown5.pco=27501
spstr tId.txt,bDown5.txt,"|",2
tsw bDown5,0 tsw bDown5,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bDown5.pco=65535 bDown5.pco=65535
bDown5.txt=tTmp.txt spstr tId.txt,bDown5.txt,"|",2
tsw bDown5,1 tsw bDown5,1
} }
} }

View File

@@ -18,10 +18,6 @@ pageStartup
19 Component(s) 19 Component(s)
154 Line(s) of event code 154 Line(s) of event code
115 Unique line(s) of event code 115 Unique line(s) of event code
popupShutter
20 Component(s)
241 Line(s) of event code
138 Unique line(s) of event code
popupLight popupLight
27 Component(s) 27 Component(s)
345 Line(s) of event code 345 Line(s) of event code
@@ -50,13 +46,17 @@ screensaver
35 Component(s) 35 Component(s)
296 Line(s) of event code 296 Line(s) of event code
237 Unique line(s) of event code 237 Unique line(s) of event code
popupShutter
20 Component(s)
244 Line(s) of event code
138 Unique line(s) of event code
cardEntities cardEntities
77 Component(s) 77 Component(s)
1348 Line(s) of event code 1363 Line(s) of event code
576 Unique line(s) of event code 576 Unique line(s) of event code
Total Total
13 Page(s) 13 Page(s)
414 Component(s) 414 Component(s)
4670 Line(s) of event code 4688 Line(s) of event code
1239 Unique line(s) of event code 1239 Unique line(s) of event code

View File

@@ -646,38 +646,41 @@ Timer tmSerial
tIcon1.txt=tTmp.txt tIcon1.txt=tTmp.txt
} }
// set icon bUp // set icon bUp
spstr strCommand.txt,tTmp.txt,"~",5 spstr strCommand.txt,tTmp.txt,"~",8
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
tsw bUp1,0 tsw bUp1,0
spstr strCommand.txt,bUp1.txt,"~",5
bUp1.pco=27501 bUp1.pco=27501
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bUp1.txt=tTmp.txt spstr strCommand.txt,bUp1.txt,"~",5
tsw bUp1,1 tsw bUp1,1
bUp1.pco=65535 bUp1.pco=65535
} }
// set icon bStop // set icon bStop
spstr strCommand.txt,tTmp.txt,"~",6 spstr strCommand.txt,tTmp.txt,"~",9
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
tsw bStop1,0 tsw bStop1,0
spstr strCommand.txt,bStop1.txt,"~",6
bStop1.pco=27501 bStop1.pco=27501
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bStop1.txt=tTmp.txt spstr strCommand.txt,bStop1.txt,"~",6
tsw bStop1,1 tsw bStop1,1
bStop1.pco=65535 bStop1.pco=65535
} }
// set icon bDown // set icon bDown
spstr strCommand.txt,tTmp.txt,"~",7 spstr strCommand.txt,tTmp.txt,"~",10
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
spstr strCommand.txt,bDown1.txt,"~",7
tsw bDown1,0 tsw bDown1,0
bDown1.pco=27501 bDown1.pco=27501
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bDown1.txt=tTmp.txt spstr strCommand.txt,bDown1.txt,"~",7
tsw bDown1,1 tsw bDown1,1
bDown1.pco=65535 bDown1.pco=65535
} }

View File

@@ -1508,39 +1508,42 @@ Timer tmSerial
// get Button State (optional Value) // get Button State (optional Value)
spstr strCommand.txt,tId.txt,"~",8 spstr strCommand.txt,tId.txt,"~",8
// up button // up button
spstr tId.txt,tTmp.txt,"|",0 spstr tId.txt,tTmp.txt,"|",3
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bUp1.pco=27501 bUp1.pco=27501
spstr tId.txt,bUp1.txt,"|",0
tsw bUp1,0 tsw bUp1,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bUp1.pco=65535 bUp1.pco=65535
bUp1.txt=tTmp.txt spstr tId.txt,bUp1.txt,"|",0
tsw bUp1,1 tsw bUp1,1
} }
// stop button // stop button
spstr tId.txt,tTmp.txt,"|",1 spstr tId.txt,tTmp.txt,"|",4
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bStop1.pco=27501 bStop1.pco=27501
spstr tId.txt,bStop1.txt,"|",1
tsw bStop1,0 tsw bStop1,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bStop1.pco=65535 bStop1.pco=65535
bStop1.txt=tTmp.txt spstr tId.txt,bStop1.txt,"|",1
tsw bStop1,1 tsw bStop1,1
} }
// down button // down button
spstr tId.txt,tTmp.txt,"|",2 spstr tId.txt,tTmp.txt,"|",5
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bDown1.pco=27501 bDown1.pco=27501
spstr tId.txt,bDown1.txt,"|",2
tsw bDown1,0 tsw bDown1,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bDown1.pco=65535 bDown1.pco=65535
bDown1.txt=tTmp.txt spstr tId.txt,bDown1.txt,"|",2
tsw bDown1,1 tsw bDown1,1
} }
} }
@@ -1668,39 +1671,42 @@ Timer tmSerial
// get Button State (optional Value) // get Button State (optional Value)
spstr strCommand.txt,tId.txt,"~",14 spstr strCommand.txt,tId.txt,"~",14
// up button // up button
spstr tId.txt,tTmp.txt,"|",0 spstr tId.txt,tTmp.txt,"|",3
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bUp2.pco=27501 bUp2.pco=27501
spstr tId.txt,bUp2.txt,"|",0
tsw bUp2,0 tsw bUp2,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bUp2.pco=65535 bUp2.pco=65535
bUp2.txt=tTmp.txt spstr tId.txt,bUp2.txt,"|",0
tsw bUp2,1 tsw bUp2,1
} }
// stop button // stop button
spstr tId.txt,tTmp.txt,"|",1 spstr tId.txt,tTmp.txt,"|",4
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bStop2.pco=27501 bStop2.pco=27501
spstr tId.txt,bStop2.txt,"|",1
tsw bStop2,0 tsw bStop2,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bStop2.pco=65535 bStop2.pco=65535
bStop2.txt=tTmp.txt spstr tId.txt,bStop2.txt,"|",1
tsw bStop2,1 tsw bStop2,1
} }
// down button // down button
spstr tId.txt,tTmp.txt,"|",2 spstr tId.txt,tTmp.txt,"|",5
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bDown2.pco=27501 bDown2.pco=27501
spstr tId.txt,bDown2.txt,"|",2
tsw bDown2,0 tsw bDown2,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bDown2.pco=65535 bDown2.pco=65535
bDown2.txt=tTmp.txt spstr tId.txt,bDown2.txt,"|",2
tsw bDown2,1 tsw bDown2,1
} }
} }
@@ -1828,39 +1834,42 @@ Timer tmSerial
// get Button State (optional Value) // get Button State (optional Value)
spstr strCommand.txt,tId.txt,"~",20 spstr strCommand.txt,tId.txt,"~",20
// up button // up button
spstr tId.txt,tTmp.txt,"|",0 spstr tId.txt,tTmp.txt,"|",3
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bUp3.pco=27501 bUp3.pco=27501
spstr tId.txt,bUp3.txt,"|",0
tsw bUp3,0 tsw bUp3,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bUp3.pco=65535 bUp3.pco=65535
bUp3.txt=tTmp.txt spstr tId.txt,bUp3.txt,"|",0
tsw bUp3,1 tsw bUp3,1
} }
// stop button // stop button
spstr tId.txt,tTmp.txt,"|",1 spstr tId.txt,tTmp.txt,"|",4
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bStop3.pco=27501 bStop3.pco=27501
spstr tId.txt,bStop3.txt,"|",1
tsw bStop3,0 tsw bStop3,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bStop3.pco=65535 bStop3.pco=65535
bStop3.txt=tTmp.txt spstr tId.txt,bStop3.txt,"|",1
tsw bStop3,1 tsw bStop3,1
} }
// down button // down button
spstr tId.txt,tTmp.txt,"|",2 spstr tId.txt,tTmp.txt,"|",5
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bDown3.pco=27501 bDown3.pco=27501
spstr tId.txt,bDown3.txt,"|",2
tsw bDown3,0 tsw bDown3,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bDown3.pco=65535 bDown3.pco=65535
bDown3.txt=tTmp.txt spstr tId.txt,bDown3.txt,"|",2
tsw bDown3,1 tsw bDown3,1
} }
} }
@@ -1988,39 +1997,42 @@ Timer tmSerial
// get Button State (optional Value) // get Button State (optional Value)
spstr strCommand.txt,tId.txt,"~",26 spstr strCommand.txt,tId.txt,"~",26
// up button // up button
spstr tId.txt,tTmp.txt,"|",0 spstr tId.txt,tTmp.txt,"|",3
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bUp4.pco=27501 bUp4.pco=27501
spstr tId.txt,bUp4.txt,"|",0
tsw bUp4,0 tsw bUp4,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bUp4.pco=65535 bUp4.pco=65535
bUp4.txt=tTmp.txt spstr tId.txt,bUp4.txt,"|",0
tsw bUp4,1 tsw bUp4,1
} }
// stop button // stop button
spstr tId.txt,tTmp.txt,"|",1 spstr tId.txt,tTmp.txt,"|",4
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bStop4.pco=27501 bStop4.pco=27501
spstr tId.txt,bStop4.txt,"|",1
tsw bStop4,0 tsw bStop4,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bStop4.pco=65535 bStop4.pco=65535
bStop4.txt=tTmp.txt spstr tId.txt,bStop4.txt,"|",1
tsw bStop4,1 tsw bStop4,1
} }
// down button // down button
spstr tId.txt,tTmp.txt,"|",2 spstr tId.txt,tTmp.txt,"|",5
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bDown4.pco=27501 bDown4.pco=27501
spstr tId.txt,bDown4.txt,"|",2
tsw bDown4,0 tsw bDown4,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bDown4.pco=65535 bDown4.pco=65535
bDown4.txt=tTmp.txt spstr tId.txt,bDown4.txt,"|",2
tsw bDown4,1 tsw bDown4,1
} }
} }
@@ -2148,39 +2160,42 @@ Timer tmSerial
// get Button State (optional Value) // get Button State (optional Value)
spstr strCommand.txt,tId.txt,"~",32 spstr strCommand.txt,tId.txt,"~",32
// up button // up button
spstr tId.txt,tTmp.txt,"|",0 spstr tId.txt,tTmp.txt,"|",3
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bUp5.pco=27501 bUp5.pco=27501
spstr tId.txt,bUp5.txt,"|",0
tsw bUp5,0 tsw bUp5,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bUp5.pco=65535 bUp5.pco=65535
bUp5.txt=tTmp.txt spstr tId.txt,bUp5.txt,"|",0
tsw bUp5,1 tsw bUp5,1
} }
// stop button // stop button
spstr tId.txt,tTmp.txt,"|",1 spstr tId.txt,tTmp.txt,"|",4
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bStop5.pco=27501 bStop5.pco=27501
spstr tId.txt,bStop5.txt,"|",1
tsw bStop5,0 tsw bStop5,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bStop5.pco=65535 bStop5.pco=65535
bStop5.txt=tTmp.txt spstr tId.txt,bStop5.txt,"|",1
tsw bStop5,1 tsw bStop5,1
} }
// down button // down button
spstr tId.txt,tTmp.txt,"|",2 spstr tId.txt,tTmp.txt,"|",5
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bDown5.pco=27501 bDown5.pco=27501
spstr tId.txt,bDown5.txt,"|",2
tsw bDown5,0 tsw bDown5,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bDown5.pco=65535 bDown5.pco=65535
bDown5.txt=tTmp.txt spstr tId.txt,bDown5.txt,"|",2
tsw bDown5,1 tsw bDown5,1
} }
} }

View File

@@ -361,38 +361,41 @@ Timer tmSerial
tIcon1.txt=tTmp.txt tIcon1.txt=tTmp.txt
} }
// set icon bUp // set icon bUp
spstr strCommand.txt,tTmp.txt,"~",5 spstr strCommand.txt,tTmp.txt,"~",8
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
tsw bUp1,0 tsw bUp1,0
spstr strCommand.txt,bUp1.txt,"~",5
bUp1.pco=27501 bUp1.pco=27501
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bUp1.txt=tTmp.txt spstr strCommand.txt,bUp1.txt,"~",5
tsw bUp1,1 tsw bUp1,1
bUp1.pco=65535 bUp1.pco=65535
} }
// set icon bStop // set icon bStop
spstr strCommand.txt,tTmp.txt,"~",6 spstr strCommand.txt,tTmp.txt,"~",9
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
tsw bStop1,0 tsw bStop1,0
spstr strCommand.txt,bStop1.txt,"~",6
bStop1.pco=27501 bStop1.pco=27501
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bStop1.txt=tTmp.txt spstr strCommand.txt,bStop1.txt,"~",6
tsw bStop1,1 tsw bStop1,1
bStop1.pco=65535 bStop1.pco=65535
} }
// set icon bDown // set icon bDown
spstr strCommand.txt,tTmp.txt,"~",7 spstr strCommand.txt,tTmp.txt,"~",10
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
spstr strCommand.txt,bDown1.txt,"~",7
tsw bDown1,0 tsw bDown1,0
bDown1.pco=27501 bDown1.pco=27501
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bDown1.txt=tTmp.txt spstr strCommand.txt,bDown1.txt,"~",7
tsw bDown1,1 tsw bDown1,1
bDown1.pco=65535 bDown1.pco=65535
} }

View File

@@ -2252,39 +2252,42 @@ Timer tmSerial
// get Button State (optional Value) // get Button State (optional Value)
spstr strCommand.txt,tId.txt,"~",8 spstr strCommand.txt,tId.txt,"~",8
// up button // up button
spstr tId.txt,tTmp.txt,"|",0 spstr tId.txt,tTmp.txt,"|",3
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bUp1.pco=27501 bUp1.pco=27501
spstr tId.txt,bUp1.txt,"|",0
tsw bUp1,0 tsw bUp1,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bUp1.pco=65535 bUp1.pco=65535
bUp1.txt=tTmp.txt spstr tId.txt,bUp1.txt,"|",0
tsw bUp1,1 tsw bUp1,1
} }
// stop button // stop button
spstr tId.txt,tTmp.txt,"|",1 spstr tId.txt,tTmp.txt,"|",4
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bStop1.pco=27501 bStop1.pco=27501
spstr tId.txt,bStop1.txt,"|",1
tsw bStop1,0 tsw bStop1,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bStop1.pco=65535 bStop1.pco=65535
bStop1.txt=tTmp.txt spstr tId.txt,bStop1.txt,"|",1
tsw bStop1,1 tsw bStop1,1
} }
// down button // down button
spstr tId.txt,tTmp.txt,"|",2 spstr tId.txt,tTmp.txt,"|",5
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bDown1.pco=27501 bDown1.pco=27501
spstr tId.txt,bDown1.txt,"|",2
tsw bDown1,0 tsw bDown1,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bDown1.pco=65535 bDown1.pco=65535
bDown1.txt=tTmp.txt spstr tId.txt,bDown1.txt,"|",2
tsw bDown1,1 tsw bDown1,1
} }
} }
@@ -2412,39 +2415,42 @@ Timer tmSerial
// get Button State (optional Value) // get Button State (optional Value)
spstr strCommand.txt,tId.txt,"~",14 spstr strCommand.txt,tId.txt,"~",14
// up button // up button
spstr tId.txt,tTmp.txt,"|",0 spstr tId.txt,tTmp.txt,"|",3
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bUp2.pco=27501 bUp2.pco=27501
spstr tId.txt,bUp2.txt,"|",0
tsw bUp2,0 tsw bUp2,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bUp2.pco=65535 bUp2.pco=65535
bUp2.txt=tTmp.txt spstr tId.txt,bUp2.txt,"|",0
tsw bUp2,1 tsw bUp2,1
} }
// stop button // stop button
spstr tId.txt,tTmp.txt,"|",1 spstr tId.txt,tTmp.txt,"|",4
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bStop2.pco=27501 bStop2.pco=27501
spstr tId.txt,bStop2.txt,"|",1
tsw bStop2,0 tsw bStop2,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bStop2.pco=65535 bStop2.pco=65535
bStop2.txt=tTmp.txt spstr tId.txt,bStop2.txt,"|",1
tsw bStop2,1 tsw bStop2,1
} }
// down button // down button
spstr tId.txt,tTmp.txt,"|",2 spstr tId.txt,tTmp.txt,"|",5
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bDown2.pco=27501 bDown2.pco=27501
spstr tId.txt,bDown2.txt,"|",2
tsw bDown2,0 tsw bDown2,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bDown2.pco=65535 bDown2.pco=65535
bDown2.txt=tTmp.txt spstr tId.txt,bDown2.txt,"|",2
tsw bDown2,1 tsw bDown2,1
} }
} }
@@ -2572,39 +2578,42 @@ Timer tmSerial
// get Button State (optional Value) // get Button State (optional Value)
spstr strCommand.txt,tId.txt,"~",20 spstr strCommand.txt,tId.txt,"~",20
// up button // up button
spstr tId.txt,tTmp.txt,"|",0 spstr tId.txt,tTmp.txt,"|",3
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bUp3.pco=27501 bUp3.pco=27501
spstr tId.txt,bUp3.txt,"|",0
tsw bUp3,0 tsw bUp3,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bUp3.pco=65535 bUp3.pco=65535
bUp3.txt=tTmp.txt spstr tId.txt,bUp3.txt,"|",0
tsw bUp3,1 tsw bUp3,1
} }
// stop button // stop button
spstr tId.txt,tTmp.txt,"|",1 spstr tId.txt,tTmp.txt,"|",4
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bStop3.pco=27501 bStop3.pco=27501
spstr tId.txt,bStop3.txt,"|",1
tsw bStop3,0 tsw bStop3,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bStop3.pco=65535 bStop3.pco=65535
bStop3.txt=tTmp.txt spstr tId.txt,bStop3.txt,"|",1
tsw bStop3,1 tsw bStop3,1
} }
// down button // down button
spstr tId.txt,tTmp.txt,"|",2 spstr tId.txt,tTmp.txt,"|",5
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bDown3.pco=27501 bDown3.pco=27501
spstr tId.txt,bDown3.txt,"|",2
tsw bDown3,0 tsw bDown3,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bDown3.pco=65535 bDown3.pco=65535
bDown3.txt=tTmp.txt spstr tId.txt,bDown3.txt,"|",2
tsw bDown3,1 tsw bDown3,1
} }
} }
@@ -2732,39 +2741,42 @@ Timer tmSerial
// get Button State (optional Value) // get Button State (optional Value)
spstr strCommand.txt,tId.txt,"~",26 spstr strCommand.txt,tId.txt,"~",26
// up button // up button
spstr tId.txt,tTmp.txt,"|",0 spstr tId.txt,tTmp.txt,"|",3
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bUp4.pco=27501 bUp4.pco=27501
spstr tId.txt,bUp4.txt,"|",0
tsw bUp4,0 tsw bUp4,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bUp4.pco=65535 bUp4.pco=65535
bUp4.txt=tTmp.txt spstr tId.txt,bUp4.txt,"|",0
tsw bUp4,1 tsw bUp4,1
} }
// stop button // stop button
spstr tId.txt,tTmp.txt,"|",1 spstr tId.txt,tTmp.txt,"|",4
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bStop4.pco=27501 bStop4.pco=27501
spstr tId.txt,bStop4.txt,"|",1
tsw bStop4,0 tsw bStop4,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bStop4.pco=65535 bStop4.pco=65535
bStop4.txt=tTmp.txt spstr tId.txt,bStop4.txt,"|",1
tsw bStop4,1 tsw bStop4,1
} }
// down button // down button
spstr tId.txt,tTmp.txt,"|",2 spstr tId.txt,tTmp.txt,"|",5
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bDown4.pco=27501 bDown4.pco=27501
spstr tId.txt,bDown4.txt,"|",2
tsw bDown4,0 tsw bDown4,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bDown4.pco=65535 bDown4.pco=65535
bDown4.txt=tTmp.txt spstr tId.txt,bDown4.txt,"|",2
tsw bDown4,1 tsw bDown4,1
} }
} }

View File

@@ -22,10 +22,6 @@ popupNotify
17 Component(s) 17 Component(s)
200 Line(s) of event code 200 Line(s) of event code
125 Unique line(s) of event code 125 Unique line(s) of event code
popupShutter
20 Component(s)
241 Line(s) of event code
138 Unique line(s) of event code
screensaver screensaver
35 Component(s) 35 Component(s)
296 Line(s) of event code 296 Line(s) of event code
@@ -38,6 +34,10 @@ cardQR
30 Component(s) 30 Component(s)
363 Line(s) of event code 363 Line(s) of event code
205 Unique line(s) of event code 205 Unique line(s) of event code
popupShutter
20 Component(s)
244 Line(s) of event code
138 Unique line(s) of event code
cardGrid cardGrid
42 Component(s) 42 Component(s)
439 Line(s) of event code 439 Line(s) of event code
@@ -52,11 +52,11 @@ cardThermo
290 Unique line(s) of event code 290 Unique line(s) of event code
cardEntities cardEntities
65 Component(s) 65 Component(s)
1121 Line(s) of event code 1133 Line(s) of event code
491 Unique line(s) of event code 491 Unique line(s) of event code
Total Total
13 Page(s) 13 Page(s)
402 Component(s) 402 Component(s)
4444 Line(s) of event code 4459 Line(s) of event code
1168 Unique line(s) of event code 1168 Unique line(s) of event code

View File

@@ -646,38 +646,41 @@ Timer tmSerial
tIcon1.txt=tTmp.txt tIcon1.txt=tTmp.txt
} }
// set icon bUp // set icon bUp
spstr strCommand.txt,tTmp.txt,"~",5 spstr strCommand.txt,tTmp.txt,"~",8
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
tsw bUp1,0 tsw bUp1,0
spstr strCommand.txt,bUp1.txt,"~",5
bUp1.pco=27501 bUp1.pco=27501
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bUp1.txt=tTmp.txt spstr strCommand.txt,bUp1.txt,"~",5
tsw bUp1,1 tsw bUp1,1
bUp1.pco=65535 bUp1.pco=65535
} }
// set icon bStop // set icon bStop
spstr strCommand.txt,tTmp.txt,"~",6 spstr strCommand.txt,tTmp.txt,"~",9
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
tsw bStop1,0 tsw bStop1,0
spstr strCommand.txt,bStop1.txt,"~",6
bStop1.pco=27501 bStop1.pco=27501
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bStop1.txt=tTmp.txt spstr strCommand.txt,bStop1.txt,"~",6
tsw bStop1,1 tsw bStop1,1
bStop1.pco=65535 bStop1.pco=65535
} }
// set icon bDown // set icon bDown
spstr strCommand.txt,tTmp.txt,"~",7 spstr strCommand.txt,tTmp.txt,"~",10
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
spstr strCommand.txt,bDown1.txt,"~",7
tsw bDown1,0 tsw bDown1,0
bDown1.pco=27501 bDown1.pco=27501
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bDown1.txt=tTmp.txt spstr strCommand.txt,bDown1.txt,"~",7
tsw bDown1,1 tsw bDown1,1
bDown1.pco=65535 bDown1.pco=65535
} }

View File

@@ -1280,39 +1280,42 @@ Timer tmSerial
// get Button State (optional Value) // get Button State (optional Value)
spstr strCommand.txt,tId.txt,"~",8 spstr strCommand.txt,tId.txt,"~",8
// up button // up button
spstr tId.txt,tTmp.txt,"|",0 spstr tId.txt,tTmp.txt,"|",3
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bUp1.pco=27501 bUp1.pco=27501
spstr tId.txt,bUp1.txt,"|",0
tsw bUp1,0 tsw bUp1,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bUp1.pco=65535 bUp1.pco=65535
bUp1.txt=tTmp.txt spstr tId.txt,bUp1.txt,"|",0
tsw bUp1,1 tsw bUp1,1
} }
// stop button // stop button
spstr tId.txt,tTmp.txt,"|",1 spstr tId.txt,tTmp.txt,"|",4
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bStop1.pco=27501 bStop1.pco=27501
spstr tId.txt,bStop1.txt,"|",1
tsw bStop1,0 tsw bStop1,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bStop1.pco=65535 bStop1.pco=65535
bStop1.txt=tTmp.txt spstr tId.txt,bStop1.txt,"|",1
tsw bStop1,1 tsw bStop1,1
} }
// down button // down button
spstr tId.txt,tTmp.txt,"|",2 spstr tId.txt,tTmp.txt,"|",5
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bDown1.pco=27501 bDown1.pco=27501
spstr tId.txt,bDown1.txt,"|",2
tsw bDown1,0 tsw bDown1,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bDown1.pco=65535 bDown1.pco=65535
bDown1.txt=tTmp.txt spstr tId.txt,bDown1.txt,"|",2
tsw bDown1,1 tsw bDown1,1
} }
} }
@@ -1440,39 +1443,42 @@ Timer tmSerial
// get Button State (optional Value) // get Button State (optional Value)
spstr strCommand.txt,tId.txt,"~",14 spstr strCommand.txt,tId.txt,"~",14
// up button // up button
spstr tId.txt,tTmp.txt,"|",0 spstr tId.txt,tTmp.txt,"|",3
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bUp2.pco=27501 bUp2.pco=27501
spstr tId.txt,bUp2.txt,"|",0
tsw bUp2,0 tsw bUp2,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bUp2.pco=65535 bUp2.pco=65535
bUp2.txt=tTmp.txt spstr tId.txt,bUp2.txt,"|",0
tsw bUp2,1 tsw bUp2,1
} }
// stop button // stop button
spstr tId.txt,tTmp.txt,"|",1 spstr tId.txt,tTmp.txt,"|",4
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bStop2.pco=27501 bStop2.pco=27501
spstr tId.txt,bStop2.txt,"|",1
tsw bStop2,0 tsw bStop2,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bStop2.pco=65535 bStop2.pco=65535
bStop2.txt=tTmp.txt spstr tId.txt,bStop2.txt,"|",1
tsw bStop2,1 tsw bStop2,1
} }
// down button // down button
spstr tId.txt,tTmp.txt,"|",2 spstr tId.txt,tTmp.txt,"|",5
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bDown2.pco=27501 bDown2.pco=27501
spstr tId.txt,bDown2.txt,"|",2
tsw bDown2,0 tsw bDown2,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bDown2.pco=65535 bDown2.pco=65535
bDown2.txt=tTmp.txt spstr tId.txt,bDown2.txt,"|",2
tsw bDown2,1 tsw bDown2,1
} }
} }
@@ -1600,39 +1606,42 @@ Timer tmSerial
// get Button State (optional Value) // get Button State (optional Value)
spstr strCommand.txt,tId.txt,"~",20 spstr strCommand.txt,tId.txt,"~",20
// up button // up button
spstr tId.txt,tTmp.txt,"|",0 spstr tId.txt,tTmp.txt,"|",3
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bUp3.pco=27501 bUp3.pco=27501
spstr tId.txt,bUp3.txt,"|",0
tsw bUp3,0 tsw bUp3,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bUp3.pco=65535 bUp3.pco=65535
bUp3.txt=tTmp.txt spstr tId.txt,bUp3.txt,"|",0
tsw bUp3,1 tsw bUp3,1
} }
// stop button // stop button
spstr tId.txt,tTmp.txt,"|",1 spstr tId.txt,tTmp.txt,"|",4
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bStop3.pco=27501 bStop3.pco=27501
spstr tId.txt,bStop3.txt,"|",1
tsw bStop3,0 tsw bStop3,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bStop3.pco=65535 bStop3.pco=65535
bStop3.txt=tTmp.txt spstr tId.txt,bStop3.txt,"|",1
tsw bStop3,1 tsw bStop3,1
} }
// down button // down button
spstr tId.txt,tTmp.txt,"|",2 spstr tId.txt,tTmp.txt,"|",5
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bDown3.pco=27501 bDown3.pco=27501
spstr tId.txt,bDown3.txt,"|",2
tsw bDown3,0 tsw bDown3,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bDown3.pco=65535 bDown3.pco=65535
bDown3.txt=tTmp.txt spstr tId.txt,bDown3.txt,"|",2
tsw bDown3,1 tsw bDown3,1
} }
} }
@@ -1760,39 +1769,42 @@ Timer tmSerial
// get Button State (optional Value) // get Button State (optional Value)
spstr strCommand.txt,tId.txt,"~",26 spstr strCommand.txt,tId.txt,"~",26
// up button // up button
spstr tId.txt,tTmp.txt,"|",0 spstr tId.txt,tTmp.txt,"|",3
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bUp4.pco=27501 bUp4.pco=27501
spstr tId.txt,bUp4.txt,"|",0
tsw bUp4,0 tsw bUp4,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bUp4.pco=65535 bUp4.pco=65535
bUp4.txt=tTmp.txt spstr tId.txt,bUp4.txt,"|",0
tsw bUp4,1 tsw bUp4,1
} }
// stop button // stop button
spstr tId.txt,tTmp.txt,"|",1 spstr tId.txt,tTmp.txt,"|",4
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bStop4.pco=27501 bStop4.pco=27501
spstr tId.txt,bStop4.txt,"|",1
tsw bStop4,0 tsw bStop4,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bStop4.pco=65535 bStop4.pco=65535
bStop4.txt=tTmp.txt spstr tId.txt,bStop4.txt,"|",1
tsw bStop4,1 tsw bStop4,1
} }
// down button // down button
spstr tId.txt,tTmp.txt,"|",2 spstr tId.txt,tTmp.txt,"|",5
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
bDown4.pco=27501 bDown4.pco=27501
spstr tId.txt,bDown4.txt,"|",2
tsw bDown4,0 tsw bDown4,0
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bDown4.pco=65535 bDown4.pco=65535
bDown4.txt=tTmp.txt spstr tId.txt,bDown4.txt,"|",2
tsw bDown4,1 tsw bDown4,1
} }
} }

View File

@@ -361,38 +361,41 @@ Timer tmSerial
tIcon1.txt=tTmp.txt tIcon1.txt=tTmp.txt
} }
// set icon bUp // set icon bUp
spstr strCommand.txt,tTmp.txt,"~",5 spstr strCommand.txt,tTmp.txt,"~",8
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
tsw bUp1,0 tsw bUp1,0
spstr strCommand.txt,bUp1.txt,"~",5
bUp1.pco=27501 bUp1.pco=27501
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bUp1.txt=tTmp.txt spstr strCommand.txt,bUp1.txt,"~",5
tsw bUp1,1 tsw bUp1,1
bUp1.pco=65535 bUp1.pco=65535
} }
// set icon bStop // set icon bStop
spstr strCommand.txt,tTmp.txt,"~",6 spstr strCommand.txt,tTmp.txt,"~",9
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
tsw bStop1,0 tsw bStop1,0
spstr strCommand.txt,bStop1.txt,"~",6
bStop1.pco=27501 bStop1.pco=27501
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bStop1.txt=tTmp.txt spstr strCommand.txt,bStop1.txt,"~",6
tsw bStop1,1 tsw bStop1,1
bStop1.pco=65535 bStop1.pco=65535
} }
// set icon bDown // set icon bDown
spstr strCommand.txt,tTmp.txt,"~",7 spstr strCommand.txt,tTmp.txt,"~",10
if(tTmp.txt=="disable") if(tTmp.txt=="disable")
{ {
spstr strCommand.txt,bDown1.txt,"~",7
tsw bDown1,0 tsw bDown1,0
bDown1.pco=27501 bDown1.pco=27501
}else if(tTmp.txt!="") }else if(tTmp.txt=="enable")
{ {
bDown1.txt=tTmp.txt spstr strCommand.txt,bDown1.txt,"~",7
tsw bDown1,1 tsw bDown1,1
bDown1.pco=65535 bDown1.pco=65535
} }