Auto: s7-d1 — TIA Portal CSV + STEP 7 Classic AWL symbol import
Closes #299
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
namespace ZB.MOM.WW.OtOpcUa.Driver.S7.SymbolImport;
|
||||
|
||||
/// <summary>
|
||||
/// Outcome of a single <see cref="IS7SymbolImporter"/> run. <see cref="Tags"/> carries
|
||||
/// the imported tag definitions ready to drop into <c>S7DriverOptions.Tags</c>;
|
||||
/// <see cref="ParsedCount"/>, <see cref="SkippedCount"/>, <see cref="ErrorCount"/>, and
|
||||
/// <see cref="UdtPlaceholderCount"/> give the operator a single line of telemetry
|
||||
/// ("imported 142 / skipped 3 / errored 0 / udt 5") suitable for either a CLI summary
|
||||
/// or a startup-time log line.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// <see cref="ParsedCount"/> includes UDT placeholders — placeholders count as
|
||||
/// imported tags (they materialise as <see cref="S7TagDefinition"/> rows the driver
|
||||
/// can list in the Admin UI), they're just non-functional until PR-S7-D2 lands.
|
||||
/// <see cref="UdtPlaceholderCount"/> is a sub-count operators can compare against
|
||||
/// <see cref="ParsedCount"/> to spot how much of the import is still placeholder.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public sealed record S7ImportResult(
|
||||
IReadOnlyList<S7TagDefinition> Tags,
|
||||
int ParsedCount,
|
||||
int SkippedCount,
|
||||
int ErrorCount,
|
||||
int UdtPlaceholderCount);
|
||||
Reference in New Issue
Block a user