use of org.eclipse.milo.opcua.stack.core.types.enumerated.PerformUpdateType in project milo by eclipse.
the class AuditHistoryValueUpdateEventTypeNode method getPerformInsertReplace.
@Override
public PerformUpdateType getPerformInsertReplace() throws UaException {
PropertyTypeNode node = getPerformInsertReplaceNode();
Object value = node.getValue().getValue().getValue();
if (value instanceof Integer) {
return PerformUpdateType.from((Integer) value);
} else if (value instanceof PerformUpdateType) {
return (PerformUpdateType) value;
} else {
return null;
}
}
use of org.eclipse.milo.opcua.stack.core.types.enumerated.PerformUpdateType in project milo by eclipse.
the class AuditHistoryEventUpdateEventTypeNode method getPerformInsertReplace.
@Override
public PerformUpdateType getPerformInsertReplace() throws UaException {
PropertyTypeNode node = getPerformInsertReplaceNode();
Object value = node.getValue().getValue().getValue();
if (value instanceof Integer) {
return PerformUpdateType.from((Integer) value);
} else if (value instanceof PerformUpdateType) {
return (PerformUpdateType) value;
} else {
return null;
}
}
Aggregations