using LiteDB; namespace CaeKnowledge.Data { public struct CuttingParameter { [BsonCtor] public CuttingParameter(ObjectId id) { Id = id; Pid = null; Cid = null; Material = null; AxialForceCoefficient = 0; RadialForceCoefficient = 0; TangentialForceCoefficient = 0; AxialForceConstant = 0; RadialForceConstant = 0; TangentialForceConstant = 0; } [BsonId] public ObjectId Id { get; } // 编号 - 后续调用 public string Pid { get; set; } // 刀具信息 public string Cid { get; set; } // 工件材料 public string Material { get; set; } // 轴向犁切力系数 public double AxialForceCoefficient { get; set; } // 径向犁切力系数 public double RadialForceCoefficient { get; set; } // 切向犁切力系数 public double TangentialForceCoefficient { get; set; } // 轴向刀刃常数 public double AxialForceConstant { get; set; } // 径向刀刃常数 public double RadialForceConstant { get; set; } // 切向刀刃常数 public double TangentialForceConstant { get; set; } } }