C# Class Softing.OPCToolbox.Client.Control.ControlDaSubscription

Inheritance: DaSubscription
Show file Open project: SoftingIndustrial/OPC-Classic-SDK Class Usage Examples

Protected Properties

Property Type Description
m_isActivated bool
m_name string
m_updateRate uint

Public Methods

Method Description
ControlDaSubscription ( uint updateRate, ControlDaSession parentSession ) : System

Initializes a new instance of the ControlDaSubscription class with the value indicated by an update rate and a ControlDaSession object to whom to be added.

Protected Methods

Method Description
ControlDaSubscription ( SerializationInfo info, StreamingContext context ) : System

Contructs a ControlDaSubscription object by de-serializing it from the stream.

Private Methods

Method Description
GetObjectData ( SerializationInfo info, StreamingContext context ) : void

Method Details

ControlDaSubscription() protected method

Contructs a ControlDaSubscription object by de-serializing it from the stream.
protected ControlDaSubscription ( SerializationInfo info, StreamingContext context ) : System
info SerializationInfo
context StreamingContext
return System

ControlDaSubscription() public method

Initializes a new instance of the ControlDaSubscription class with the value indicated by an update rate and a ControlDaSession object to whom to be added.
public ControlDaSubscription ( uint updateRate, ControlDaSession parentSession ) : System
updateRate uint The cyclic rate that the active objects have to be read.
parentSession ControlDaSession The session to whom the subscription is to be added.
return System

Property Details

m_isActivated protected property

Shows whether the subscription is activated or not.
protected bool m_isActivated
return bool

m_name protected property

A symbolic name for the ControlDaSubscription object that describes its semantic significance.
protected string m_name
return string

m_updateRate protected property

The speed (in milliseconds)requested for scanning the active item objects.
protected uint m_updateRate
return uint