mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-01-06 14:45:46 +01:00
96 lines
4.0 KiB
Plaintext
96 lines
4.0 KiB
Plaintext
--- HMI/n2t-out
|
|
+++ HMI/US/landscape/n2t-out
|
|
├── Program.s.txt
|
|
│ @@ -10,10 +10,7 @@
|
|
│ int sleepValue=0
|
|
│ // dim value
|
|
│ int dimValue=40
|
|
│ int dimValueNormal=100
|
|
│ //color vars
|
|
│ int defaultFontColor=65535
|
|
│ int defaultBcoColor=6371
|
|
│ - // fix touch offset
|
|
│ - lcd_dev fffb 0002 0000 0020
|
|
│ - page pageStartup
|
|
├── pageStartup.txt
|
|
│ @@ -173,15 +173,15 @@
|
|
│ Max. Text Size : 10
|
|
│
|
|
│ Events
|
|
│ Touch Press Event
|
|
│ recmod=1
|
|
│ bauds=115200
|
|
│ // startup event
|
|
│ - tSend.txt="event,startup,"+tVersion.txt+",eu"
|
|
│ + tSend.txt="event,startup,"+tVersion.txt+",us-l"
|
|
│ //send calc crc
|
|
│ btlen tSend.txt,sys0
|
|
│ crcrest 1,0xffff // reset CRC
|
|
│ crcputh 55 bb
|
|
│ crcputs sys0,2
|
|
│ crcputs tSend.txt,0
|
|
│ //send cmd
|
|
├── screensaver.txt
|
|
│ @@ -252,25 +252,25 @@
|
|
│ Attributes
|
|
│ Scope : local
|
|
│ Dragging : 0
|
|
│ Disable release event after dragging: 0
|
|
│ Send Component ID : disabled
|
|
│ Associated Keyboard : none
|
|
│ Text :
|
|
│ - Max. Text Size : 10
|
|
│ + Max. Text Size : 5
|
|
│
|
|
│ Text tIcon2
|
|
│ Attributes
|
|
│ Scope : local
|
|
│ Dragging : 0
|
|
│ Disable release event after dragging: 0
|
|
│ Send Component ID : disabled
|
|
│ Associated Keyboard : none
|
|
│ Text :
|
|
│ - Max. Text Size : 10
|
|
│ + Max. Text Size : 5
|
|
│
|
|
│ Text tMR
|
|
│ Attributes
|
|
│ Scope : local
|
|
│ Dragging : 0
|
|
│ Disable release event after dragging: 0
|
|
│ Send Component ID : disabled
|
|
│ @@ -351,15 +351,15 @@
|
|
│ Text tTime
|
|
│ Attributes
|
|
│ Scope : local
|
|
│ Dragging : 0
|
|
│ Disable release event after dragging: 0
|
|
│ Send Component ID : disabled
|
|
│ Associated Keyboard : none
|
|
│ - Text : 21:32
|
|
│ + Text : 21:32
|
|
│ Max. Text Size : 15
|
|
│
|
|
│ Text tTimeAdd
|
|
│ Attributes
|
|
│ Scope : local
|
|
│ Dragging : 0
|
|
│ Disable release event after dragging: 0
|
|
│ @@ -474,16 +474,14 @@
|
|
│ spstr pageIcons.vaTime.txt,tTime.txt,"?",0
|
|
│ spstr pageIcons.vaTime.txt,tAMPM.txt,"?",1
|
|
│ if(tAMPM.txt=="")
|
|
│ {
|
|
│ vis tAMPM,0
|
|
│ }
|
|
│ spstr strCommand.txt,tTimeAdd.txt,"~",2
|
|
│ - ref tIcon1
|
|
│ - ref tIcon2
|
|
│ }
|
|
│ if(tInstruction.txt=="date")
|
|
│ {
|
|
│ //get set date to global variable
|
|
│ spstr strCommand.txt,pageIcons.vaDate.txt,"~",1
|
|
│ tDate.txt=pageIcons.vaDate.txt
|
|
│ }
|