Merge branch 'main' of github.com:joBr99/nspanel-widget-ui

This commit is contained in:
joBr99
2022-03-14 17:18:18 +01:00
3 changed files with 483 additions and 117 deletions

View File

@@ -30,11 +30,16 @@ Page cardThermo
vis xTempMax,0 vis xTempMax,0
vis xTempStep,0 vis xTempStep,0
//tEntity.txt=tHeading.txt //tEntity.txt=tHeading.txt
//disable buttons that are not implemented // disable all buttons
vis t7,0 vis bt0,0
vis t6,0 vis bt1,0
vis t5,0 vis bt2,0
// vis bt3,0
vis bt4,0
vis bt5,0
vis bt6,0
vis bt7,0
vis bt8,0
//page open event //page open event
// event,pageOpen,cardThermo,pageNumber // event,pageOpen,cardThermo,pageNumber
// craft command // craft command
@@ -64,7 +69,7 @@ Variable (string) strCommand
Variable (string) entn Variable (string) entn
Attributes Attributes
ID : 25 ID : 22
Scope : local Scope : local
Text : Text :
Max. Text Size: 50 Max. Text Size: 50
@@ -101,7 +106,7 @@ Number nPageDisp
XFloat xTempCurr XFloat xTempCurr
Attributes Attributes
ID : 17 ID : 14
Scope : local Scope : local
Dragging : 0 Dragging : 0
Disable release event after dragging: 0 Disable release event after dragging: 0
@@ -122,7 +127,7 @@ XFloat xTempCurr
Font Color : 65535 Font Color : 65535
Horizontal Alignment : center Horizontal Alignment : center
Vertical Alignment : center Vertical Alignment : center
Value : 215 Value : 0
Significant digits left : 0 Significant digits left : 0
Significant digits right : 1 Significant digits right : 1
Word wrap : enabled Word wrap : enabled
@@ -131,7 +136,7 @@ XFloat xTempCurr
XFloat xTempDest XFloat xTempDest
Attributes Attributes
ID : 19 ID : 16
Scope : local Scope : local
Dragging : 0 Dragging : 0
Disable release event after dragging: 0 Disable release event after dragging: 0
@@ -152,7 +157,7 @@ XFloat xTempDest
Font Color : 65535 Font Color : 65535
Horizontal Alignment : center Horizontal Alignment : center
Vertical Alignment : center Vertical Alignment : center
Value : 215 Value : 0
Significant digits left : 0 Significant digits left : 0
Significant digits right : 1 Significant digits right : 1
Word wrap : enabled Word wrap : enabled
@@ -161,7 +166,7 @@ XFloat xTempDest
XFloat xTempMin XFloat xTempMin
Attributes Attributes
ID : 20 ID : 17
Scope : local Scope : local
Dragging : 0 Dragging : 0
Disable release event after dragging: 0 Disable release event after dragging: 0
@@ -191,7 +196,7 @@ XFloat xTempMin
XFloat xTempMax XFloat xTempMax
Attributes Attributes
ID : 21 ID : 18
Scope : local Scope : local
Dragging : 0 Dragging : 0
Disable release event after dragging: 0 Disable release event after dragging: 0
@@ -221,7 +226,7 @@ XFloat xTempMax
XFloat xTempStep XFloat xTempStep
Attributes Attributes
ID : 22 ID : 19
Scope : local Scope : local
Dragging : 0 Dragging : 0
Disable release event after dragging: 0 Disable release event after dragging: 0
@@ -423,97 +428,7 @@ Text tStatus
Horizontal Alignment : center Horizontal Alignment : center
Vertical Alignment : center Vertical Alignment : center
Input Type : character Input Type : character
Text : Heizung Text :
Max. Text Size : 10
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Text t5
Attributes
ID : 12
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 263
y coordinate : 218
Width : 30
Height : 30
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : flat
Associated Keyboard : none
Font ID : 1
Back. Color : 6371
Font Color : 50712
Horizontal Alignment : center
Vertical Alignment : center
Input Type : character
Text : 
Max. Text Size : 10
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Text t6
Attributes
ID : 13
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 211
y coordinate : 218
Width : 30
Height : 30
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : flat
Associated Keyboard : none
Font ID : 1
Back. Color : 6371
Font Color : 64512
Horizontal Alignment : center
Vertical Alignment : center
Input Type : character
Text : 
Max. Text Size : 10
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Text t7
Attributes
ID : 14
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 160
y coordinate : 218
Width : 30
Height : 30
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : flat
Associated Keyboard : none
Font ID : 1
Back. Color : 6371
Font Color : 50712
Horizontal Alignment : center
Vertical Alignment : center
Input Type : character
Text : 
Max. Text Size : 10 Max. Text Size : 10
Word wrap : disabled Word wrap : disabled
Horizontal Spacing : 0 Horizontal Spacing : 0
@@ -521,7 +436,7 @@ Text t7
Text t2 Text t2
Attributes Attributes
ID : 18 ID : 15
Scope : local Scope : local
Dragging : 0 Dragging : 0
Disable release event after dragging: 0 Disable release event after dragging: 0
@@ -622,7 +537,7 @@ Button bNext
Button bDown Button bDown
Attributes Attributes
ID : 15 ID : 12
Scope : local Scope : local
Dragging : 0 Dragging : 0
Disable release event after dragging: 0 Disable release event after dragging: 0
@@ -678,7 +593,7 @@ Button bDown
Button bUp Button bUp
Attributes Attributes
ID : 16 ID : 13
Scope : local Scope : local
Dragging : 0 Dragging : 0
Disable release event after dragging: 0 Disable release event after dragging: 0
@@ -732,7 +647,7 @@ Button bUp
Button bPrev Button bPrev
Attributes Attributes
ID : 26 ID : 23
Scope : local Scope : local
Dragging : 0 Dragging : 0
Disable release event after dragging: 0 Disable release event after dragging: 0
@@ -784,6 +699,294 @@ Button bPrev
prints tSend.txt,0 prints tSend.txt,0
prints crcval,2 prints crcval,2
Dual-state Button bt0
Attributes
ID : 24
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 115
y coordinate : 223
Width : 31
Height : 31
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : flat
Font ID : 1
Back. Color (Unpressed) : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 6371
Font Color (Unpressed) : 50712
Font Color (Pressed) : 64512
Horizontal Alignment : center
Vertical Alignment : center
State : unpressed
Text : 
Max. Text Size : 10
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Dual-state Button bt1
Attributes
ID : 25
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 162
y coordinate : 223
Width : 31
Height : 31
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : flat
Font ID : 1
Back. Color (Unpressed) : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 6371
Font Color (Unpressed) : 50712
Font Color (Pressed) : 64512
Horizontal Alignment : center
Vertical Alignment : center
State : unpressed
Text : 
Max. Text Size : 10
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Dual-state Button bt2
Attributes
ID : 26
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 209
y coordinate : 223
Width : 31
Height : 31
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : flat
Font ID : 1
Back. Color (Unpressed) : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 6371
Font Color (Unpressed) : 50712
Font Color (Pressed) : 64512
Horizontal Alignment : center
Vertical Alignment : center
State : unpressed
Text : 
Max. Text Size : 10
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Dual-state Button bt3
Attributes
ID : 27
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 256
y coordinate : 223
Width : 31
Height : 31
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : flat
Font ID : 1
Back. Color (Unpressed) : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 6371
Font Color (Unpressed) : 50712
Font Color (Pressed) : 64512
Horizontal Alignment : center
Vertical Alignment : center
State : unpressed
Text : 
Max. Text Size : 10
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Dual-state Button bt4
Attributes
ID : 28
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 303
y coordinate : 223
Width : 31
Height : 31
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : flat
Font ID : 1
Back. Color (Unpressed) : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 6371
Font Color (Unpressed) : 50712
Font Color (Pressed) : 64512
Horizontal Alignment : center
Vertical Alignment : center
State : unpressed
Text : 
Max. Text Size : 10
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Dual-state Button bt5
Attributes
ID : 29
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 136
y coordinate : 223
Width : 31
Height : 31
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : flat
Font ID : 1
Back. Color (Unpressed) : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 6371
Font Color (Unpressed) : 50712
Font Color (Pressed) : 64512
Horizontal Alignment : center
Vertical Alignment : center
State : pressed
Text : 
Max. Text Size : 10
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Dual-state Button bt6
Attributes
ID : 30
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 183
y coordinate : 223
Width : 31
Height : 31
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : flat
Font ID : 1
Back. Color (Unpressed) : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 6371
Font Color (Unpressed) : 50712
Font Color (Pressed) : 64512
Horizontal Alignment : center
Vertical Alignment : center
State : pressed
Text : 
Max. Text Size : 10
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Dual-state Button bt7
Attributes
ID : 31
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 230
y coordinate : 223
Width : 31
Height : 31
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : flat
Font ID : 1
Back. Color (Unpressed) : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 6371
Font Color (Unpressed) : 50712
Font Color (Pressed) : 64512
Horizontal Alignment : center
Vertical Alignment : center
State : pressed
Text : 
Max. Text Size : 10
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Dual-state Button bt8
Attributes
ID : 32
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 277
y coordinate : 223
Width : 31
Height : 31
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : flat
Font ID : 1
Back. Color (Unpressed) : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 6371
Font Color (Unpressed) : 50712
Font Color (Pressed) : 64512
Horizontal Alignment : center
Vertical Alignment : center
State : pressed
Text : 
Max. Text Size : 10
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Timer tmSerial Timer tmSerial
Attributes Attributes
ID : 6 ID : 6
@@ -859,6 +1062,169 @@ Timer tmSerial
//tempStep //tempStep
spstr strCommand.txt,tTmp.txt,",",8 spstr strCommand.txt,tTmp.txt,",",8
covx tTmp.txt,xTempStep.val,0,0 covx tTmp.txt,xTempStep.val,0,0
// disable all buttons
vis bt0,0
vis bt1,0
vis bt2,0
vis bt3,0
vis bt4,0
vis bt5,0
vis bt6,0
vis bt7,0
vis bt8,0
//bt0
spstr strCommand.txt,tTmp.txt,",",9
if(tTmp.txt!="")
{
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt0.txt,sys0,1
// set text color on active state
spstr strCommand.txt,tTmp.txt,",",10
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt0.pco2,sys0,1
// set state
spstr strCommand.txt,tTmp.txt,",",11
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt0.val,sys0,1
//enable
vis bt0,1
}
//bt1
spstr strCommand.txt,tTmp.txt,",",12
if(tTmp.txt!="")
{
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt1.txt,sys0,1
// set text color on active state
spstr strCommand.txt,tTmp.txt,",",13
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt1.pco2,sys0,1
// set state
spstr strCommand.txt,tTmp.txt,",",14
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt1.val,sys0,1
//enable
vis bt1,1
}
//bt2
spstr strCommand.txt,tTmp.txt,",",15
if(tTmp.txt!="")
{
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt2.txt,sys0,1
// set text color on active state
spstr strCommand.txt,tTmp.txt,",",16
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt2.pco2,sys0,1
// set state
spstr strCommand.txt,tTmp.txt,",",17
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt2.val,sys0,1
//enable
vis bt2,1
}
//bt3
spstr strCommand.txt,tTmp.txt,",",18
if(tTmp.txt!="")
{
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt3.txt,sys0,1
// set text color on active state
spstr strCommand.txt,tTmp.txt,",",19
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt3.pco2,sys0,1
// set state
spstr strCommand.txt,tTmp.txt,",",20
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt3.val,sys0,1
//enable
vis bt3,1
}
//bt4
spstr strCommand.txt,tTmp.txt,",",21
if(tTmp.txt!="")
{
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt4.txt,sys0,1
// set text color on active state
spstr strCommand.txt,tTmp.txt,",",22
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt4.pco2,sys0,1
// set state
spstr strCommand.txt,tTmp.txt,",",23
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt4.val,sys0,1
//enable
vis bt4,1
}
//bt5
spstr strCommand.txt,tTmp.txt,",",24
if(tTmp.txt!="")
{
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt5.txt,sys0,1
// set text color on active state
spstr strCommand.txt,tTmp.txt,",",25
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt5.pco2,sys0,1
// set state
spstr strCommand.txt,tTmp.txt,",",26
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt5.val,sys0,1
//enable
vis bt5,1
}
//bt6
spstr strCommand.txt,tTmp.txt,",",27
if(tTmp.txt!="")
{
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt6.txt,sys0,1
// set text color on active state
spstr strCommand.txt,tTmp.txt,",",28
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt6.pco2,sys0,1
// set state
spstr strCommand.txt,tTmp.txt,",",29
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt6.val,sys0,1
//enable
vis bt6,1
}
//bt7
spstr strCommand.txt,tTmp.txt,",",30
if(tTmp.txt!="")
{
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt7.txt,sys0,1
// set text color on active state
spstr strCommand.txt,tTmp.txt,",",31
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt7.pco2,sys0,1
// set state
spstr strCommand.txt,tTmp.txt,",",32
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt7.val,sys0,1
//enable
vis bt7,1
}
//bt8
spstr strCommand.txt,tTmp.txt,",",33
if(tTmp.txt!="")
{
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt8.txt,sys0,1
// set text color on active state
spstr strCommand.txt,tTmp.txt,",",34
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt8.pco2,sys0,1
// set state
spstr strCommand.txt,tTmp.txt,",",35
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,bt8.val,sys0,1
//enable
vis bt8,1
}
} }
if(tInstruction.txt=="time") if(tInstruction.txt=="time")
{ {
@@ -945,7 +1311,7 @@ Timer tmSerial
Timer tmSleep Timer tmSleep
Attributes Attributes
ID : 23 ID : 20
Scope : local Scope : local
Period (ms): 1000 Period (ms): 1000
Enabled : yes Enabled : yes
@@ -965,7 +1331,7 @@ Timer tmSleep
TouchCap tc0 TouchCap tc0
Attributes Attributes
ID : 24 ID : 21
Scope: local Scope: local
Value: 0 Value: 0

View File

@@ -43,9 +43,9 @@ popupShutter
148 Line(s) of event code 148 Line(s) of event code
84 Unique line(s) of event code 84 Unique line(s) of event code
cardThermo cardThermo
27 Component(s) 33 Component(s)
201 Line(s) of event code 333 Line(s) of event code
120 Unique line(s) of event code 200 Unique line(s) of event code
cardEntities cardEntities
55 Component(s) 55 Component(s)
824 Line(s) of event code 824 Line(s) of event code
@@ -53,6 +53,6 @@ cardEntities
Total Total
12 Page(s) 12 Page(s)
258 Component(s) 264 Component(s)
2256 Line(s) of event code 2388 Line(s) of event code
578 Unique line(s) of event code 658 Unique line(s) of event code

View File

@@ -72,7 +72,7 @@ Text tIcons
Horizontal Alignment : left Horizontal Alignment : left
Vertical Alignment : top Vertical Alignment : top
Input Type : character Input Type : character
Text :  Text : 
Max. Text Size : 100 Max. Text Size : 100
Word wrap : enabled Word wrap : enabled
Horizontal Spacing : 0 Horizontal Spacing : 0