This commit is contained in:
2026-06-15 15:40:40 +02:00
parent 1ae0b909d4
commit 7b059d69ea
+5 -1
View File
@@ -46,7 +46,11 @@ void powerSwitch::HandlePeriodic() {
TMFeResult powerSwitch::HandleInit(const std::vector<std::string> &args) {
midas::odb o = {
{SETTING_DIR.c_str(), {{EDITABLE_VARNAME.c_str(), COMMAND_VARNAME}}}};
{SETTING_DIR.c_str(), {{EDITABLE_VARNAME.c_str(), COMMAND_VARNAME}}},
{VARIABLES_DIR.c_str(),
{{COMMAND_VARNAME.c_str(), {""}}, {READBACK_VARNAME.c_str(), {""}}}}
};
o.connect(this->equipmentPath.c_str());