Table of Contents

Class StepPhysicsAmendment

Namespace
Hi.MachiningSteps
Assembly
HiMech.dll

Internal Use Only. What the step-physics recompute changed on one published step, for the step cache to amend in place (SqliteStepStorage.AmendStepPhysics, one transaction a chunk; the brief-into-DB chain's C4a): the force luggage when the force kernel reran on the step (null: the luggage row keeps its force column; the substraction and the engagement columns are never touched), and the step's two briefs after the recompute — the force brief in its tri-state (null: the physics did not run on the step), the sequential physics state always. Not a StepConsignment: a consignment is a step's luggage and briefs on their way to the store, whole rows written once; an amendment is a partial update of rows that exist.

public sealed class StepPhysicsAmendment
Inheritance
StepPhysicsAmendment
Inherited Members
Extension Methods

Constructors

StepPhysicsAmendment(int, MillingForceLuggage, MillingForceBrief, SeqPhysicsState)

An amendment of one step.

public StepPhysicsAmendment(int stepIndex, MillingForceLuggage millingForceLuggage, MillingForceBrief millingForceBrief, SeqPhysicsState seqPhysicsState)

Parameters

stepIndex int

The step index.

millingForceLuggage MillingForceLuggage

The force luggage of a force rerun, keyed to the step; null when the force did not rerun.

millingForceBrief MillingForceBrief

The force brief after the recompute; null when the physics did not run on the step.

seqPhysicsState SeqPhysicsState

The sequential physics state after the recompute; required.

Exceptions

ArgumentNullException

The sequential physics state is null.

ArgumentException

The force luggage is keyed to another step.

Properties

MillingForceBrief

The step's force brief after the recompute: a new object for a step the recompute rewrote, the stored one for a step it passed through; null when the physics did not run on the step (the record written is the wire format's null record).

public MillingForceBrief MillingForceBrief { get; }

Property Value

MillingForceBrief

MillingForceLuggage

The force luggage the force kernel produced on this recompute; null when the step did not go through the kernel (its luggage row keeps its force column).

public MillingForceLuggage MillingForceLuggage { get; }

Property Value

MillingForceLuggage

SeqPhysicsState

The step's sequential physics state after the recompute; never null.

public SeqPhysicsState SeqPhysicsState { get; }

Property Value

SeqPhysicsState

StepIndex

The step index, the key of both rows.

public int StepIndex { get; }

Property Value

int