moved entities page to new button format (add nextion2text)

This commit is contained in:
joBr99
2022-03-22 22:27:44 +00:00
committed by GitHub Actions
parent 004db45be6
commit 84df05ee3a
2 changed files with 48 additions and 188 deletions

View File

@@ -541,8 +541,8 @@ Button bDown1
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 379 x coordinate : 377
y coordinate : 76 y coordinate : 75
Width : 50 Width : 50
Height : 50 Height : 50
Effect : load Effect : load
@@ -567,14 +567,7 @@ Button bDown1
Events Events
Touch Press Event Touch Press Event
// event,1,tHeading,tEntityName,1,up tSend.txt="event,buttonPress2,"+entn1.txt+",down"
//craft command
// convert pageNumber and write to tTmp
covx nPage,tTmp.txt,0,0
tSend.txt="event,buttonPress,"+tTmp.txt+","
tSend.txt+=tHeading.txt+","
tSend.txt+=entn1.txt+","
tSend.txt+="1,down"
//send calc crc //send calc crc
btlen tSend.txt,sys0 btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC crcrest 1,0xffff // reset CRC
@@ -596,7 +589,7 @@ Button bUp1
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 275 x coordinate : 275
y coordinate : 76 y coordinate : 75
Width : 50 Width : 50
Height : 50 Height : 50
Effect : load Effect : load
@@ -621,14 +614,7 @@ Button bUp1
Events Events
Touch Press Event Touch Press Event
// event,1,tHeading,tEntityName,1,up tSend.txt="event,buttonPress2,"+entn1.txt+",up"
//craft command
// convert pageNumber and write to tTmp
covx nPage,tTmp.txt,0,0
tSend.txt="event,buttonPress,"+tTmp.txt+","
tSend.txt+=tHeading.txt+","
tSend.txt+=entn1.txt+","
tSend.txt+="1,up"
//send calc crc //send calc crc
btlen tSend.txt,sys0 btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC crcrest 1,0xffff // reset CRC
@@ -649,8 +635,8 @@ Button bStop1
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 327 x coordinate : 325
y coordinate : 76 y coordinate : 75
Width : 50 Width : 50
Height : 50 Height : 50
Effect : load Effect : load
@@ -675,14 +661,7 @@ Button bStop1
Events Events
Touch Press Event Touch Press Event
// event,1,tHeading,tEntityName,1,up tSend.txt="event,buttonPress2,"+entn1.txt+",stop"
//craft command
// convert pageNumber and write to tTmp
covx nPage,tTmp.txt,0,0
tSend.txt="event,buttonPress,"+tTmp.txt+","
tSend.txt+=tHeading.txt+","
tSend.txt+=entn1.txt+","
tSend.txt+="1,stop"
//send calc crc //send calc crc
btlen tSend.txt,sys0 btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC crcrest 1,0xffff // reset CRC
@@ -703,8 +682,8 @@ Button bStop2
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 327 x coordinate : 326
y coordinate : 133 y coordinate : 132
Width : 50 Width : 50
Height : 50 Height : 50
Effect : load Effect : load
@@ -729,14 +708,7 @@ Button bStop2
Events Events
Touch Press Event Touch Press Event
// event,1,tHeading,tEntityName,1,up tSend.txt="event,buttonPress2,"+entn2.txt+",stop"
//craft command
// convert pageNumber and write to tTmp
covx nPage,tTmp.txt,0,0
tSend.txt="event,buttonPress,"+tTmp.txt+","
tSend.txt+=tHeading.txt+","
tSend.txt+=entn2.txt+","
tSend.txt+="2,stop"
//send calc crc //send calc crc
btlen tSend.txt,sys0 btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC crcrest 1,0xffff // reset CRC
@@ -757,8 +729,8 @@ Button bDown2
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 379 x coordinate : 377
y coordinate : 133 y coordinate : 131
Width : 50 Width : 50
Height : 50 Height : 50
Effect : load Effect : load
@@ -783,14 +755,7 @@ Button bDown2
Events Events
Touch Press Event Touch Press Event
// event,1,tHeading,tEntityName,1,up tSend.txt="event,buttonPress2,"+entn2.txt+",down"
//craft command
// convert pageNumber and write to tTmp
covx nPage,tTmp.txt,0,0
tSend.txt="event,buttonPress,"+tTmp.txt+","
tSend.txt+=tHeading.txt+","
tSend.txt+=entn2.txt+","
tSend.txt+="2,down"
//send calc crc //send calc crc
btlen tSend.txt,sys0 btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC crcrest 1,0xffff // reset CRC
@@ -812,7 +777,7 @@ Button bUp2
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 275 x coordinate : 275
y coordinate : 133 y coordinate : 132
Width : 50 Width : 50
Height : 50 Height : 50
Effect : load Effect : load
@@ -837,14 +802,7 @@ Button bUp2
Events Events
Touch Press Event Touch Press Event
// event,1,tHeading,tEntityName,1,up tSend.txt="event,buttonPress2,"+entn2.txt+",up"
//craft command
// convert pageNumber and write to tTmp
covx nPage,tTmp.txt,0,0
tSend.txt="event,buttonPress,"+tTmp.txt+","
tSend.txt+=tHeading.txt+","
tSend.txt+=entn2.txt+","
tSend.txt+="2,up"
//send calc crc //send calc crc
btlen tSend.txt,sys0 btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC crcrest 1,0xffff // reset CRC
@@ -865,8 +823,8 @@ Button bStop3
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 327 x coordinate : 326
y coordinate : 186 y coordinate : 185
Width : 50 Width : 50
Height : 50 Height : 50
Effect : load Effect : load
@@ -891,14 +849,7 @@ Button bStop3
Events Events
Touch Press Event Touch Press Event
// event,1,tHeading,tEntityName,1,up tSend.txt="event,buttonPress2,"+entn3.txt+",stop"
//craft command
// convert pageNumber and write to tTmp
covx nPage,tTmp.txt,0,0
tSend.txt="event,buttonPress,"+tTmp.txt+","
tSend.txt+=tHeading.txt+","
tSend.txt+=entn3.txt+","
tSend.txt+="3,stop"
//send calc crc //send calc crc
btlen tSend.txt,sys0 btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC crcrest 1,0xffff // reset CRC
@@ -919,8 +870,8 @@ Button bDown3
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 379 x coordinate : 378
y coordinate : 186 y coordinate : 185
Width : 50 Width : 50
Height : 50 Height : 50
Effect : load Effect : load
@@ -945,14 +896,7 @@ Button bDown3
Events Events
Touch Press Event Touch Press Event
// event,1,tHeading,tEntityName,1,up tSend.txt="event,buttonPress2,"+entn3.txt+",down"
//craft command
// convert pageNumber and write to tTmp
covx nPage,tTmp.txt,0,0
tSend.txt="event,buttonPress,"+tTmp.txt+","
tSend.txt+=tHeading.txt+","
tSend.txt+=entn3.txt+","
tSend.txt+="3,down"
//send calc crc //send calc crc
btlen tSend.txt,sys0 btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC crcrest 1,0xffff // reset CRC
@@ -999,14 +943,7 @@ Button bUp3
Events Events
Touch Press Event Touch Press Event
// event,1,tHeading,tEntityName,1,up tSend.txt="event,buttonPress2,"+entn3.txt+",up"
//craft command
// convert pageNumber and write to tTmp
covx nPage,tTmp.txt,0,0
tSend.txt="event,buttonPress,"+tTmp.txt+","
tSend.txt+=tHeading.txt+","
tSend.txt+=entn3.txt+","
tSend.txt+="3,up"
//send calc crc //send calc crc
btlen tSend.txt,sys0 btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC crcrest 1,0xffff // reset CRC
@@ -1027,8 +964,8 @@ Button bStop4
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 327 x coordinate : 326
y coordinate : 242 y coordinate : 241
Width : 50 Width : 50
Height : 50 Height : 50
Effect : load Effect : load
@@ -1053,14 +990,7 @@ Button bStop4
Events Events
Touch Press Event Touch Press Event
// event,1,tHeading,tEntityName,1,up tSend.txt="event,buttonPress2,"+entn4.txt+",stop"
//craft command
// convert pageNumber and write to tTmp
covx nPage,tTmp.txt,0,0
tSend.txt="event,buttonPress,"+tTmp.txt+","
tSend.txt+=tHeading.txt+","
tSend.txt+=entn4.txt+","
tSend.txt+="4,stop"
//send calc crc //send calc crc
btlen tSend.txt,sys0 btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC crcrest 1,0xffff // reset CRC
@@ -1081,8 +1011,8 @@ Button bDown4
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 378 x coordinate : 377
y coordinate : 242 y coordinate : 241
Width : 50 Width : 50
Height : 50 Height : 50
Effect : load Effect : load
@@ -1107,14 +1037,7 @@ Button bDown4
Events Events
Touch Press Event Touch Press Event
// event,1,tHeading,tEntityName,1,up tSend.txt="event,buttonPress2,"+entn4.txt+",down"
//craft command
// convert pageNumber and write to tTmp
covx nPage,tTmp.txt,0,0
tSend.txt="event,buttonPress,"+tTmp.txt+","
tSend.txt+=tHeading.txt+","
tSend.txt+=entn4.txt+","
tSend.txt+="4,down"
//send calc crc //send calc crc
btlen tSend.txt,sys0 btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC crcrest 1,0xffff // reset CRC
@@ -1161,14 +1084,7 @@ Button bUp4
Events Events
Touch Press Event Touch Press Event
// event,1,tHeading,tEntityName,1,up tSend.txt="event,buttonPress2,"+entn4.txt+",up"
//craft command
// convert pageNumber and write to tTmp
covx nPage,tTmp.txt,0,0
tSend.txt="event,buttonPress,"+tTmp.txt+","
tSend.txt+=tHeading.txt+","
tSend.txt+=entn4.txt+","
tSend.txt+="4,up"
//send calc crc //send calc crc
btlen tSend.txt,sys0 btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC crcrest 1,0xffff // reset CRC
@@ -1321,14 +1237,7 @@ Button bText1
Events Events
Touch Press Event Touch Press Event
// event,1,tHeading,tEntityName,1,up tSend.txt="event,buttonPress2,"+entn1.txt+",button"
//craft command
// convert pageNumber and write to tTmp
covx nPage,tTmp.txt,0,0
tSend.txt="event,buttonPress,"+tTmp.txt+","
tSend.txt+=tHeading.txt+","
tSend.txt+=entn1.txt+","
tSend.txt+="1,button"
//send calc crc //send calc crc
btlen tSend.txt,sys0 btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC crcrest 1,0xffff // reset CRC
@@ -1349,8 +1258,8 @@ Button bText2
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 277 x coordinate : 276
y coordinate : 141 y coordinate : 140
Width : 145 Width : 145
Height : 30 Height : 30
Effect : load Effect : load
@@ -1375,14 +1284,7 @@ Button bText2
Events Events
Touch Press Event Touch Press Event
// event,1,tHeading,tEntityName,1,up tSend.txt="event,buttonPress2,"+entn2.txt+",button"
//craft command
// convert pageNumber and write to tTmp
covx nPage,tTmp.txt,0,0
tSend.txt="event,buttonPress,"+tTmp.txt+","
tSend.txt+=tHeading.txt+","
tSend.txt+=entn2.txt+","
tSend.txt+="1,button"
//send calc crc //send calc crc
btlen tSend.txt,sys0 btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC crcrest 1,0xffff // reset CRC
@@ -1429,14 +1331,7 @@ Button bText3
Events Events
Touch Press Event Touch Press Event
// event,1,tHeading,tEntityName,1,up tSend.txt="event,buttonPress2,"+entn3.txt+",button"
//craft command
// convert pageNumber and write to tTmp
covx nPage,tTmp.txt,0,0
tSend.txt="event,buttonPress,"+tTmp.txt+","
tSend.txt+=tHeading.txt+","
tSend.txt+=entn3.txt+","
tSend.txt+="1,button"
//send calc crc //send calc crc
btlen tSend.txt,sys0 btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC crcrest 1,0xffff // reset CRC
@@ -1483,14 +1378,7 @@ Button bText4
Events Events
Touch Press Event Touch Press Event
// event,1,tHeading,tEntityName,1,up tSend.txt="event,buttonPress2,"+entn4.txt+",button"
//craft command
// convert pageNumber and write to tTmp
covx nPage,tTmp.txt,0,0
tSend.txt="event,buttonPress,"+tTmp.txt+","
tSend.txt+=tHeading.txt+","
tSend.txt+=entn4.txt+","
tSend.txt+="1,button"
//send calc crc //send calc crc
btlen tSend.txt,sys0 btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC crcrest 1,0xffff // reset CRC
@@ -1511,8 +1399,8 @@ Dual-state Button btOnOff1
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 374 x coordinate : 373
y coordinate : 76 y coordinate : 75
Width : 50 Width : 50
Height : 50 Height : 50
Effect : load Effect : load
@@ -1533,14 +1421,7 @@ Dual-state Button btOnOff1
Events Events
Touch Press Event Touch Press Event
// event,1,tHeading,tEntityName,1,up tSend.txt="event,buttonPress2,"+entn1.txt+",OnOff,"
//craft command
// convert pageNumber and write to tTmp
covx nPage,tTmp.txt,0,0
tSend.txt="event,buttonPress,"+tTmp.txt+","
tSend.txt+=tHeading.txt+","
tSend.txt+=entn1.txt+","
tSend.txt+="1,OnOff,"
covx btOnOff1.val,tTmp.txt,0,0 covx btOnOff1.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt tSend.txt+=tTmp.txt
//send calc crc //send calc crc
@@ -1563,8 +1444,8 @@ Dual-state Button btOnOff2
Disable release event after dragging: 0 Disable release event after dragging: 0
Send Component ID : disabled Send Component ID : disabled
Opacity : 127 Opacity : 127
x coordinate : 374 x coordinate : 373
y coordinate : 133 y coordinate : 132
Width : 50 Width : 50
Height : 50 Height : 50
Effect : load Effect : load
@@ -1585,14 +1466,7 @@ Dual-state Button btOnOff2
Events Events
Touch Press Event Touch Press Event
// event,1,tHeading,tEntityName,1,up tSend.txt="event,buttonPress2,"+entn2.txt+",OnOff,"
//craft command
// convert pageNumber and write to tTmp
covx nPage,tTmp.txt,0,0
tSend.txt="event,buttonPress,"+tTmp.txt+","
tSend.txt+=tHeading.txt+","
tSend.txt+=entn2.txt+","
tSend.txt+="2,OnOff,"
covx btOnOff2.val,tTmp.txt,0,0 covx btOnOff2.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt tSend.txt+=tTmp.txt
//send calc crc //send calc crc
@@ -1637,14 +1511,7 @@ Dual-state Button btOnOff3
Events Events
Touch Press Event Touch Press Event
// event,1,tHeading,tEntityName,1,up tSend.txt="event,buttonPress2,"+entn3.txt+",OnOff,"
//craft command
// convert pageNumber and write to tTmp
covx nPage,tTmp.txt,0,0
tSend.txt="event,buttonPress,"+tTmp.txt+","
tSend.txt+=tHeading.txt+","
tSend.txt+=entn3.txt+","
tSend.txt+="3,OnOff,"
covx btOnOff3.val,tTmp.txt,0,0 covx btOnOff3.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt tSend.txt+=tTmp.txt
//send calc crc //send calc crc
@@ -1689,14 +1556,7 @@ Dual-state Button btOnOff4
Events Events
Touch Press Event Touch Press Event
// event,1,tHeading,tEntityName,1,up tSend.txt="event,buttonPress2,"+entn4.txt+",OnOff,"
//craft command
// convert pageNumber and write to tTmp
covx nPage,tTmp.txt,0,0
tSend.txt="event,buttonPress,"+tTmp.txt+","
tSend.txt+=tHeading.txt+","
tSend.txt+=entn4.txt+","
tSend.txt+="4,OnOff,"
covx btOnOff4.val,tTmp.txt,0,0 covx btOnOff4.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt tSend.txt+=tTmp.txt
//send calc crc //send calc crc

View File

@@ -52,8 +52,8 @@ cardGrid
221 Unique line(s) of event code 221 Unique line(s) of event code
cardEntities cardEntities
54 Component(s) 54 Component(s)
808 Line(s) of event code 728 Line(s) of event code
320 Unique line(s) of event code 317 Unique line(s) of event code
cardAlarm cardAlarm
35 Component(s) 35 Component(s)
259 Line(s) of event code 259 Line(s) of event code
@@ -62,5 +62,5 @@ cardAlarm
Total Total
14 Page(s) 14 Page(s)
349 Component(s) 349 Component(s)
3185 Line(s) of event code 3105 Line(s) of event code
834 Unique line(s) of event code 827 Unique line(s) of event code