OPCHDA.NET-UA
InsertReplace Method
See Also  Send Feedback
OpcHDaNetUaOption.Net4 Assembly > hdaUAwrapper Namespace > HDAServer Class : InsertReplace Method

Glossary Item Box

This asynchronous function inserts or replaces values and qualities at the specified timestamps for one or more items. If the item has a value at the specified timestamp, the new value and quality shall replace the old one. If there is no value at that timestamp, the function shall insert the new data.

This function is intended to unconditionally insert/replace values and qualities; e.g., correction of values for bad sensors.

The results are returned via the client's UpdateComplete event handler.

Overload List

OverloadDescription
InsertReplace(Int32,Int32[],DateTime[],Object[],Int32[],Int32[],Int32)

This asynchronous function inserts or replaces values and qualities at the specified timestamps for one or more items. If the item has a value at the specified timestamp, the new value and quality shall replace the old one. If there is no value at that timestamp, the function shall insert the new data.

This function is intended to unconditionally insert/replace values and qualities; e.g., correction of values for bad sensors.

The results are returned via the client's UpdateComplete event handler.

 
InsertReplace(Int32,Int32[],Int64[],Object[],Int32[],Int32[],Int32)

This asynchronous function inserts or replaces values and qualities at the specified timestamps for one or more items. If the item has a value at the specified timestamp, the new value and quality shall replace the old one. If there is no value at that timestamp, the function shall insert the new data.

This function is intended to unconditionally insert/replace values and qualities; e.g., correction of values for bad sensors.

The results are returned via the client's UpdateComplete event handler.

 
InsertReplace(Int32[],Int64[],Object[],Int32[],Int32[])

This synchronous function inserts or replaces values and qualities in the history database for the specified timestamps for one or more items.

If the item has a value at the specified timestamp, the new value and quality will replace the old one.

If there is no value at that timestamp, the function will insert the new data. The function runs to completion before returning.

This function is intended to unconditionally insert/replace values and qualities; e.g., correction of values for bad sensors.

 
InsertReplace(Int32[],DateTime[],Object[],Int32[],Int32[])

This synchronous function inserts or replaces values and qualities in the history database for the specified timestamps for one or more items.

If the item has a value at the specified timestamp, the new value and quality will replace the old one.

If there is no value at that timestamp, the function will insert the new data. The function runs to completion before returning.

This function is intended to unconditionally insert/replace values and qualities; e.g., correction of values for bad sensors.

 

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2008/2012/2016, .NET 4.x

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.