C# 클래스 Opc.Ua.Server.SamplingGroup

An object which periodically reads the items and updates the cache.
상속: IDisposable
파일 보기 프로젝트 열기: OPCFoundation/UA-.NET 1 사용 예제들

공개 메소드들

메소드 설명
ApplyChanges ( ) : bool

Updates the group by apply any pending changes.

Dispose ( ) : void

Frees any unmanaged resources.

ModifyMonitoring ( OperationContext context, ISampledDataChangeMonitoredItem monitoredItem ) : bool

Checks if the monitored item can still be handled by the group.

The ApplyChanges() method must be called to actually stop sampling the item.

SamplingGroup ( IServerInternal server, INodeManager nodeManager, List samplingRates, OperationContext context, double samplingInterval ) : System

Creates a new instance of a sampling group.

Shutdown ( ) : void

Stops the sampling thread.

StartMonitoring ( OperationContext context, ISampledDataChangeMonitoredItem monitoredItem ) : bool

Checks if the monitored item can be handled by the group.

The ApplyChanges() method must be called to actually start sampling the item.

Startup ( ) : void

Starts the sampling thread which periodically reads the items in the group.

StopMonitoring ( ISampledDataChangeMonitoredItem monitoredItem ) : bool

Stops monitoring the item.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

An overrideable version of the Dispose.

비공개 메소드들

메소드 설명
AdjustSamplingInterval ( double samplingInterval ) : double

Ensures the requested sampling interval lines up with one of the supported sampling rates.

DoSample ( object state ) : void

Samples the values of the items.

MeetsGroupCriteria ( OperationContext context, ISampledDataChangeMonitoredItem monitoredItem ) : bool

Checks if the item meets the group's criteria.

SampleMonitoredItems ( object data ) : void

Periodically checks if the sessions have timed out.

메소드 상세

ApplyChanges() 공개 메소드

Updates the group by apply any pending changes.
public ApplyChanges ( ) : bool
리턴 bool

Dispose() 공개 메소드

Frees any unmanaged resources.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

An overrideable version of the Dispose.
protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

ModifyMonitoring() 공개 메소드

Checks if the monitored item can still be handled by the group.
The ApplyChanges() method must be called to actually stop sampling the item.
public ModifyMonitoring ( OperationContext context, ISampledDataChangeMonitoredItem monitoredItem ) : bool
context OperationContext
monitoredItem ISampledDataChangeMonitoredItem
리턴 bool

SamplingGroup() 공개 메소드

Creates a new instance of a sampling group.
public SamplingGroup ( IServerInternal server, INodeManager nodeManager, List samplingRates, OperationContext context, double samplingInterval ) : System
server IServerInternal
nodeManager INodeManager
samplingRates List
context OperationContext
samplingInterval double
리턴 System

Shutdown() 공개 메소드

Stops the sampling thread.
public Shutdown ( ) : void
리턴 void

StartMonitoring() 공개 메소드

Checks if the monitored item can be handled by the group.
The ApplyChanges() method must be called to actually start sampling the item.
public StartMonitoring ( OperationContext context, ISampledDataChangeMonitoredItem monitoredItem ) : bool
context OperationContext
monitoredItem ISampledDataChangeMonitoredItem
리턴 bool

Startup() 공개 메소드

Starts the sampling thread which periodically reads the items in the group.
public Startup ( ) : void
리턴 void

StopMonitoring() 공개 메소드

Stops monitoring the item.
public StopMonitoring ( ISampledDataChangeMonitoredItem monitoredItem ) : bool
monitoredItem ISampledDataChangeMonitoredItem
리턴 bool