SectionTemlate was added
This commit is contained in:
@@ -21,6 +21,40 @@ namespace StructureHelper.Windows.ViewModels.Forces
|
||||
combinationList.Name = value;
|
||||
}
|
||||
}
|
||||
|
||||
public bool SetInGravityCenter
|
||||
{
|
||||
get => combinationList.SetInGravityCenter;
|
||||
set
|
||||
{
|
||||
combinationList.SetInGravityCenter = value;
|
||||
OnPropertyChanged(nameof(SetInGravityCenter));
|
||||
OnPropertyChanged(nameof(CoordEnable));
|
||||
}
|
||||
}
|
||||
|
||||
public bool CoordEnable => !SetInGravityCenter;
|
||||
|
||||
public double CenterX
|
||||
{
|
||||
get => combinationList.ForcePoint.X;
|
||||
set
|
||||
{
|
||||
combinationList.ForcePoint.X = value;
|
||||
OnPropertyChanged(nameof(CenterX));
|
||||
}
|
||||
}
|
||||
|
||||
public double CenterY
|
||||
{
|
||||
get => combinationList.ForcePoint.Y;
|
||||
set
|
||||
{
|
||||
combinationList.ForcePoint.Y = value;
|
||||
OnPropertyChanged(nameof(CenterY));
|
||||
}
|
||||
}
|
||||
|
||||
public IEnumerable<IDesignForceTuple> ForceTuples { get => combinationList.DesignForces; }
|
||||
|
||||
public ForceCombinationViewModel(IForceCombinationList combinationList)
|
||||
|
||||
Reference in New Issue
Block a user