48 lines
1.4 KiB
C#
48 lines
1.4 KiB
C#
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
|
|
|
|
|
|
}
|
|
|
|
}
|