Files
wg_cpso/CPSO/Forms/42_Section/ViewPointMassSection.cs

48 lines
1.4 KiB
C#
Raw Permalink Normal View History

2026-03-25 18:20:24 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;
using CaeGlobals;
using DynamicTypeDescriptor;
using CaeModel;
namespace CPSO
{
[Serializable]
public class ViewPointMassSection : ViewSection
{
// Variables
private PointMassSection _massSection;
// Properties
[Category("Data")]
[OrderedDisplayName(6, 10, "Mass")]
[Description("Enter the mass to be applied to each selected node.")]
[TypeConverter(typeof(EquationMassConverter))]
public EquationString Mass
{
get { return _massSection.Mass.Equation; }
set { _massSection.Mass.Equation = value; }
}
// Constructors
public ViewPointMassSection(PointMassSection massSection)
{
_massSection = massSection;
//
SetBase(_massSection);
}
// Methods
}
}