Class WinccoaCnsAccessRight

CNS Access right.

If the AccessRight is not defined at the node itself but inherited from a parent node instead, the node ID of the parent node is returned for inheritedNode. If the AccessRight is defined at the node itself, an empty string is defined for inheritedNode.

Constructors

Properties

Constructors

  • Constructor.

    Parameters

    • accessRight: number

      AccessRight as number

    • inheritedNode: string

      Node from which the AccessRight is inherited

    Returns WinccoaCnsAccessRight

    import { WinccoaManager, WinccoaCnsAccessRight } from 'winccoa-manager';
    const winccoa = new WinccoaManager();

    function test() {
    const accessRight = winccoa.cnsGetOPCAccessRight('System1.View1:Node1');
    console.log(accessRight);
    }

Properties

accessRight: number

AccessRight as number

inheritedNode: string

Node from which the AccessRight is inherited