13.12.2022, 10:08
You can override the getEnums function so it returns custom value mapping for certain objects:
Code:
var oldfn = getEnums;
getEnums = function(object) {
if (object.address == '1/1/3') {
return { 0: 'aaa', 1: 'bbb', 2: 'ccc', default: 'default' };
}
else {
return oldfn(object);
}
};