gui: added ressources.

This commit is contained in:
Martin Preuss
2026-05-08 22:07:07 +02:00
parent 97fd75e3ba
commit f00b7975c0
2 changed files with 36 additions and 14 deletions

View File

@@ -24,7 +24,7 @@
.org RESSOURCE_ADDR
RessourceTable:
.dw 62 ; num of ressources
.dw 66 ; num of ressources
.dw (resImageNetwork*2) ; 0: RESSOURCE_IMG_NETWORK
.dw (resImageCloud*2) ; 1: RESSOURCE_IMG_CLOUD
.dw (resImageTemp*2) ; 2: RESSOURCE_IMG_TEMP
@@ -89,13 +89,18 @@ RessourceTable:
.dw (resTextNodeAddr*2) ; 55: RESSOURCE_TXT_NODEADDR
.dw (resTextValueId*2) ; 56: RESSOURCE_TXT_VALUEID
.dw (resTextMotionSensor1*2) ; 57: RESSOURCE_TXT_MOTIONSENSOR1
.dw (resTextMotionSensor2*2) ; 58: RESSOURCE_TXT_MOTIONSENSOR2
.dw (resTextLightSensor*2) ; 59: RESSOURCE_TXT_LIGHTSENSOR
.dw (resTextMotionSensor1_s*2) ; 57: RESSOURCE_TXT_MOTIONSENSOR1_S
.dw (resTextMotionSensor2_s*2) ; 58: RESSOURCE_TXT_MOTIONSENSOR2_S
.dw (resTextLightSensor_s*2) ; 59: RESSOURCE_TXT_LIGHTSENSOR_S
.dw (resTextDialogOk*2) ; 60: RESSOURCE_TXT_DIALOGOK
.dw (resTextDialogAbort*2) ; 61: RESSOURCE_TXT_DIALOGABORT
.dw (resTextLedConnections*2) ; 62: RESSOURCE_TXT_LEDCONNECTIONS
.dw (resTextType*2) ; 63: RESSOURCE_TXT_TYPE
.dw (resTextNodeAddr_s*2) ; 64: RESSOURCE_TXT_NODEADDR_S
.dw (resTextValueId_s*2) ; 65: RESSOURCE_TXT_VALUEID_S
resImageNetwork:
.dw DISPLAY_IMAGETYPE_IDX2RLE
@@ -1202,21 +1207,33 @@ resTextNodeAddr:
resTextValueId:
.db "Variable", 0, 0
resTextMotionSensor1:
.db "Bew.-Sensor 1", 0
resTextMotionSensor1_s:
.db "Beweg. 1", 0, 0
resTextMotionSensor2:
.db "Bew.-Sensor 2", 0
resTextMotionSensor2_s:
.db "Beweg. 2", 0, 0
resTextLightSensor:
.db "Lichtsensor", 0
resTextLightSensor_s:
.db "Helligk.", 0, 0
resTextDialogOk:
.db "Ok", 0, 0
.db "Okay", 0, 0
resTextDialogAbort:
.db "Abbruch", 0
resTextLedConnections:
.db "LED-Verbindungen", 0, 0
resTextType:
.db "Typ", 0
resTextNodeAddr_s:
.db "Adr.", 0, 0
resTextValueId_s:
.db "Var", 0
deviceCodeEnd:

View File

@@ -71,13 +71,18 @@
.equ RESSOURCE_TXT_NODEADDR = 55
.equ RESSOURCE_TXT_VALUEID = 56
.equ RESSOURCE_TXT_MOTIONSENSOR1 = 57
.equ RESSOURCE_TXT_MOTIONSENSOR2 = 58
.equ RESSOURCE_TXT_LIGHTSENSOR = 59
.equ RESSOURCE_TXT_MOTIONSENSOR1_S = 57
.equ RESSOURCE_TXT_MOTIONSENSOR2_S = 58
.equ RESSOURCE_TXT_LIGHTSENSOR_S = 59
.equ RESSOURCE_TXT_DIALOGOK = 60
.equ RESSOURCE_TXT_DIALOGABORT = 61
.equ RESSOURCE_TXT_LEDCONNECTIONS = 62
.equ RESSOURCE_TXT_TYPE = 63
.equ RESSOURCE_TXT_NODEADDR_S = 64
.equ RESSOURCE_TXT_VALUEID_S = 65
#endif ; AQH_AVR_DEVICE_C03_RESSOURCES_INC