Files
wg_cpso/CaeKnowledge/Data/ProcessingJob.cs

38 lines
825 B
C#
Raw Permalink Normal View History

2026-03-26 06:50:22 +08:00
using LiteDB;
2026-03-25 18:20:24 +08:00
namespace CaeKnowledge.Data
{
public class ProcessingJob
{
2026-03-26 06:50:22 +08:00
public ObjectId Id { get; set; }
2026-03-25 18:20:24 +08:00
2026-03-26 06:50:22 +08:00
// 计算步名称
public string StepName { get; set; }
2026-03-25 18:20:24 +08:00
2026-03-26 06:50:22 +08:00
// StepId
public int StepId {get; set; }
// 曲面集名称
public string SurfaceName {get; set; }
2026-03-25 18:20:24 +08:00
// 刀位点位置坐标
2026-03-26 06:50:22 +08:00
public double X {get; set;}
public double Y {get; set;}
public double Z {get; set;}
2026-03-25 18:20:24 +08:00
// 切削力
2026-03-26 06:50:22 +08:00
public double Fx {get; set;}
public double Fy {get; set;}
public double Fz {get; set;}
2026-03-25 18:20:24 +08:00
2026-03-26 06:50:22 +08:00
public ProcessingJob()
{ }
2026-03-25 18:20:24 +08:00
2026-03-26 06:50:22 +08:00
public ProcessingJob(ToolPosition tp)
2026-03-25 18:20:24 +08:00
{
2026-03-26 06:50:22 +08:00
X = tp.X; Y = tp.Y; Z = tp.Z;
2026-03-25 18:20:24 +08:00
2026-03-26 06:50:22 +08:00
Fx = tp.MaxFx; Fy = tp.MaxFy; Fz = tp.MaxFz;
2026-03-25 18:20:24 +08:00
}
}
}