75 lines
1.5 KiB
C#
75 lines
1.5 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace DOAN.Model.MES.base_.Dto
|
|
{
|
|
|
|
public class BaseParseNodeDto
|
|
{
|
|
public int RouteID { get; set; } //工艺路线id
|
|
|
|
public string LogicFlowData { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 流程图节点解析
|
|
/// </summary>
|
|
public class BaseParseNode
|
|
{
|
|
|
|
public Nodes__[] nodes { get; set; }
|
|
|
|
public Edges__[] edges { get; set; }
|
|
}
|
|
|
|
public class Nodes__
|
|
{
|
|
public string id { get; set; }
|
|
|
|
public string type { get; set; }
|
|
|
|
public int x { get; set; }
|
|
public int y { get; set; }
|
|
public Properties_ properties { get; set; }
|
|
|
|
public Text_ text { get; set; }
|
|
|
|
}
|
|
public class Properties_
|
|
{
|
|
public int processesId { get; set; }
|
|
}
|
|
|
|
public class Text_
|
|
{
|
|
public int x { get; set; }
|
|
public int y { get; set; }
|
|
|
|
public string value { get; set; }
|
|
|
|
}
|
|
|
|
public class Edges__
|
|
{
|
|
public string Id { get; set; }
|
|
public string type { get; set; }
|
|
public string sourceNodeId { get; set; }
|
|
public string targetNodeId { get; set; }
|
|
public Point startPoint { get; set; }
|
|
public Point endPoint { get; set; }
|
|
public Properties_ properties { get; set; }
|
|
public Point[] pointsList { get; set; }
|
|
}
|
|
|
|
public class Point
|
|
{
|
|
public int x { get; set; }
|
|
public int y { get; set; }
|
|
}
|
|
|
|
|
|
}
|