C# 클래스 TestData.TestDataSystem

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

공개 메소드들

메소드 설명
DoSample ( object state ) : void
EnableHistoryArchiving ( BaseVariableState variable ) : void

Creates an archive for the variable.

GetHistoryFile ( BaseVariableState variable ) : IHistoryDataSource

Returns the history file for the variable.

ReadValue ( BaseVariableState variable ) : object

Returns a new value for the variable.

SetSamplingInterval ( double samplingInterval ) : void
StartMonitoringValue ( uint monitoredItemId, double samplingInterval, BaseVariableState variable ) : void
StopMonitoringValue ( uint monitoredItemId ) : void
TestDataSystem ( ITestDataSystemCallback callback, Opc.Ua.NamespaceTable namespaceUris, StringTable serverUris ) : System

비공개 메소드들

메소드 설명
GetRandomStructure ( ) : Opc.Ua.ExtensionObject

Returns a random structure.

메소드 상세

DoSample() 공개 메소드

public DoSample ( object state ) : void
state object
리턴 void

EnableHistoryArchiving() 공개 메소드

Creates an archive for the variable.
public EnableHistoryArchiving ( BaseVariableState variable ) : void
variable BaseVariableState
리턴 void

GetHistoryFile() 공개 메소드

Returns the history file for the variable.
public GetHistoryFile ( BaseVariableState variable ) : IHistoryDataSource
variable BaseVariableState
리턴 IHistoryDataSource

ReadValue() 공개 메소드

Returns a new value for the variable.
public ReadValue ( BaseVariableState variable ) : object
variable BaseVariableState
리턴 object

SetSamplingInterval() 공개 메소드

public SetSamplingInterval ( double samplingInterval ) : void
samplingInterval double
리턴 void

StartMonitoringValue() 공개 메소드

public StartMonitoringValue ( uint monitoredItemId, double samplingInterval, BaseVariableState variable ) : void
monitoredItemId uint
samplingInterval double
variable BaseVariableState
리턴 void

StopMonitoringValue() 공개 메소드

public StopMonitoringValue ( uint monitoredItemId ) : void
monitoredItemId uint
리턴 void

TestDataSystem() 공개 메소드

public TestDataSystem ( ITestDataSystemCallback callback, Opc.Ua.NamespaceTable namespaceUris, StringTable serverUris ) : System
callback ITestDataSystemCallback
namespaceUris Opc.Ua.NamespaceTable
serverUris Opc.Ua.StringTable
리턴 System