refactor(Hi.Sample): the two coordinate-entry displayees place their markers through TryGetIsoCoordinatePosition and TryGetMachinePositionAtTableMountZero -- follows HiMech
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -60,9 +60,9 @@ namespace Sample.Disp
|
||||
return;
|
||||
|
||||
////Console.WriteLine($"B: {CoordinateIndex}; {coordinateMove}");
|
||||
Vec3d mcXyz_AttacherAtTableMountZero = MillingEquipmentFunc?.Invoke()
|
||||
?.GetMachinePositionAtTableMountZero();
|
||||
if (mcXyz_AttacherAtTableMountZero == null)
|
||||
IMachiningEquipment equipment = MillingEquipmentFunc?.Invoke();
|
||||
if (equipment == null
|
||||
|| !equipment.TryGetMachinePositionAtTableMountZero(out Vec3d mcXyz_AttacherAtTableMountZero))
|
||||
return;
|
||||
|
||||
Vec3d coordinateMove;
|
||||
@@ -96,9 +96,9 @@ namespace Sample.Disp
|
||||
if (ncEnv == null || NcEnv.CncBrand != CncBrand.Heidenhain)
|
||||
return;
|
||||
|
||||
Vec3d mcXyz_AttacherAtTableMountZero = MillingEquipmentFunc?.Invoke()
|
||||
?.GetMachinePositionAtTableMountZero();
|
||||
if (mcXyz_AttacherAtTableMountZero == null)
|
||||
IMachiningEquipment equipment = MillingEquipmentFunc?.Invoke();
|
||||
if (equipment == null
|
||||
|| !equipment.TryGetMachinePositionAtTableMountZero(out Vec3d mcXyz_AttacherAtTableMountZero))
|
||||
return;
|
||||
Vec3d coordinateMove;
|
||||
if (HeidenhainCycleDef247Q339 == 0 && HeidenhainCycleDef7Arg == null)
|
||||
|
||||
Reference in New Issue
Block a user