add geom GUI to HiNC-2025-win-desktop.

This commit is contained in:
iambossTC 2025-05-09 09:25:16 +08:00
parent f2ab7fe546
commit 4ee5fed8e3

View File

@ -4,9 +4,9 @@ using Hi.MongoUtils;
using Hi.Licenses;
using Hi.MachiningProcs;
using Hi.Common.FileLines;
using Hi.MillingSteps;
using System.Windows;
using Hi.Disp;
using Hi.MachiningSteps;
namespace Sample.Machining
{
@ -38,7 +38,7 @@ namespace Sample.Machining
Console.WriteLine($"Load Project: {projectPath}");
MachiningProject machiningProject = MachiningProject.LoadFile(projectPath);
machiningProject.ShellApi.MillingStepSelected += (MachiningStep step) =>
machiningProject.ShellApi.MachiningStepSelected += (MachiningStep step) =>
{
var sourceCommand = step.SourceCommand;
Console.WriteLine($"Step Selected: MRR = {step.Mrr_mm3ds} At \"{sourceCommand?.FilePath}\" (Line {sourceCommand?.GetLineNo()}) \"{sourceCommand?.Line}\"");