Class StepLuggage
- Namespace
- Hi.MachiningSteps
- Assembly
- HiMech.dll
The variable-size per-step data of a machining step that the step cache stores one
row a step, one column a kind: the removal geometry (Substraction, every
removing step), the engagement (LayerMillingEngagement) and the
per-rotation force arrays (MillingForceLuggage) of the rotating-edge
model, null where that model did not run for the step. The force stage's fixed-size
scalar summary (MillingForceBrief) and the sequential physics state
(SeqPhysicsState) are not luggage: the step cache keeps them in a row of their own.
The store keeps two of the columns in forms of its own (HiNc's SqliteStepStorage:
an untouched step's no-cut force array as its 8-byte header, a touched step's contact
contours deflated) and undoes them on every read, so what a reader gets is what the
step produced.
A consumer reads only the kind it uses: one step through the step's
MachiningStep.TryGet… (the creation cache while the row is on its way to the
store, the store's row after), a scan through the store one index segment at a time.
public class StepLuggage
- Inheritance
-
StepLuggage
- Inherited Members
- Extension Methods
Constructors
StepLuggage()
Initializes a new instance of the StepLuggage class.
public StepLuggage()
StepLuggage(int, Substraction, LayerMillingEngagement, MillingForceLuggage)
Initializes a new instance of the StepLuggage class with specified parameters.
public StepLuggage(int stepIndex, Substraction substraction, LayerMillingEngagement layerMillingEngagement, MillingForceLuggage millingForceLuggage)
Parameters
stepIndexintThe index of the associated machining step.
substractionSubstractionThe substraction information.
layerMillingEngagementLayerMillingEngagementThe layer milling engagement information.
millingForceLuggageMillingForceLuggageThe milling force luggage information.
Properties
Kinds
The kinds this luggage holds: a flag for each member that is not null, what a store reads back as the row's non-NULL columns.
public StepLuggageKinds Kinds { get; }
Property Value
LayerMillingEngagement
Gets or sets the layer milling engagement information.
public LayerMillingEngagement LayerMillingEngagement { get; set; }
Property Value
MillingForceLuggage
Gets or sets the milling force luggage information.
public MillingForceLuggage MillingForceLuggage { get; set; }
Property Value
StepIndex
Gets or sets the index of the associated machining step.
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.None)]
public int StepIndex { get; set; }
Property Value
Substraction
Gets or sets the substraction information for the machining step.
public Substraction Substraction { get; set; }