C# 클래스 Opc.Ua.Client.MonitoredItem

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

Private Properties

프로퍼티 타입 설명
Initialize void
Initialize void
UseDefaultEventFilter void
ValidateFilter void

공개 메소드들

메소드 설명
Clone ( ) : object

Creates a deep copy of the object.

DequeueEvents ( ) : IList

Read all events in the cache queue.

DequeueValues ( ) : IList

Read all values in the cache queue.

GetEventTime ( EventFieldList eventFields ) : System.DateTime

Returns value of the field name containing the event type.

GetEventType ( EventFieldList eventFields ) : INode

Returns value of the field name containing the event type.

GetFieldName ( int index ) : string

Returns the field name the specified SelectClause in the EventFilter.

GetFieldValue ( EventFieldList eventFields, NodeId eventTypeId, IList browsePath, uint attributeId ) : object

Returns value of the field name containing the event type.

GetFieldValue ( EventFieldList eventFields, NodeId eventTypeId, QualifiedName browseName ) : object

Returns value of the field name containing the event type.

GetFieldValue ( EventFieldList eventFields, NodeId eventTypeId, string browsePath, uint attributeId ) : object

Returns value of the field name containing the event type.

GetServiceResult ( IEncodeable notification ) : ServiceResult

The service result for a data change notification.

GetServiceResult ( IEncodeable notification, int index ) : ServiceResult

The service result for a field in an notification (the field must contain a Status object).

MonitoredItem ( ) : System

Initializes a new instance of the MonitoredItem class.

MonitoredItem ( MonitoredItem template ) : System

Initializes a new instance of the MonitoredItem class.

MonitoredItem ( MonitoredItem template, bool copyEventHandlers ) : System

Initializes a new instance of the MonitoredItem class.

MonitoredItem ( uint clientHandle ) : System

Initializes a new instance of the MonitoredItem class.

SaveValueInCache ( IEncodeable newValue ) : void

Saves a data change or event in the cache.

SetCreateResult ( MonitoredItemCreateRequest request, MonitoredItemCreateResult result, int index, DiagnosticInfoCollection diagnosticInfos, ResponseHeader responseHeader ) : void

Updates the object with the results of a create monitored item request.

SetDeleteResult ( StatusCode result, int index, DiagnosticInfoCollection diagnosticInfos, ResponseHeader responseHeader ) : void

Updates the object with the results of a modify monitored item request.

SetError ( ServiceResult error ) : void

Sets the error status for the monitored item.

SetModifyResult ( MonitoredItemModifyRequest request, MonitoredItemModifyResult result, int index, DiagnosticInfoCollection diagnosticInfos, ResponseHeader responseHeader ) : void

Updates the object with the results of a modify monitored item request.

SetResolvePathResult ( BrowsePathResult result, int index, DiagnosticInfoCollection diagnosticInfos, ResponseHeader responseHeader ) : void

Updates the object with the results of a translate browse path request.

비공개 메소드들

메소드 설명
Initialize ( ) : void

Sets the private members to default values.

Initialize ( StreamingContext context ) : void
UseDefaultEventFilter ( ) : void

Sets the default event filter.

ValidateFilter ( NodeClass nodeClass, MonitoringFilter filter ) : void

Throws an exception if the flter cannot be used with the node class.

메소드 상세

Clone() 공개 메소드

Creates a deep copy of the object.
public Clone ( ) : object
리턴 object

DequeueEvents() 공개 메소드

Read all events in the cache queue.
public DequeueEvents ( ) : IList
리턴 IList

DequeueValues() 공개 메소드

Read all values in the cache queue.
public DequeueValues ( ) : IList
리턴 IList

GetEventTime() 공개 메소드

Returns value of the field name containing the event type.
public GetEventTime ( EventFieldList eventFields ) : System.DateTime
eventFields EventFieldList
리턴 System.DateTime

GetEventType() 공개 메소드

Returns value of the field name containing the event type.
public GetEventType ( EventFieldList eventFields ) : INode
eventFields EventFieldList
리턴 INode

GetFieldName() 공개 메소드

Returns the field name the specified SelectClause in the EventFilter.
public GetFieldName ( int index ) : string
index int
리턴 string

GetFieldValue() 공개 메소드

