Fix: return graph from player to independent button, develop: add MainGraphView, TreeView, TreeCommand.

This commit is contained in:
Иван Ивашкин
2024-10-14 20:36:25 +05:00
parent b5ed00341c
commit 883dbb189f
17 changed files with 440 additions and 21 deletions

View File

@@ -24,21 +24,21 @@
</TypeIdentifier>
</Interface>
<Interface Name="StructureHelperCommon.Models.Functions.IScaleFunction">
<Position X="9" Y="3" Width="1.5" />
<Position X="7.75" Y="3" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAA=</HashCode>
<FileName>Models\Functions\IScaleFunction.cs</FileName>
</TypeIdentifier>
</Interface>
<Interface Name="StructureHelperCommon.Models.Functions.ILimitFunction">
<Position X="7.25" Y="3" Width="1.5" />
<Position X="5.75" Y="3" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAA=</HashCode>
<FileName>Models\Functions\ILimitFunction.cs</FileName>
</TypeIdentifier>
</Interface>
<Interface Name="StructureHelperCommon.Infrastructures.Interfaces.IFunctionDecorator">
<Position X="8" Y="0.75" Width="1.5" />
<Position X="6.25" Y="0.5" Width="2.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAA=</HashCode>
<FileName>Infrastructures\Interfaces\IFunctionDecorator.cs</FileName>

View File

@@ -9,8 +9,11 @@ namespace StructureHelperCommon.Infrastructures.Interfaces
{
public interface IOneVariableFunction
{
public bool IsUser { get; set; }
public FunctionType Type { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public bool Check();
public double GetByX(double xValue);
}

View File

@@ -10,8 +10,10 @@ namespace StructureHelperCommon.Models.Functions
{
public class FormulaFunction : IOneVariableFunction
{
public bool IsUser { get; set; }
public FunctionType Type { get; set; }
public string Name { get; set; }
public string Description { get ; set; }
public bool Check()
{
@@ -25,8 +27,10 @@ namespace StructureHelperCommon.Models.Functions
public class CopyOfFormulaFunction : IOneVariableFunction
{
public bool IsUser { get; set; }
public FunctionType Type { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public bool Check()
{

View File

@@ -10,8 +10,10 @@ namespace StructureHelperCommon.Models.Functions
{
public class TableFunction : IOneVariableFunction
{
public bool IsUser { get; set; }
public FunctionType Type { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public bool Check()
{
@@ -25,8 +27,10 @@ namespace StructureHelperCommon.Models.Functions
public class CopyOfTableFunction : IOneVariableFunction
{
public bool IsUser { get; set; }
public FunctionType Type { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public bool Check()
{