Access now working in ESI file.
This commit is contained in:
@@ -152,8 +152,13 @@ function esi_generator(form, od, indexes, dc)
|
|||||||
result += addDictionaryObjectSubitems(objd.items);
|
result += addDictionaryObjectSubitems(objd.items);
|
||||||
}
|
}
|
||||||
|
|
||||||
var flags = `\n <Access>ro</Access>`;
|
var flags = ``;
|
||||||
if (objd.otype == OTYPE.VAR) {
|
if (objd.otype == OTYPE.VAR) {
|
||||||
|
let access = `ro`;
|
||||||
|
if (objd.access) {
|
||||||
|
access = objd.access.slice(0,2).toLowerCase();
|
||||||
|
}
|
||||||
|
flags += `\n <Access>${access}</Access>`;
|
||||||
flags += getPdoMappingFlags(objd);
|
flags += getPdoMappingFlags(objd);
|
||||||
}
|
}
|
||||||
if (SDO_category[index]) {
|
if (SDO_category[index]) {
|
||||||
|
|||||||
Reference in New Issue
Block a user