Add project files.
This commit is contained in:
22
Examples/Nodify.Calculator/Models/SaveGraphModel.cs
Normal file
22
Examples/Nodify.Calculator/Models/SaveGraphModel.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using Microsoft.CodeAnalysis;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
|
||||
namespace Nodify.Calculator.Models
|
||||
{
|
||||
public class SaveGraphModel
|
||||
{
|
||||
public string Name { get; set; }
|
||||
|
||||
public List<SaveNodes> Nodes { get; set; } = new List<SaveNodes>();
|
||||
}
|
||||
|
||||
public class SaveNodes
|
||||
{
|
||||
public Point Location { get; set; }
|
||||
}
|
||||
}
|
||||
13
Examples/Nodify.Calculator/Models/SwaggerNodeModel.cs
Normal file
13
Examples/Nodify.Calculator/Models/SwaggerNodeModel.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Nodify.Calculator.Models
|
||||
{
|
||||
public class SwaggerNodeModel
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Title { get; set; } = string.Empty;
|
||||
public string OPType { get; set; } = string.Empty;
|
||||
public List<string> InputNames { get; set; } = new List<string>();
|
||||
public string SwaggerFileName { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
12
Examples/Nodify.Calculator/Models/VariableModel.cs
Normal file
12
Examples/Nodify.Calculator/Models/VariableModel.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Nodify.Calculator.Models
|
||||
{
|
||||
public class VariableModel
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Name { get; set; } = string.Empty;
|
||||
public string VariableType { get; set; } = "string";
|
||||
public string DefaultValue { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user