The OPCServer object is the primary object that an OPC server exposes. It's most important function is AddGroup. All the item access functions are implemented in the OpcGroup class. The user can define a number of groups with different parameters such as the update rate.
Visual Basic (Declaration) | |
---|---|
<SuppressUnmanagedCodeSecurityAttribute()> <ComVisibleAttribute(True)> <SecurityPermissionAttribute(Flags=SecurityPermissionFlag.UnmanagedCode, Assertion=False, UnmanagedCode=True, SkipVerification=False, Execution=False, ControlThread=False, ControlEvidence=False, ControlPolicy=False, SerializationFormatter=False, ControlDomainPolicy=False, ControlPrincipal=False, ControlAppDomain=False, RemotingConfiguration=False, Infrastructure=False, BindingRedirects=False, Action=SecurityAction.Demand Or _ SecurityAction.Assert, Unrestricted=False)> <ReflectionPermissionAttribute(Flags=ReflectionPermissionFlag.NoFlags, TypeInformation=False, MemberAccess=False, ReflectionEmit=False, RestrictedMemberAccess=False, Action=SecurityAction.Demand Or _ SecurityAction.Assert, Unrestricted=True)> Public Class OpcServer |
C# | |
---|---|
[SuppressUnmanagedCodeSecurityAttribute()] [ComVisibleAttribute(true)] [SecurityPermissionAttribute(Flags=SecurityPermissionFlag.UnmanagedCode, Assertion=false, UnmanagedCode=true, SkipVerification=false, Execution=false, ControlThread=false, ControlEvidence=false, ControlPolicy=false, SerializationFormatter=false, ControlDomainPolicy=false, ControlPrincipal=false, ControlAppDomain=false, RemotingConfiguration=false, Infrastructure=false, BindingRedirects=false, Action=SecurityAction.Demand | SecurityAction.Assert, Unrestricted=false)] [ReflectionPermissionAttribute(Flags=ReflectionPermissionFlag.NoFlags, TypeInformation=false, MemberAccess=false, ReflectionEmit=false, RestrictedMemberAccess=false, Action=SecurityAction.Demand | SecurityAction.Assert, Unrestricted=true)] public class OpcServer |
System.Object
OPCDA.NET.OpcServer