System.Object
EPLAN.Harness.API.ApiProperties.TerminalDesignation
System.Object
EPLAN.Harness.API.ApiProperties.TerminalDesignation
public class TerminalDesignation
Contains a dictionary of two strings.
// Obtain the terminal occurrence IOccTerminal occTerminal = ... // Obtain the Terminal designation from the terminal occurrence. TerminalDesignation terminalDesignation = occTerminal.TerminalDesignation; Console.WriteLine(terminalDesignation); // Change the designation of terminal's level 1. terminalDesignation.ChangeLevelDesignation("1", "A"); // Change the designation of terminal's level 2. terminalDesignation.ChangeLevelDesignation("2", "B"); // Change the designation of terminal's level 3. terminalDesignation.ChangeLevelDesignation("Level 3", "C"); Console.WriteLine(terminalDesignation); // RESULTS: // [(Level 1: 1)(Level 2: 2)(Level 3: 3)] // [(Level 1: A)(Level 2: B)(Level 3: C)]
Name | Description | |
---|---|---|
TerminalLevelDesignations | Gets the Dictionary of two System.Strings that contain the order of the level and its designation. |
Name | Description | |
---|---|---|
ChangeLevelDesignation | Set the designation of the level. | |
ToString | Returns a string that represents the current object. |