diff --git a/App.xaml b/App.xaml index 92ce395..9d626e4 100644 --- a/App.xaml +++ b/App.xaml @@ -5,16 +5,16 @@ + + + + + - - - - - diff --git a/Infrastructure/UI/DataContexts/PrimitiveBase.cs b/Infrastructure/UI/DataContexts/PrimitiveBase.cs index f5d1ff0..8ad2a80 100644 --- a/Infrastructure/UI/DataContexts/PrimitiveBase.cs +++ b/Infrastructure/UI/DataContexts/PrimitiveBase.cs @@ -254,7 +254,6 @@ namespace StructureHelper.Infrastructure.UI.DataContexts public virtual void RefreshNdmPrimitive() { - } public void RefreshColor() diff --git a/Infrastructure/UI/Resources/DataGridStyles.xaml b/Infrastructure/UI/Resources/DataGridStyles.xaml index e5fe7dd..073904f 100644 --- a/Infrastructure/UI/Resources/DataGridStyles.xaml +++ b/Infrastructure/UI/Resources/DataGridStyles.xaml @@ -11,5 +11,4 @@ - \ No newline at end of file diff --git a/Infrastructure/UI/Resources/DataGridTemplates.xaml b/Infrastructure/UI/Resources/DataGridTemplates.xaml index 8c9d75f..9868d6f 100644 --- a/Infrastructure/UI/Resources/DataGridTemplates.xaml +++ b/Infrastructure/UI/Resources/DataGridTemplates.xaml @@ -18,5 +18,4 @@ - \ No newline at end of file diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index 7fecb95..6d61ae9 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -49,5 +49,5 @@ using System.Windows; // Можно задать все значения или принять номера сборки и редакции по умолчанию // используя "*", как показано ниже: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: AssemblyVersion("2023.01.08.01")] +[assembly: AssemblyFileVersion("2023.01.08.01")] diff --git a/StructureHelper.csproj b/StructureHelper.csproj index 6934552..4d8a953 100644 --- a/StructureHelper.csproj +++ b/StructureHelper.csproj @@ -238,6 +238,9 @@ HeadMaterialsView.xaml + + VisualPropertyView.xaml + PrimitivePropertiesView.xaml @@ -259,6 +262,7 @@ + @@ -407,6 +411,10 @@ Designer MSBuild:Compile + + Designer + MSBuild:Compile + Designer MSBuild:Compile diff --git a/Windows/MainWindow/MainModel.cs b/Windows/MainWindow/MainModel.cs index b80ab2a..b9e8526 100644 --- a/Windows/MainWindow/MainModel.cs +++ b/Windows/MainWindow/MainModel.cs @@ -48,14 +48,6 @@ namespace StructureHelper.Windows.MainWindow HeadMaterialRepository = new HeadMaterialRepository(this); } - //public IStrainMatrix Calculate(double mx, double my, double nz) - //{ - // var unitSystem = unitSystemService.GetCurrentSystem(); - // return calculationService.GetPrimitiveStrainMatrix(primitiveRepository.Primitives.Select(x => x.GetNdmPrimitive(unitSystem)).ToArray(), - // mx, my, nz, - // CalculationProperty.LimitState, CalculationProperty.CalcTerm); - //} - public IEnumerable GetNdms(ICalculationProperty calculationProperty) { var ndmPrimitives = Section.SectionRepository.Primitives; @@ -69,22 +61,5 @@ namespace StructureHelper.Windows.MainWindow return ndmCollection; } - - //public ILoaderResults CalculateResult(IEnumerable ndmCollection, IForceMatrix forceMatrix) - //{ - // var loaderData = new LoaderOptions - // { - // Preconditions = new Preconditions - // { - // ConditionRate = 0.01, - // MaxIterationCount = 100, - // StartForceMatrix = forceMatrix - // }, - // NdmCollection = ndmCollection - // }; - // var calculator = new Calculator(); - // calculator.Run(loaderData, new CancellationToken()); - // return calculator.Result; - //} } } diff --git a/Windows/MainWindow/MainView.xaml b/Windows/MainWindow/MainView.xaml index 190da84..647a5c0 100644 --- a/Windows/MainWindow/MainView.xaml +++ b/Windows/MainWindow/MainView.xaml @@ -52,9 +52,10 @@