Table of Contents

Class NcResultCompletion

Namespace
Hi.MachiningProcs
Assembly
HiNc.dll

Internal Use Only. What Complete(bool, Action<string>) answers: the outcome, where the file is, what it holds and the range of steps it holds.

public sealed record NcResultCompletion : IEquatable<NcResultCompletion>
Inheritance
NcResultCompletion
Implements
Inherited Members
Extension Methods

Constructors

NcResultCompletion(NcResultCompletionOutcome, string, string, bool, NcResultRecorderCounts, int, int)

Internal Use Only. What Complete(bool, Action<string>) answers: the outcome, where the file is, what it holds and the range of steps it holds.

public NcResultCompletion(NcResultCompletionOutcome Outcome, string ResultDirectory, string DatabasePath, bool PlayCompleted, NcResultRecorderCounts Counts, int FirstStepIndex, int LastStepIndex)

Parameters

Outcome NcResultCompletionOutcome

How the completion ended.

ResultDirectory string

The result folder's full path; null when nothing was recorded.

DatabasePath string

The full path of the result.db; null when nothing was recorded.

PlayCompleted bool

What the file's Meta says about the play: whether it ran to its end.

Counts NcResultRecorderCounts

The records taken, refused, dropped.

FirstStepIndex int

The lowest step index the file took; -1 without a step.

LastStepIndex int

The highest step index the file took; -1 without a step.

Properties

Counts

The records taken, refused, dropped.

public NcResultRecorderCounts Counts { get; init; }

Property Value

NcResultRecorderCounts

DatabasePath

The full path of the result.db; null when nothing was recorded.

public string DatabasePath { get; init; }

Property Value

string

FirstStepIndex

The lowest step index the file took; -1 without a step.

public int FirstStepIndex { get; init; }

Property Value

int

IsFinalized

Whether the file is completed (Completed or CompletedWithoutWct): one self-contained file a review opens.

public bool IsFinalized { get; }

Property Value

bool

LastStepIndex

The highest step index the file took; -1 without a step.

public int LastStepIndex { get; init; }

Property Value

int

Luggage

How the luggage archive beside the file (luggage.db: the step cache's force arrays and engagements of the result's steps) ended: None when none was attempted (no step cache given, no step, or the completion given up before it).

public NcLuggageArchiveOutcome Luggage { get; init; }

Property Value

NcLuggageArchiveOutcome

LuggageRows

The rows the luggage archive holds; 0 unless Luggage is Archived.

public long LuggageRows { get; init; }

Property Value

long

Outcome

How the completion ended.

public NcResultCompletionOutcome Outcome { get; init; }

Property Value

NcResultCompletionOutcome

PlayCompleted

What the file's Meta says about the play: whether it ran to its end.

public bool PlayCompleted { get; init; }

Property Value

bool

ResultDirectory

The result folder's full path; null when nothing was recorded.

public string ResultDirectory { get; init; }

Property Value

string