mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-11 07:46:33 +01:00
centered temp in single mode (add nextion2text)
This commit is contained in:
committed by
github-actions[bot]
parent
ffa37f0869
commit
d49874c053
@@ -1,6 +1,6 @@
|
||||
diff -bur HMI/n2t-out/Program.s.txt HMI/US/landscape/n2t-out/Program.s.txt
|
||||
--- HMI/n2t-out/Program.s.txt 2022-05-14 12:54:21.199132759 +0000
|
||||
+++ HMI/US/landscape/n2t-out/Program.s.txt 2022-05-14 12:54:22.003143502 +0000
|
||||
--- HMI/n2t-out/Program.s.txt 2022-05-14 14:37:58.882388573 +0000
|
||||
+++ HMI/US/landscape/n2t-out/Program.s.txt 2022-05-14 14:37:59.678399277 +0000
|
||||
@@ -11,6 +11,4 @@
|
||||
// dim value
|
||||
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
|
||||
page pageStartup
|
||||
diff -bur HMI/n2t-out/cardAlarm.txt HMI/US/landscape/n2t-out/cardAlarm.txt
|
||||
--- HMI/n2t-out/cardAlarm.txt 2022-05-14 12:54:21.203132813 +0000
|
||||
+++ HMI/US/landscape/n2t-out/cardAlarm.txt 2022-05-14 12:54:22.003143502 +0000
|
||||
--- HMI/n2t-out/cardAlarm.txt 2022-05-14 14:37:58.882388573 +0000
|
||||
+++ HMI/US/landscape/n2t-out/cardAlarm.txt 2022-05-14 14:37:59.678399277 +0000
|
||||
@@ -466,90 +466,6 @@
|
||||
prints crcval,2
|
||||
tCode.txt=""
|
||||
@@ -103,8 +103,8 @@ diff -bur HMI/n2t-out/cardAlarm.txt HMI/US/landscape/n2t-out/cardAlarm.txt
|
||||
Attributes
|
||||
Scope : local
|
||||
diff -bur HMI/n2t-out/cardEntities.txt HMI/US/landscape/n2t-out/cardEntities.txt
|
||||
--- HMI/n2t-out/cardEntities.txt 2022-05-14 12:54:21.203132813 +0000
|
||||
+++ HMI/US/landscape/n2t-out/cardEntities.txt 2022-05-14 12:54:22.003143502 +0000
|
||||
--- HMI/n2t-out/cardEntities.txt 2022-05-14 14:37:58.882388573 +0000
|
||||
+++ HMI/US/landscape/n2t-out/cardEntities.txt 2022-05-14 14:37:59.678399277 +0000
|
||||
@@ -1074,90 +1074,6 @@
|
||||
page popupLight
|
||||
}
|
||||
@@ -197,8 +197,8 @@ diff -bur HMI/n2t-out/cardEntities.txt HMI/US/landscape/n2t-out/cardEntities.txt
|
||||
Attributes
|
||||
Scope : local
|
||||
diff -bur HMI/n2t-out/cardGrid.txt HMI/US/landscape/n2t-out/cardGrid.txt
|
||||
--- HMI/n2t-out/cardGrid.txt 2022-05-14 12:54:21.203132813 +0000
|
||||
+++ HMI/US/landscape/n2t-out/cardGrid.txt 2022-05-14 12:54:22.003143502 +0000
|
||||
--- HMI/n2t-out/cardGrid.txt 2022-05-14 14:37:58.882388573 +0000
|
||||
+++ HMI/US/landscape/n2t-out/cardGrid.txt 2022-05-14 14:37:59.678399277 +0000
|
||||
@@ -522,90 +522,6 @@
|
||||
page pageTest
|
||||
}
|
||||
@@ -291,8 +291,8 @@ diff -bur HMI/n2t-out/cardGrid.txt HMI/US/landscape/n2t-out/cardGrid.txt
|
||||
Attributes
|
||||
Scope : local
|
||||
diff -bur HMI/n2t-out/cardMedia.txt HMI/US/landscape/n2t-out/cardMedia.txt
|
||||
--- HMI/n2t-out/cardMedia.txt 2022-05-14 12:54:21.199132759 +0000
|
||||
+++ HMI/US/landscape/n2t-out/cardMedia.txt 2022-05-14 12:54:22.003143502 +0000
|
||||
--- HMI/n2t-out/cardMedia.txt 2022-05-14 14:37:58.882388573 +0000
|
||||
+++ HMI/US/landscape/n2t-out/cardMedia.txt 2022-05-14 14:37:59.678399277 +0000
|
||||
@@ -223,7 +223,7 @@
|
||||
|
||||
Events
|
||||
@@ -403,8 +403,8 @@ diff -bur HMI/n2t-out/cardMedia.txt HMI/US/landscape/n2t-out/cardMedia.txt
|
||||
Attributes
|
||||
Scope : local
|
||||
diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
|
||||
--- HMI/n2t-out/cardThermo.txt 2022-05-14 12:54:21.203132813 +0000
|
||||
+++ HMI/US/landscape/n2t-out/cardThermo.txt 2022-05-14 12:54:22.003143502 +0000
|
||||
--- HMI/n2t-out/cardThermo.txt 2022-05-14 14:37:58.882388573 +0000
|
||||
+++ HMI/US/landscape/n2t-out/cardThermo.txt 2022-05-14 14:37:59.678399277 +0000
|
||||
@@ -17,12 +17,9 @@
|
||||
vis tInstruction,0
|
||||
vis tTmp,0
|
||||
@@ -421,7 +421,7 @@ diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
|
||||
//tEntity.txt=tHeading.txt
|
||||
// disable all buttons
|
||||
vis bt0,0
|
||||
@@ -33,10 +30,7 @@
|
||||
@@ -33,14 +30,7 @@
|
||||
vis bt5,0
|
||||
vis bt6,0
|
||||
vis bt7,0
|
||||
@@ -429,11 +429,15 @@ diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
|
||||
- vis bUp2,0
|
||||
- vis bDown2,0
|
||||
- vis xTempDest2,0
|
||||
- vis t2,0
|
||||
- vis btUp1,0
|
||||
- vis btDown1,0
|
||||
- vis xTempDest1,0
|
||||
+ vis bt8,0
|
||||
vis bPrev,0
|
||||
vis bNext,0
|
||||
|
||||
@@ -100,30 +94,12 @@
|
||||
@@ -104,30 +94,12 @@
|
||||
Text :
|
||||
Max. Text Size: 10
|
||||
|
||||
@@ -465,47 +469,56 @@ diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
|
||||
XFloat xTempCurr
|
||||
Attributes
|
||||
Scope : local
|
||||
@@ -133,7 +109,7 @@
|
||||
@@ -137,16 +109,7 @@
|
||||
Associated Keyboard : none
|
||||
Value : 0
|
||||
|
||||
-XFloat xTempDest1
|
||||
- Attributes
|
||||
- Scope : local
|
||||
- Dragging : 0
|
||||
- Disable release event after dragging: 0
|
||||
- Send Component ID : disabled
|
||||
- Associated Keyboard : none
|
||||
- Value : 0
|
||||
-
|
||||
-XFloat xTempMin1
|
||||
+XFloat xTempDest
|
||||
Attributes
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
@@ -142,7 +118,7 @@
|
||||
Associated Keyboard : none
|
||||
Value : 0
|
||||
|
||||
-XFloat xTempMin1
|
||||
+XFloat xTempMin
|
||||
Attributes
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
@@ -151,7 +127,7 @@
|
||||
@@ -155,7 +118,7 @@
|
||||
Associated Keyboard : none
|
||||
Value : 0
|
||||
|
||||
-XFloat xTempMax1
|
||||
+XFloat xTempMax
|
||||
+XFloat xTempMin
|
||||
Attributes
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
@@ -160,7 +136,7 @@
|
||||
@@ -164,7 +127,7 @@
|
||||
Associated Keyboard : none
|
||||
Value : 0
|
||||
|
||||
-XFloat xTempStep1
|
||||
+XFloat xTempStep
|
||||
+XFloat xTempMax
|
||||
Attributes
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
@@ -169,41 +145,45 @@
|
||||
@@ -173,7 +136,7 @@
|
||||
Associated Keyboard : none
|
||||
Value : 0
|
||||
|
||||
-XFloat xTempDest2
|
||||
+XFloat xTempStep
|
||||
Attributes
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
@@ -182,41 +145,45 @@
|
||||
Associated Keyboard : none
|
||||
Value : 0
|
||||
|
||||
-XFloat xTempMin2
|
||||
+Text tSend
|
||||
Attributes
|
||||
Scope : local
|
||||
@@ -517,7 +530,7 @@ diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
|
||||
+ Text : newtxt
|
||||
+ Max. Text Size : 100
|
||||
|
||||
-XFloat xTempMin2
|
||||
-XFloat xTempMax2
|
||||
+Text tTmp
|
||||
Attributes
|
||||
Scope : local
|
||||
@@ -529,7 +542,7 @@ diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
|
||||
+ Text :
|
||||
+ Max. Text Size : 10
|
||||
|
||||
-XFloat xTempMax2
|
||||
-XFloat xTempStep2
|
||||
+Text tInstruction
|
||||
Attributes
|
||||
Scope : local
|
||||
@@ -541,7 +554,7 @@ diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
|
||||
+ Text :
|
||||
+ Max. Text Size : 20
|
||||
|
||||
-XFloat xTempStep2
|
||||
-XFloat xTempDest
|
||||
+Text tId
|
||||
Attributes
|
||||
Scope : local
|
||||
@@ -555,7 +568,7 @@ diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
|
||||
|
||||
Text tHeading
|
||||
Attributes
|
||||
@@ -235,46 +215,6 @@
|
||||
@@ -248,56 +215,6 @@
|
||||
Text : î
|
||||
Max. Text Size : 10
|
||||
|
||||
@@ -598,11 +611,21 @@ diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
|
||||
- Associated Keyboard : none
|
||||
- Text : Action
|
||||
- Max. Text Size : 30
|
||||
-
|
||||
-Text t1
|
||||
- Attributes
|
||||
- Scope : local
|
||||
- Dragging : 0
|
||||
- Disable release event after dragging: 0
|
||||
- Send Component ID : disabled
|
||||
- Associated Keyboard : none
|
||||
- Text : î
|
||||
- Max. Text Size : 10
|
||||
-
|
||||
Picture p0
|
||||
Attributes
|
||||
Scope : local
|
||||
@@ -366,7 +306,7 @@
|
||||
@@ -389,7 +306,7 @@
|
||||
prints tSend.txt,0
|
||||
prints crcval,2
|
||||
|
||||
@@ -611,7 +634,7 @@ diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
|
||||
Attributes
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
@@ -380,7 +320,7 @@
|
||||
@@ -403,7 +320,7 @@
|
||||
Touch Press Event
|
||||
//craft command
|
||||
tSend.txt="event,buttonPress2,"+entn.txt
|
||||
@@ -620,7 +643,7 @@ diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
|
||||
//send calc crc
|
||||
btlen tSend.txt,sys0
|
||||
crcrest 1,0xffff // reset CRC
|
||||
@@ -393,7 +333,7 @@
|
||||
@@ -416,7 +333,7 @@
|
||||
prints tSend.txt,0
|
||||
prints crcval,2
|
||||
|
||||
@@ -629,7 +652,7 @@ diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
|
||||
Attributes
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
@@ -407,7 +347,7 @@
|
||||
@@ -430,7 +347,7 @@
|
||||
Touch Press Event
|
||||
//craft command
|
||||
tSend.txt="event,buttonPress2,"+entn.txt
|
||||
@@ -638,7 +661,7 @@ diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
|
||||
//send calc crc
|
||||
btlen tSend.txt,sys0
|
||||
crcrest 1,0xffff // reset CRC
|
||||
@@ -420,7 +360,7 @@
|
||||
@@ -443,7 +360,7 @@
|
||||
prints tSend.txt,0
|
||||
prints crcval,2
|
||||
|
||||
@@ -647,7 +670,7 @@ diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
|
||||
Attributes
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
@@ -434,7 +374,7 @@
|
||||
@@ -457,7 +374,7 @@
|
||||
Touch Press Event
|
||||
//craft command
|
||||
tSend.txt="event,buttonPress2,"+entn.txt
|
||||
@@ -656,7 +679,7 @@ diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
|
||||
//send calc crc
|
||||
btlen tSend.txt,sys0
|
||||
crcrest 1,0xffff // reset CRC
|
||||
@@ -447,13 +387,13 @@
|
||||
@@ -470,13 +387,13 @@
|
||||
prints tSend.txt,0
|
||||
prints crcval,2
|
||||
|
||||
@@ -672,7 +695,7 @@ diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
|
||||
Text : î
|
||||
Max. Text Size : 10
|
||||
|
||||
@@ -461,7 +401,7 @@
|
||||
@@ -484,7 +401,7 @@
|
||||
Touch Press Event
|
||||
//craft command
|
||||
tSend.txt="event,buttonPress2,"+entn.txt
|
||||
@@ -681,7 +704,7 @@ diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
|
||||
//send calc crc
|
||||
btlen tSend.txt,sys0
|
||||
crcrest 1,0xffff // reset CRC
|
||||
@@ -474,7 +414,7 @@
|
||||
@@ -497,7 +414,7 @@
|
||||
prints tSend.txt,0
|
||||
prints crcval,2
|
||||
|
||||
@@ -690,7 +713,7 @@ diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
|
||||
Attributes
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
@@ -488,7 +428,7 @@
|
||||
@@ -511,7 +428,7 @@
|
||||
Touch Press Event
|
||||
//craft command
|
||||
tSend.txt="event,buttonPress2,"+entn.txt
|
||||
@@ -699,7 +722,7 @@ diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
|
||||
//send calc crc
|
||||
btlen tSend.txt,sys0
|
||||
crcrest 1,0xffff // reset CRC
|
||||
@@ -501,7 +441,7 @@
|
||||
@@ -524,7 +441,7 @@
|
||||
prints tSend.txt,0
|
||||
prints crcval,2
|
||||
|
||||
@@ -708,7 +731,7 @@ diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
|
||||
Attributes
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
@@ -515,7 +455,7 @@
|
||||
@@ -538,7 +455,7 @@
|
||||
Touch Press Event
|
||||
//craft command
|
||||
tSend.txt="event,buttonPress2,"+entn.txt
|
||||
@@ -717,16 +740,17 @@ diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
|
||||
//send calc crc
|
||||
btlen tSend.txt,sys0
|
||||
crcrest 1,0xffff // reset CRC
|
||||
@@ -555,66 +495,21 @@
|
||||
@@ -578,138 +495,21 @@
|
||||
prints tSend.txt,0
|
||||
prints crcval,2
|
||||
|
||||
-Dual-state Button btUp1
|
||||
- Attributes
|
||||
- Scope : local
|
||||
- Dragging : 0
|
||||
- Disable release event after dragging: 0
|
||||
- Send Component ID : disabled
|
||||
+Dual-state Button bt8
|
||||
Attributes
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
- State : unpressed
|
||||
- Text : î
|
||||
- Max. Text Size : 10
|
||||
@@ -758,12 +782,83 @@ diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
|
||||
- prints crcval,2
|
||||
-
|
||||
-Dual-state Button btDown1
|
||||
+Dual-state Button bt8
|
||||
Attributes
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
- Attributes
|
||||
- Scope : local
|
||||
- Dragging : 0
|
||||
- Disable release event after dragging: 0
|
||||
- Send Component ID : disabled
|
||||
- State : unpressed
|
||||
- Text : î¿
|
||||
- Max. Text Size : 10
|
||||
-
|
||||
- Events
|
||||
- Touch Press Event
|
||||
- if(xTempDest1.val>xTempMin1.val)
|
||||
- {
|
||||
- xTempDest1.val=xTempDest1.val-xTempStep1.val
|
||||
- }
|
||||
- // event,buttonPress2,entn,tempUpd,X
|
||||
- //craft command
|
||||
- tSend.txt="event,buttonPress2,"
|
||||
- tSend.txt+=entn.txt+","
|
||||
- tSend.txt+="tempUpd,"
|
||||
- //convert temperature
|
||||
- covx xTempDest1.val,tTmp.txt,0,0
|
||||
- tSend.txt+=tTmp.txt
|
||||
- //send calc crc
|
||||
- btlen tSend.txt,sys0
|
||||
- crcrest 1,0xffff // reset CRC
|
||||
- crcputh 55 bb
|
||||
- crcputs sys0,2
|
||||
- crcputs tSend.txt,0
|
||||
- //send cmd
|
||||
- printh 55 bb
|
||||
- prints sys0,2
|
||||
- prints tSend.txt,0
|
||||
- prints crcval,2
|
||||
-
|
||||
-Dual-state Button bUp2
|
||||
- Attributes
|
||||
- Scope : local
|
||||
- Dragging : 0
|
||||
- Disable release event after dragging: 0
|
||||
- Send Component ID : disabled
|
||||
- State : unpressed
|
||||
- Text : î
|
||||
- Max. Text Size : 10
|
||||
-
|
||||
- Events
|
||||
- Touch Press Event
|
||||
- if(xTempDest2.val<xTempMax2.val)
|
||||
- {
|
||||
- xTempDest2.val=xTempDest2.val+xTempStep2.val
|
||||
- }
|
||||
- // event,buttonPress2,entn,tempUpd,X
|
||||
- //craft command
|
||||
- tSend.txt="event,buttonPress2,"
|
||||
- tSend.txt+=entn.txt+","
|
||||
- tSend.txt+="tempUpd,"
|
||||
- //convert temperature
|
||||
- covx xTempDest2.val,tTmp.txt,0,0
|
||||
- tSend.txt+=tTmp.txt
|
||||
- //send calc crc
|
||||
- btlen tSend.txt,sys0
|
||||
- crcrest 1,0xffff // reset CRC
|
||||
- crcputh 55 bb
|
||||
- crcputs sys0,2
|
||||
- crcputs tSend.txt,0
|
||||
- //send cmd
|
||||
- printh 55 bb
|
||||
- prints sys0,2
|
||||
- prints tSend.txt,0
|
||||
- prints crcval,2
|
||||
-
|
||||
-Dual-state Button bDown2
|
||||
- Attributes
|
||||
- Scope : local
|
||||
- Dragging : 0
|
||||
- Disable release event after dragging: 0
|
||||
- Send Component ID : disabled
|
||||
- State : unpressed
|
||||
- Text : î¿
|
||||
+ State : pressed
|
||||
@@ -772,9 +867,9 @@ diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
- if(xTempDest1.val>xTempMin1.val)
|
||||
- if(xTempDest2.val>xTempMin2.val)
|
||||
- {
|
||||
- xTempDest1.val=xTempDest1.val-xTempStep1.val
|
||||
- xTempDest2.val=xTempDest2.val-xTempStep2.val
|
||||
- }
|
||||
- // event,buttonPress2,entn,tempUpd,X
|
||||
//craft command
|
||||
@@ -782,74 +877,56 @@ diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
|
||||
- tSend.txt+=entn.txt+","
|
||||
- tSend.txt+="tempUpd,"
|
||||
- //convert temperature
|
||||
- covx xTempDest1.val,tTmp.txt,0,0
|
||||
- covx xTempDest2.val,tTmp.txt,0,0
|
||||
- tSend.txt+=tTmp.txt
|
||||
+ tSend.txt="event,buttonPress2,"+entn.txt
|
||||
+ tSend.txt+=",hvac_action,"+va8.txt
|
||||
//send calc crc
|
||||
btlen tSend.txt,sys0
|
||||
crcrest 1,0xffff // reset CRC
|
||||
@@ -627,7 +522,7 @@
|
||||
@@ -722,7 +522,7 @@
|
||||
prints tSend.txt,0
|
||||
prints crcval,2
|
||||
|
||||
-Dual-state Button bUp2
|
||||
-Dual-state Button btUp
|
||||
+Dual-state Button btUp1
|
||||
Attributes
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
@@ -639,9 +534,9 @@
|
||||
@@ -734,9 +534,9 @@
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
- if(xTempDest2.val<xTempMax2.val)
|
||||
- if(xTempDest.val<xTempMax1.val)
|
||||
+ if(xTempDest.val<xTempMax.val)
|
||||
{
|
||||
- xTempDest2.val=xTempDest2.val+xTempStep2.val
|
||||
- xTempDest.val=xTempDest.val+xTempStep1.val
|
||||
+ xTempDest.val=xTempDest.val+xTempStep.val
|
||||
}
|
||||
// event,buttonPress2,entn,tempUpd,X
|
||||
//craft command
|
||||
@@ -649,7 +544,7 @@
|
||||
tSend.txt+=entn.txt+","
|
||||
tSend.txt+="tempUpd,"
|
||||
//convert temperature
|
||||
- covx xTempDest2.val,tTmp.txt,0,0
|
||||
+ covx xTempDest.val,tTmp.txt,0,0
|
||||
tSend.txt+=tTmp.txt
|
||||
//send calc crc
|
||||
btlen tSend.txt,sys0
|
||||
@@ -663,7 +558,7 @@
|
||||
@@ -758,7 +558,7 @@
|
||||
prints tSend.txt,0
|
||||
prints crcval,2
|
||||
|
||||
-Dual-state Button bDown2
|
||||
-Dual-state Button btDown
|
||||
+Dual-state Button btDown1
|
||||
Attributes
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
@@ -675,9 +570,9 @@
|
||||
@@ -770,9 +570,9 @@
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
- if(xTempDest2.val>xTempMin2.val)
|
||||
- if(xTempDest.val>xTempMin1.val)
|
||||
+ if(xTempDest.val>xTempMin.val)
|
||||
{
|
||||
- xTempDest2.val=xTempDest2.val-xTempStep2.val
|
||||
- xTempDest.val=xTempDest.val-xTempStep1.val
|
||||
+ xTempDest.val=xTempDest.val-xTempStep.val
|
||||
}
|
||||
// event,buttonPress2,entn,tempUpd,X
|
||||
//craft command
|
||||
@@ -685,7 +580,7 @@
|
||||
tSend.txt+=entn.txt+","
|
||||
tSend.txt+="tempUpd,"
|
||||
//convert temperature
|
||||
- covx xTempDest2.val,tTmp.txt,0,0
|
||||
+ covx xTempDest.val,tTmp.txt,0,0
|
||||
tSend.txt+=tTmp.txt
|
||||
//send calc crc
|
||||
btlen tSend.txt,sys0
|
||||
@@ -699,90 +594,6 @@
|
||||
@@ -794,90 +594,6 @@
|
||||
prints tSend.txt,0
|
||||
prints crcval,2
|
||||
|
||||
@@ -940,11 +1017,12 @@ diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
|
||||
Timer tmSerial
|
||||
Attributes
|
||||
Scope : local
|
||||
@@ -872,18 +683,18 @@
|
||||
@@ -967,19 +683,18 @@
|
||||
covx tTmp.txt,xTempCurr.val,0,0
|
||||
//dstTemp
|
||||
spstr strCommand.txt,tTmp.txt,"~",5
|
||||
- covx tTmp.txt,xTempDest1.val,0,0
|
||||
- xTempDest1.val=xTempDest.val
|
||||
+ covx tTmp.txt,xTempDest.val,0,0
|
||||
//status
|
||||
spstr strCommand.txt,tStatus.txt,"~",6
|
||||
@@ -963,7 +1041,7 @@ diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
|
||||
// disable all buttons
|
||||
vis bt0,0
|
||||
vis bt1,0
|
||||
@@ -893,6 +704,7 @@
|
||||
@@ -989,6 +704,7 @@
|
||||
vis bt5,0
|
||||
vis bt6,0
|
||||
vis bt7,0
|
||||
@@ -971,7 +1049,7 @@ diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
|
||||
//bt0
|
||||
spstr strCommand.txt,bt0.txt,"~",10
|
||||
if(bt0.txt!="")
|
||||
@@ -1013,12 +825,21 @@
|
||||
@@ -1109,12 +825,21 @@
|
||||
//enable
|
||||
vis bt7,1
|
||||
}
|
||||
@@ -1000,8 +1078,8 @@ diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
|
||||
if(tInstruction.txt=="pageType")
|
||||
{
|
||||
diff -bur HMI/n2t-out/pageStartup.txt HMI/US/landscape/n2t-out/pageStartup.txt
|
||||
--- HMI/n2t-out/pageStartup.txt 2022-05-14 12:54:21.199132759 +0000
|
||||
+++ HMI/US/landscape/n2t-out/pageStartup.txt 2022-05-14 12:54:22.003143502 +0000
|
||||
--- HMI/n2t-out/pageStartup.txt 2022-05-14 14:37:58.882388573 +0000
|
||||
+++ HMI/US/landscape/n2t-out/pageStartup.txt 2022-05-14 14:37:59.678399277 +0000
|
||||
@@ -177,7 +177,7 @@
|
||||
recmod=1
|
||||
bauds=115200
|
||||
|
||||
Reference in New Issue
Block a user