Property | Type | Description | |
---|---|---|---|
AddValueToQueue | void | ||
ExceedsDeadband | bool | ||
GetEventFields | EventFieldList | ||
IncrementSampleTime | void | ||
Initialize | void | ||
SetOverflowBit | ServiceResult |
Method | Description | |
---|---|---|
GetCreateResult ( MonitoredItemCreateResult &result ) : ServiceResult |
Returns the result after creating the monitor item.
|
|
GetModifyResult ( MonitoredItemModifyResult &result ) : ServiceResult |
Returns the result after modifying the monitor item.
|
|
GetReadValueId ( ) : ReadValueId |
Returns a description of the item being monitored.
|
|
IEventMonitoredItem ( MonitoringMode monitoringMode ) : void |
Changes the monitoring mode for the item.
|
|
ISampledDataChangeMonitoredItem ( MonitoringMode monitoringMode ) : void |
Changes the monitoring mode for the item.
|
|
ModifyAttributes ( DiagnosticsMasks diagnosticsMasks, TimestampsToReturn timestampsToReturn, uint clientHandle, MonitoringFilter originalFilter, MonitoringFilter filterToUse, Range range, double samplingInterval, uint queueSize, bool discardOldest ) : ServiceResult |
Modifies the attributes for monitored item.
|
|
MonitoredItem ( IServerInternal server, INodeManager nodeManager, object mangerHandle, uint subscriptionId, uint id, |
Initializes the object with its node type.
|
|
Publish ( |
Publishes all available event notifications.
|
|
Publish ( |
Publishes all available data change notifications.
|
|
QueueEvent ( EventFieldList fields ) : void |
Adds an event to the queue.
|
|
QueueEvent ( IFilterTarget instance ) : void |
Adds an event to the queue.
|
|
QueueEvent ( IFilterTarget instance, bool bypassFilter ) : void |
Adds an event to the queue.
|
|
QueueValue ( DataValue value, ServiceResult error ) : void |
Adds an event to the queue.
|
|
QueueValue ( DataValue value, ServiceResult error, bool bypassFilter ) : void |
Updates the queue with a data value or an error.
|
|
SamplingIntervalExpired ( ) : bool |
Used to check whether the item is ready to sample.
|
|
SetMonitoringMode ( MonitoringMode monitoringMode ) : MonitoringMode |
Changes the monitoring mode for the item.
|
|
SetSamplingError ( ServiceResult error ) : void |
Sets an error that occured in the sampling group. The sampling group or node manager that owns the item may call this to indicate that a fatal error occurred which means the item will no longer receive any data updates. This error state can be cleared by calling this method and passing in ServiceResult.Good. |
|
SetSamplingInterval ( double samplingInterval ) : void |
Updates the sampling interval for an item.
|
|
SetSemanticsChanged ( ) : void |
Sets a flag indicating that the semantics for the monitored node have changed. The StatusCode for next value reported by the monitored item will have the SemanticsChanged bit set. |
|
SetStructureChanged ( ) : void |
Sets a flag indicating that the structure of the monitored node has changed. The StatusCode for next value reported by the monitored item will have the StructureChanged bit set. |
|
SetTriggered ( ) : bool |
Sets a flag indicating that the item has been triggered and should publish.
|
|
ValueChanged ( DataValue value, ServiceResult error, DataValue lastValue, ServiceResult lastError, DataChangeFilter filter, double range ) : bool |
Applies the filter to value to determine if the new value should be kept.
|
Method | Description | |
---|---|---|
ApplyFilter ( DataValue value, ServiceResult error ) : bool |
Applies the filter to value to determine if the new value should be kept.
|
|
Equals ( object value1, object value2, DeadbandType deadbandType, double deadband, double range ) : bool |
Checks if the two values are equal.
|
|
ExceedsDeadband ( object value1, object value2, DeadbandType deadbandType, double deadband, double range ) : bool |
Returns true if the deadband was exceeded.
|
|
InitializeQueue ( ) : void |
Clears and re-initializes the queue if the monitoring parameters changed.
|
|
Publish ( |
Publishes a single data change notifications.
|
Method | Description | |
---|---|---|
AddValueToQueue ( DataValue value, ServiceResult error ) : void |
Adds a value to the queue.
|
|
ExceedsDeadband ( double value1, double value2, DeadbandType deadbandType, double deadband, double range ) : bool |
Returns true if the deadband was exceeded.
|
|
GetEventFields ( FilterContext context, EventFilter filter, IFilterTarget instance ) : EventFieldList |
Fetches the event fields from the event.
|
|
IncrementSampleTime ( ) : void |
Increments the sample time to the next interval.
|
|
Initialize ( ) : void |
Sets private members to default values.
|
|
SetOverflowBit ( object value, ServiceResult error ) : ServiceResult |
Sets the overflow bit.
|
protected ApplyFilter ( DataValue value, ServiceResult error ) : bool | ||
value | DataValue | |
error | ServiceResult | |
return | bool |
protected static Equals ( object value1, object value2, DeadbandType deadbandType, double deadband, double range ) : bool | ||
value1 | object | |
value2 | object | |
deadbandType | DeadbandType | |
deadband | double | |
range | double | |
return | bool |
protected static ExceedsDeadband ( object value1, object value2, DeadbandType deadbandType, double deadband, double range ) : bool | ||
value1 | object | |
value2 | object | |
deadbandType | DeadbandType | |
deadband | double | |
range | double | |
return | bool |
public GetCreateResult ( MonitoredItemCreateResult &result ) : ServiceResult | ||
result | MonitoredItemCreateResult | |
return | ServiceResult |
public GetModifyResult ( MonitoredItemModifyResult &result ) : ServiceResult | ||
result | MonitoredItemModifyResult | |
return | ServiceResult |
public IEventMonitoredItem ( MonitoringMode monitoringMode ) : void | ||
monitoringMode | MonitoringMode | |
return | void |
public ISampledDataChangeMonitoredItem ( MonitoringMode monitoringMode ) : void | ||
monitoringMode | MonitoringMode | |
return | void |
public ModifyAttributes ( DiagnosticsMasks diagnosticsMasks, TimestampsToReturn timestampsToReturn, uint clientHandle, MonitoringFilter originalFilter, MonitoringFilter filterToUse, Range range, double samplingInterval, uint queueSize, bool discardOldest ) : ServiceResult | ||
diagnosticsMasks | DiagnosticsMasks | |
timestampsToReturn | TimestampsToReturn | |
clientHandle | uint | |
originalFilter | MonitoringFilter | |
filterToUse | MonitoringFilter | |
range | Range | |
samplingInterval | double | |
queueSize | uint | |
discardOldest | bool | |
return | ServiceResult |
public MonitoredItem ( IServerInternal server, INodeManager nodeManager, object mangerHandle, uint subscriptionId, uint id, |
||
server | IServerInternal | |
nodeManager | INodeManager | |
mangerHandle | object | |
subscriptionId | uint | |
id | uint | |
session | ||
itemToMonitor | ReadValueId | |
diagnosticsMasks | DiagnosticsMasks | |
timestampsToReturn | TimestampsToReturn | |
monitoringMode | MonitoringMode | |
clientHandle | uint | |
originalFilter | MonitoringFilter | |
filterToUse | MonitoringFilter | |
range | Range | |
samplingInterval | double | |
queueSize | uint | |
discardOldest | bool | |
sourceSamplingInterval | double | |
return | System |
public Publish ( |
||
context | ||
notifications | Queue |
|
return | bool |
public Publish ( |
||
context | ||
notifications | Queue |
|
diagnostics | Queue |
|
return | bool |
protected Publish ( |
||
context | ||
notifications | Queue |
|
diagnostics | Queue |
|
value | DataValue | |
error | ServiceResult | |
return | bool |
public QueueEvent ( EventFieldList fields ) : void | ||
fields | EventFieldList | |
return | void |
public QueueEvent ( IFilterTarget instance ) : void | ||
instance | IFilterTarget | |
return | void |
public QueueEvent ( IFilterTarget instance, bool bypassFilter ) : void | ||
instance | IFilterTarget | |
bypassFilter | bool | |
return | void |
public QueueValue ( DataValue value, ServiceResult error ) : void | ||
value | DataValue | |
error | ServiceResult | |
return | void |
public QueueValue ( DataValue value, ServiceResult error, bool bypassFilter ) : void | ||
value | DataValue | |
error | ServiceResult | |
bypassFilter | bool | |
return | void |
public SetMonitoringMode ( MonitoringMode monitoringMode ) : MonitoringMode | ||
monitoringMode | MonitoringMode | |
return | MonitoringMode |
public SetSamplingError ( ServiceResult error ) : void | ||
error | ServiceResult | |
return | void |
public SetSamplingInterval ( double samplingInterval ) : void | ||
samplingInterval | double | |
return | void |
public static ValueChanged ( DataValue value, ServiceResult error, DataValue lastValue, ServiceResult lastError, DataChangeFilter filter, double range ) : bool | ||
value | DataValue | |
error | ServiceResult | |
lastValue | DataValue | |
lastError | ServiceResult | |
filter | DataChangeFilter | |
range | double | |
return | bool |