Skip to content

Conversation

@ewowi
Copy link
Collaborator

@ewowi ewowi commented Nov 10, 2024

No description provided.

ewowi added 6 commits November 6, 2024 14:15
index.js and SysModWeb
- fileLoad, count in steps of 50.000

SysModModel
- move varFunctions , VarFun and eventTypes from SysModUI to SysModModel
- move Variable definitions to .cpp
- replace ui->callVarFun by Variable().triggerEvent
- - replace mdl->callVarOnChange by Variable().triggerEvent

SysModWeb
- add isBusy and set in serveUpload and serveUpdate
- board: check on web->isBusy
SysModModel
- add EventArguments
- rename funType to eventType
- rename VarFun to VarEvent
- rename varFunctions to varEvents
- move setLabel, setCommment, setOptions, getOptions, clearOptions, findOptionsText and findOptionsTextRec to Variable class
- add Variable::value()
- ui->setComment -> variable.setComment
- ui->setOptions -> variable.setOptions
- var["value"] -> variable.value()

SysModUI
- initVariable: use EventArguments, use Variable instead of JsonObject
pio.ini
- add STARBASE_USERMOD_MIDI (not active yet)
- update LiveScript t0 main/1.2.0
- rename esp32_wrover to esp-wrover-kit

main.cpp
- add STARBASE_USERMOD_MIDI (not active yet)

SysModModel
- setValueJV, setValueF, getValue, setValue -> Variable
- mdl->setValue(variable.var, -> variable.setValue(
- mdl->getValue(variable.var, -> variable.getValue(
SysModUI
- init*Mod: use Variable parentVar
- init*: Use Variable instead of JsonObject

SysModInstances
- dash vars: encode var pid/id in insVar

SysModModel
- findVars / FindFun use Variable
- cleanUpModel use Variable
- add Variable::Variable()
SysModModel
- move initVar and initValue to Model and Variable
- setValue returns void
- walkThroughModel using  Variable
@ewowi ewowi merged commit 77a2691 into main Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants