Gs1MigrationResult
public sealed class Gs1MigrationResultResult of ZplGs1Migration.Migrate.
Properties
| Property | Type | Description |
|---|---|---|
Changed { get; } | bool | |
Dpi { get; } | int | |
Labels { get; } | IReadOnlyList<Gs1LabelMigration> | |
MigratedZpl { get; } | string | The ZPL with the added 2D carriers (equal to Gs1MigrationResult.OriginalZpl when nothing was added). |
OriginalZpl { get; } | string | |
Success { get; } | bool | Every label with a GTIN carrier now has a 2D carrier (added or already present) and the sunrise pre-check of the migrated ZPL has no errors (see Gs1MigrationResult.SunriseCheck). |
SunriseCheck { get; } | ComplianceReport | The "sunrise" compliance pre-check (ZPL3201–ZPL3213) run on Gs1MigrationResult.MigratedZpl. For labels whose only GTIN carrier is GS1-128 or ITF-14 (not scanned at retail POS), ZPL3209 "linear barcode missing" is expected and does not count against Gs1MigrationResult.Success; it stays in the report. |
SunriseErrors { get; } | IReadOnlyList<ComplianceFinding> | Errors of Gs1MigrationResult.SunriseCheck that count: findings on labels with a GTIN carrier (labels without one are not retail items and stay unchanged), except ZPL3209 on labels whose GTIN carrier is not scanned at retail POS. |
Warnings { get; } | IReadOnlyList<string> | Input-wide warnings (no label found …). |
Fields & Constants
| Field | Type | Description |
|---|---|---|
const Disclaimer = "GS1 2D migration assistant (pre-chec…" | string | Wording used in every output: an assistant and pre-check, not a certification. |
Methods
| Method Signature | Returns | Description |
|---|---|---|
static # StatusName(Gs1LabelMigrationStatus s) | string | Display name of a status ("migrated", "no GTIN carrier" …). |
# ToJson(bool indented = true) | string | JSON report (labels, inserted ZPL, URI, placement in dots and mm, the sunrise check findings). |
# ToString() | string | |
# ToText(string? fileName = default) | string | Human-readable report. |

