C# 클래스 Quickstarts.HistoricalAccessServer.ArchiveItemState

Stores the metadata for a node representing an item in the archive.
상속: Opc.Ua.DataItemState
파일 보기 프로젝트 열기: OPCFoundation/UA-.NET 1 사용 예제들

공개 메소드들

메소드 설명
ArchiveItemState ( ISystemContext context, ArchiveItem item, ushort namespaceIndex ) : System

Creates a new instance of a item.

ConstructId ( string filePath, ushort namespaceIndex ) : Opc.Ua.NodeId

Constructs a node identifier for a item object.

DeleteAnnotationHistory ( SystemContext context, Opc.Ua.QualifiedName propertyName, System.DateTime sourceTimestamp ) : uint

Deletes a property value from the history.

DeleteHistory ( SystemContext context, System.DateTime sourceTimestamp ) : uint

Deletes a value from the history.

DeleteHistory ( SystemContext context, System.DateTime startTime, System.DateTime endTime, bool isModified ) : uint

Deletes a value from the history.

FindValueAfter ( DataView view, int position, bool ignoreBad, bool &dataIgnored ) : int

Returns the next value after the current position.

FindValueAtOrBefore ( DataView view, System.DateTime timestamp, bool ignoreBad, bool &dataIgnored ) : int

Finds the value at or before the timestamp.

LoadConfiguration ( SystemContext context ) : void

Loads the configuration.

NewSamples ( SystemContext context ) : List

Creates a new sample.

ReadHistory ( System.DateTime startTime, System.DateTime endTime, bool isModified ) : DataView

Reads the history for the specified time range.

ReadHistory ( System.DateTime startTime, System.DateTime endTime, bool isModified, Opc.Ua.QualifiedName browseName ) : DataView

Reads the history for the specified time range.

ReloadFromSource ( SystemContext context ) : void

Loads the data.

UpdateAnnotations ( SystemContext context, Annotation annotation, Opc.Ua.DataValue value, PerformUpdateType performUpdateType ) : uint

Updates the history.

UpdateHistory ( SystemContext context, Opc.Ua.DataValue value, PerformUpdateType performUpdateType ) : uint

Updates the history.

비공개 메소드들

메소드 설명
GetModificationInfo ( SystemContext context, HistoryUpdateType updateType ) : ModificationInfo

Creates a modification info record.

SelectTable ( Opc.Ua.QualifiedName propertyName ) : DataTable

Selects the table to use.

메소드 상세

ArchiveItemState() 공개 메소드

Creates a new instance of a item.
public ArchiveItemState ( ISystemContext context, ArchiveItem item, ushort namespaceIndex ) : System
context ISystemContext
item ArchiveItem
namespaceIndex ushort
리턴 System

ConstructId() 공개 정적인 메소드

Constructs a node identifier for a item object.
public static ConstructId ( string filePath, ushort namespaceIndex ) : Opc.Ua.NodeId
filePath string
namespaceIndex ushort
리턴 Opc.Ua.NodeId

DeleteAnnotationHistory() 공개 메소드

Deletes a property value from the history.
public DeleteAnnotationHistory ( SystemContext context, Opc.Ua.QualifiedName propertyName, System.DateTime sourceTimestamp ) : uint
context Opc.Ua.SystemContext
propertyName Opc.Ua.QualifiedName
sourceTimestamp System.DateTime
리턴 uint

DeleteHistory() 공개 메소드

Deletes a value from the history.
public DeleteHistory ( SystemContext context, System.DateTime sourceTimestamp ) : uint
context Opc.Ua.SystemContext
sourceTimestamp System.DateTime
리턴 uint

DeleteHistory() 공개 메소드

Deletes a value from the history.
public DeleteHistory ( SystemContext context, System.DateTime startTime, System.DateTime endTime, bool isModified ) : uint
context Opc.Ua.SystemContext
startTime System.DateTime
endTime System.DateTime
isModified bool
리턴 uint

FindValueAfter() 공개 메소드

Returns the next value after the current position.
public FindValueAfter ( DataView view, int position, bool ignoreBad, bool &dataIgnored ) : int
view System.Data.DataView
position int
ignoreBad bool
dataIgnored bool
리턴 int

FindValueAtOrBefore() 공개 메소드

Finds the value at or before the timestamp.
public FindValueAtOrBefore ( DataView view, System.DateTime timestamp, bool ignoreBad, bool &dataIgnored ) : int
view System.Data.DataView
timestamp System.DateTime
ignoreBad bool
dataIgnored bool
리턴 int

LoadConfiguration() 공개 메소드

Loads the configuration.
public LoadConfiguration ( SystemContext context ) : void
context Opc.Ua.SystemContext
리턴 void

NewSamples() 공개 메소드

Creates a new sample.
public NewSamples ( SystemContext context ) : List
context Opc.Ua.SystemContext
리턴 List

ReadHistory() 공개 메소드

Reads the history for the specified time range.
public ReadHistory ( System.DateTime startTime, System.DateTime endTime, bool isModified ) : DataView
startTime System.DateTime
endTime System.DateTime
isModified bool
리턴 System.Data.DataView

ReadHistory() 공개 메소드

Reads the history for the specified time range.
public ReadHistory ( System.DateTime startTime, System.DateTime endTime, bool isModified, Opc.Ua.QualifiedName browseName ) : DataView
startTime System.DateTime
endTime System.DateTime
isModified bool
browseName Opc.Ua.QualifiedName
리턴 System.Data.DataView

ReloadFromSource() 공개 메소드

Loads the data.
public ReloadFromSource ( SystemContext context ) : void
context Opc.Ua.SystemContext
리턴 void

UpdateAnnotations() 공개 메소드

Updates the history.
public UpdateAnnotations ( SystemContext context, Annotation annotation, Opc.Ua.DataValue value, PerformUpdateType performUpdateType ) : uint
context Opc.Ua.SystemContext
annotation Annotation
value Opc.Ua.DataValue
performUpdateType PerformUpdateType
리턴 uint

UpdateHistory() 공개 메소드

Updates the history.
public UpdateHistory ( SystemContext context, Opc.Ua.DataValue value, PerformUpdateType performUpdateType ) : uint
context Opc.Ua.SystemContext
value Opc.Ua.DataValue
performUpdateType PerformUpdateType
리턴 uint