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

Glossary Item Box

This asynchronous function replaces values and qualities in the history database at the specified timestamps for one or more items. If no value exists at the specified timestamp, the new value shall not be inserted; instead errors shall indicate an error. This function is intended to replace existing values at the specified timestamp; e.g., correct lab data that was improperly processed, but inserted into the history database.

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

Overload List

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

This asynchronous function replaces values and qualities in the history database at the specified timestamps for one or more items. If no value exists at the specified timestamp, the new value shall not be inserted; instead errors shall indicate an error. This function is intended to replace existing values at the specified timestamp; e.g., correct lab data that was improperly processed, but inserted into the history database.

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

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

This asynchronous function replaces values and qualities in the history database at the specified timestamps for one or more items. If no value exists at the specified timestamp, the new value shall not be inserted; instead errors shall indicate an error. This function is intended to replace existing values at the specified timestamp; e.g., correct lab data that was improperly processed, but inserted into the history database.

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

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

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

If no value exists at the specified timestamp, the new value shall not be inserted; instead errors shall indicate an error.

This function is intended to replace existing values at the specified timestamp; e.g., correct lab data that was improperly processed, but inserted into the history database.

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

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

If no value exists at the specified timestamp, the new value shall not be inserted; instead errors shall indicate an error.

This function is intended to replace existing values at the specified timestamp; e.g., correct lab data that was improperly processed, but inserted into the history database.

 

Requirements

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

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.