You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.5 KiB
58 lines
1.5 KiB
using Newtonsoft.Json;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Shapes;
|
|
|
|
namespace GummingCommon
|
|
{
|
|
|
|
public class GraphTool
|
|
{
|
|
public string ToolCode { get; set; }
|
|
|
|
public string ToolName { get; set; }
|
|
public string ToolIcon { get; set; }
|
|
public string ToolIconOver { get; set; }
|
|
public string ToolIconDown { get; set; }
|
|
}
|
|
|
|
public class MeridianTool
|
|
{
|
|
public string ToolCode { get; set; }
|
|
|
|
public string ToolName { get; set; }
|
|
}
|
|
|
|
public class GraphType
|
|
{
|
|
public const string Line = "Line";
|
|
public const string Rectangle = "Rectangle";
|
|
public const string Circle = "Circle";
|
|
public const string Dot = "Dot";
|
|
public const string Polygon = "Polygon";
|
|
public const string Remove = "Remove";
|
|
public const string Temporary = "Temporary";
|
|
public const string Tooltip = "Tooltip";
|
|
|
|
public const string LineName = "线";
|
|
public const string RectangleName = "矩";
|
|
public const string CircleName = "圆";
|
|
public const string DotName = "点";
|
|
public const string PolygonName = "多边";
|
|
public const string RemoveName = "全部删除";
|
|
|
|
|
|
}
|
|
|
|
[Serializable]
|
|
public class GraphEntity
|
|
{
|
|
public Shape Stuff { get; set; }
|
|
public double X { get; set; }
|
|
public double Y { get; set; }
|
|
}
|
|
}
|