C# 클래스 DsatsDemo.LockConditionState

파일 보기 프로젝트 열기: OPCFoundation/UA-.NET 1 사용 예제들

공개 메소드들

메소드 설명
GetChildren ( ISystemContext context, IList children ) : void

Populates a list with the children that belong to the node.

HasPermission ( X509Certificate2 certificate ) : bool

Checks if the certificate has access to the lock.

LockConditionState ( NodeState parent ) : System

Initializes the type with its default attribute values.

RequestLock ( ISystemContext context ) : void

Requests the lock.

SetLock ( ISystemContext context ) : void

Grants the lock.

SetPermission ( string thumbprint ) : void

Specifies the thumbprint of a certificate that has access to the lock.

Unlock ( ISystemContext context ) : void

Releases the lock.

보호된 메소드들

메소드 설명
FindChild ( ISystemContext context, Opc.Ua.QualifiedName browseName, bool createOrReplace, BaseInstanceState replacement ) : BaseInstanceState

Finds the child with the specified browse name.

GetDefaultTypeDefinitionId ( Opc.Ua.NamespaceTable namespaceUris ) : Opc.Ua.NodeId

Returns the id of the default type definition node for the instance.

Initialize ( ISystemContext context ) : void

Initializes the instance.

InitializeOptionalChildren ( ISystemContext context ) : void

Initializes the any option children defined for the instance.

메소드 상세

FindChild() 보호된 메소드

Finds the child with the specified browse name.
protected FindChild ( ISystemContext context, Opc.Ua.QualifiedName browseName, bool createOrReplace, BaseInstanceState replacement ) : BaseInstanceState
context ISystemContext
browseName Opc.Ua.QualifiedName
createOrReplace bool
replacement Opc.Ua.BaseInstanceState
리턴 Opc.Ua.BaseInstanceState

GetChildren() 공개 메소드

Populates a list with the children that belong to the node.
public GetChildren ( ISystemContext context, IList children ) : void
context ISystemContext The context for the system being accessed.
children IList The list of children to populate.
리턴 void

GetDefaultTypeDefinitionId() 보호된 메소드

Returns the id of the default type definition node for the instance.
protected GetDefaultTypeDefinitionId ( Opc.Ua.NamespaceTable namespaceUris ) : Opc.Ua.NodeId
namespaceUris Opc.Ua.NamespaceTable
리턴 Opc.Ua.NodeId

HasPermission() 공개 메소드

Checks if the certificate has access to the lock.
public HasPermission ( X509Certificate2 certificate ) : bool
certificate System.Security.Cryptography.X509Certificates.X509Certificate2
리턴 bool

Initialize() 보호된 메소드

Initializes the instance.
protected Initialize ( ISystemContext context ) : void
context ISystemContext
리턴 void

InitializeOptionalChildren() 보호된 메소드

Initializes the any option children defined for the instance.
protected InitializeOptionalChildren ( ISystemContext context ) : void
context ISystemContext
리턴 void

LockConditionState() 공개 메소드

Initializes the type with its default attribute values.
public LockConditionState ( NodeState parent ) : System
parent NodeState
리턴 System

RequestLock() 공개 메소드

Requests the lock.
public RequestLock ( ISystemContext context ) : void
context ISystemContext
리턴 void

SetLock() 공개 메소드

Grants the lock.
public SetLock ( ISystemContext context ) : void
context ISystemContext
리턴 void

SetPermission() 공개 메소드

Specifies the thumbprint of a certificate that has access to the lock.
public SetPermission ( string thumbprint ) : void
thumbprint string
리턴 void

Unlock() 공개 메소드

Releases the lock.
public Unlock ( ISystemContext context ) : void
context ISystemContext
리턴 void