int socomec_diris_products_mib_loadCurvesLoadRowStatus::commit_set_request(Request* req, int ind)
{
//–AgentGen BEGIN=loadCurvesLoadRowStatus::commit_set_request
//–AgentGen END
int status = snmpRowStatus
::commit_set_request(req, ind);
//–AgentGen BEGIN=loadCurvesLoadRowStatus::commit_set_request2
//–AgentGen END
return status;
}`
Is this something that can be fixed by changing some of setting in AgentPro?
That is indeed a regression in 5.0.0 which will be fixed tomorrow with version 5.0.1. This was caused by changed Velocity template property names in Velocity version 2.1 (AgenPro uses now 2.2). This has been fixed.
You can (partly) workaround this issue by configuring a code formatter in the projects menu. First you need to install clang-format (this most likely works on Linux and MacOS only) and then configure the code formatter in the AgenPro’s Tools menu as follows: