Table of Contents

Class ActStateRunner

Namespace
Hi.Numerical.Acts
Assembly
HiMech.dll

Manages the state of numerical control operations during runtime.

public class ActStateRunner
Inheritance
ActStateRunner
Inherited Members
Extension Methods

Properties

ActualTime

Actual accumulated worked time. Actual Program time. null if not set.

public TimeSpan? ActualTime { get; set; }

Property Value

TimeSpan?

Data

State external data.

public Dictionary<string, object> Data { get; set; }

Property Value

Dictionary<string, object>

Feedrate_mmdmin

Last processing Feedrate in mm/min.

public double Feedrate_mmdmin { get; set; }

Property Value

double

Feedrate_mmds

Last processing Feedrate in mm/sec.

public double Feedrate_mmds { get; set; }

Property Value

double

IsCoolantOn

Gets or sets a value indicating whether the coolant is turned on.

public bool IsCoolantOn { get; set; }

Property Value

bool

ProgramTime

Ideal accumulated worked time by simulation. Ideal Program time. The value includes last action duration.

public TimeSpan ProgramTime { get; set; }

Property Value

TimeSpan

SpindleAngle_deg

Spindle rotation angle in degrees.

public double SpindleAngle_deg { get; set; }

Property Value

double

SpindleAngle_rad

Spindle rotation angle in radians.

public double SpindleAngle_rad { get; set; }

Property Value

double

SpindleDirection

Gets or sets the spindle rotation direction.

public SpindleDirection SpindleDirection { get; set; }

Property Value

SpindleDirection

SpindleSpeed_radds

Gets or sets the spindle speed in radians per second.

public double SpindleSpeed_radds { get; set; }

Property Value

double

SpindleSpeed_rpm

Gets or sets the spindle speed in revolutions per minute.

public double SpindleSpeed_rpm { get; set; }

Property Value

double

ToolId

Gets or sets the current tool identifier.

public int ToolId { get; set; }

Property Value

int

Methods

ProcAct(IAct)

filter the same effect action and run the effective action.

public IAct ProcAct(IAct act)

Parameters

act IAct

Returns

IAct

null if the input act is the same effect action. otherwise, return act.

ResetState()

Resets all state values to their defaults.

public void ResetState()