48 lines
1.5 KiB
C#
48 lines
1.5 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 ViewDistributedMassSection : ViewSection
|
|
{
|
|
// Variables
|
|
private DistributedMassSection _massSection;
|
|
|
|
|
|
// Properties
|
|
[Category("Data")]
|
|
[OrderedDisplayName(6, 10, "Mass")]
|
|
[Description("Enter the total mass to be distributed to the selected region.")]
|
|
[TypeConverter(typeof(EquationMassConverter))]
|
|
public EquationString Mass
|
|
{
|
|
get { return _massSection.Mass.Equation; }
|
|
set { _massSection.Mass.Equation = value; }
|
|
}
|
|
|
|
|
|
|
|
// Constructors
|
|
public ViewDistributedMassSection(DistributedMassSection massSection)
|
|
{
|
|
_massSection = massSection;
|
|
//
|
|
SetBase(_massSection);
|
|
}
|
|
|
|
|
|
// Methods
|
|
|
|
|
|
}
|
|
|
|
}
|