Skip to content
Start free evaluation

PDComm.GemFormattedProgramDryRunInfo

Class

Summarizes a formatted process program dry run report.

public sealed record GemFormattedProgramDryRunInfo

Returned by GemFormattedProgramDryRunReport.GetInfo. The generation and revision fields record the selection and capability catalog the report evaluated; GemFormattedPrograms.StartExecution accepts the report only while they still match.

Parameters

NameDescription
OutcomeThe overall outcome, the most severe outcome of all issues: 0 pass, 1 indeterminate or 2 reject; see GemFormattedProgramDryRunOutcome.
PolicyVersionThe policy version the report was evaluated with.
IdFormatThe SECS-II format code of the evaluated program's PPID: 16 (SecsFormat.Ascii) or 8 (SecsFormat.Binary).
CapabilityPresentWhether the equipment's capability catalog held data; without it the report has an indeterminate capability-missing issue. 1 when set, otherwise 0.
EndpointIdThe process-local identity of the endpoint that produced the report.
SessionGenerationThe connection generation in which the evaluated program was selected.
StoreRevisionThe program store revision captured when the program was selected.
EntryGenerationThe store entry generation captured when the program was selected.
SelectionGenerationThe selection generation of the evaluated selection.
CapabilityRevisionThe revision of the capability catalog the program was compared with.
EncodedBytesThe encoded size, in bytes, of the evaluated program (its S7F23 body).
CommandCountThe number of commands in the evaluated program.
IssueCountThe number of issues; read each with GemFormattedProgramDryRunReport.GetIssueInfo.

Members

GemFormattedProgramDryRunInfo

Constructor

Summarizes a formatted process program dry run report.

public GemFormattedProgramDryRunInfo(uint Outcome, uint PolicyVersion, byte IdFormat, byte CapabilityPresent, ulong EndpointId, ulong SessionGeneration, ulong StoreRevision, ulong EntryGeneration, ulong SelectionGeneration, ulong CapabilityRevision, nuint EncodedBytes, nuint CommandCount, nuint IssueCount)

Returned by GemFormattedProgramDryRunReport.GetInfo. The generation and revision fields record the selection and capability catalog the report evaluated; GemFormattedPrograms.StartExecution accepts the report only while they still match.

Parameters

NameDescription
OutcomeThe overall outcome, the most severe outcome of all issues: 0 pass, 1 indeterminate or 2 reject; see GemFormattedProgramDryRunOutcome.
PolicyVersionThe policy version the report was evaluated with.
IdFormatThe SECS-II format code of the evaluated program's PPID: 16 (SecsFormat.Ascii) or 8 (SecsFormat.Binary).
CapabilityPresentWhether the equipment's capability catalog held data; without it the report has an indeterminate capability-missing issue. 1 when set, otherwise 0.
EndpointIdThe process-local identity of the endpoint that produced the report.
SessionGenerationThe connection generation in which the evaluated program was selected.
StoreRevisionThe program store revision captured when the program was selected.
EntryGenerationThe store entry generation captured when the program was selected.
SelectionGenerationThe selection generation of the evaluated selection.
CapabilityRevisionThe revision of the capability catalog the program was compared with.
EncodedBytesThe encoded size, in bytes, of the evaluated program (its S7F23 body).
CommandCountThe number of commands in the evaluated program.
IssueCountThe number of issues; read each with GemFormattedProgramDryRunReport.GetIssueInfo.

CapabilityPresent

Property

Whether the equipment's capability catalog held data; without it the report has an indeterminate capability-missing issue. 1 when set, otherwise 0.

public byte CapabilityPresent { get; init; }

CapabilityRevision

Property

The revision of the capability catalog the program was compared with.

public ulong CapabilityRevision { get; init; }

CommandCount

Property

The number of commands in the evaluated program.

public nuint CommandCount { get; init; }

EncodedBytes

Property

The encoded size, in bytes, of the evaluated program (its S7F23 body).

public nuint EncodedBytes { get; init; }

EndpointId

Property

The process-local identity of the endpoint that produced the report.

public ulong EndpointId { get; init; }

EntryGeneration

Property

The store entry generation captured when the program was selected.

public ulong EntryGeneration { get; init; }

IdFormat

Property

The SECS-II format code of the evaluated program's PPID: 16 (SecsFormat.Ascii) or 8 (SecsFormat.Binary).

public byte IdFormat { get; init; }

IssueCount

Property

The number of issues; read each with GemFormattedProgramDryRunReport.GetIssueInfo.

public nuint IssueCount { get; init; }

Outcome

Property

The overall outcome, the most severe outcome of all issues: 0 pass, 1 indeterminate or 2 reject; see GemFormattedProgramDryRunOutcome.

public uint Outcome { get; init; }

PolicyVersion

Property

The policy version the report was evaluated with.

public uint PolicyVersion { get; init; }

SelectionGeneration

Property

The selection generation of the evaluated selection.

public ulong SelectionGeneration { get; init; }

SessionGeneration

Property

The connection generation in which the evaluated program was selected.

public ulong SessionGeneration { get; init; }

StoreRevision

Property

The program store revision captured when the program was selected.

public ulong StoreRevision { get; init; }