Returns value of the field name containing the event type.
public GetFieldValue ( EventFieldList eventFields, NodeId eventTypeId, IList browsePath, uint attributeId ) : object
eventFields EventFieldList
eventTypeId NodeId
browsePath IList
attributeId uint
리턴 object

GetFieldValue() 공개 메소드

Returns value of the field name containing the event type.
public GetFieldValue ( EventFieldList eventFields, NodeId eventTypeId, QualifiedName browseName ) : object
eventFields EventFieldList
eventTypeId NodeId
browseName QualifiedName
리턴 object

GetFieldValue() 공개 메소드

Returns value of the field name containing the event type.
public GetFieldValue ( EventFieldList eventFields, NodeId eventTypeId, string browsePath, uint attributeId ) : object
eventFields EventFieldList
eventTypeId NodeId
browsePath string
attributeId uint
리턴 object

GetServiceResult() 공개 정적인 메소드

The service result for a data change notification.
public static GetServiceResult ( IEncodeable notification ) : ServiceResult
notification IEncodeable
리턴 ServiceResult

GetServiceResult() 공개 정적인 메소드

The service result for a field in an notification (the field must contain a Status object).
public static GetServiceResult ( IEncodeable notification, int index ) : ServiceResult
notification IEncodeable
index int
리턴 ServiceResult

MonitoredItem() 공개 메소드

Initializes a new instance of the MonitoredItem class.
public MonitoredItem ( ) : System
리턴 System

MonitoredItem() 공개 메소드

Initializes a new instance of the MonitoredItem class.
public MonitoredItem ( MonitoredItem template ) : System
template MonitoredItem The template used to specify the monitoring parameters.
리턴 System

MonitoredItem() 공개 메소드

Initializes a new instance of the MonitoredItem class.
public MonitoredItem ( MonitoredItem template, bool copyEventHandlers ) : System
template MonitoredItem The template used to specify the monitoring parameters.
copyEventHandlers bool if set to true the event handlers are copied.
리턴 System

MonitoredItem() 공개 메소드

Initializes a new instance of the MonitoredItem class.
public MonitoredItem ( uint clientHandle ) : System
clientHandle uint The client handle. The caller must ensure it uniquely identifies the monitored item.
리턴 System

SaveValueInCache() 공개 메소드

Saves a data change or event in the cache.
public SaveValueInCache ( IEncodeable newValue ) : void
newValue IEncodeable
리턴 void

SetCreateResult() 공개 메소드

Updates the object with the results of a create monitored item request.
public SetCreateResult ( MonitoredItemCreateRequest request, MonitoredItemCreateResult result, int index, DiagnosticInfoCollection diagnosticInfos, ResponseHeader responseHeader ) : void
request MonitoredItemCreateRequest
result MonitoredItemCreateResult
index int
diagnosticInfos DiagnosticInfoCollection
responseHeader ResponseHeader
리턴 void

SetDeleteResult() 공개 메소드

Updates the object with the results of a modify monitored item request.
public SetDeleteResult ( StatusCode result, int index, DiagnosticInfoCollection diagnosticInfos, ResponseHeader responseHeader ) : void
result StatusCode
index int
diagnosticInfos DiagnosticInfoCollection
responseHeader ResponseHeader
리턴 void

SetError() 공개 메소드

Sets the error status for the monitored item.
public SetError ( ServiceResult error ) : void
error ServiceResult
리턴 void

SetModifyResult() 공개 메소드

Updates the object with the results of a modify monitored item request.
public SetModifyResult ( MonitoredItemModifyRequest request, MonitoredItemModifyResult result, int index, DiagnosticInfoCollection diagnosticInfos, ResponseHeader responseHeader ) : void
request MonitoredItemModifyRequest
result MonitoredItemModifyResult
index int
diagnosticInfos DiagnosticInfoCollection
responseHeader ResponseHeader
리턴 void

SetResolvePathResult() 공개 메소드

Updates the object with the results of a translate browse path request.
public SetResolvePathResult ( BrowsePathResult result, int index, DiagnosticInfoCollection diagnosticInfos, ResponseHeader responseHeader ) : void
result BrowsePathResult
index int
diagnosticInfos DiagnosticInfoCollection
responseHeader ResponseHeader
리턴 void