bug fix
This commit is contained in:
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user