MergeConstants Property

See Also       Example        Applies To       Specifics

 

Gets or sets the value that determines how the modified event values are merged and/or inserted into the archive.

 

Syntax

[Visual Basic]
Public Property MergeConstants As DataMergeConstants 

[C#]
public DataMergeConstants  MergeConstants {get; set;}

 

The MergeConstants property syntax has these parts:

 

Part

Description

MergeConstants

An enumeration that species the data merge method for duplicate events.

 

Settings

The settings for MergeConstants  are:

 

Part

Description

dm_Error_Duplicates

Return error if duplicates exist.

dm_Insert_Duplicates

Always insert the values. Create duplicates if necessary.
dm_Replace_Duplicates (Default). Replace existing duplicates.
dm_ReplaceOnly_Duplicates Replace only if a duplicate exists.

 

 

Remarks

 

The default value (dm_Replace_Duplicates) was selected because in this mode the "Substituted" attribute doesn't get set when an event gets annotated or the annotation is modified.

 

Requirements

    Assembly: OSIsoft.PISDK.Controls.PIArchiveEditor (in OSIsoft.PISDK.Controls.PIArchiveEditor .dll)

 

 


Enabling Operational Intelligence