Afficher le rapport d'importation - TIAPortal

Fonctions pour DCC

ft:publication_title
Fonctions pour DCC
Product
TIAPortal
Version
V20
Publication date
01/2025
Language
fr-FR
Afficher le rapport d'importation

L'exemple suivant montre comment afficher le rapport d'une importation.

Afficher le rapport d'importation Copie le code de programme suivant dans le presse-papiers

 

DccImportResultData importResultData = charts.Import(@"d:\Charts.dcc", DccImportOptions.None);

IDictionary<ushort, ushort> remappedParameters = importResultData.RemappedParameterNumbers;

foreach (KeyValuePair<ushort, ushort> remappedParameter in remappedParameters)

{

  System.Console.WriteLine($"ParameterNumber <{remappedParameter.Key}> has been changed to <{remappedParameter.Value}> during import.");

}