using System.Collections.Generic;

namespace Siger.Middlelayer.AccRepository.Response
{
    public class ResponseRouteStaionJson
    {
        public int line { get; set; }

        /// <summary>
        /// 产品编号
        /// </summary>
        public string productid { get; set; }

        /// <summary>
        /// 产品名称
        /// </summary>
        public string productid_value { get; set; }

        public List<nodeDataArrayModel> nodeDataArray { get; set; }

        public List<linkDataArrayModel> linkDataArray { get; set; }
    }

    public class nodeDataArrayModel
    {
        public string text { get; set; }

        public string key { get; set; }

        public string nodeType { get; set; }

        public decimal locTop { get; set; }

        public decimal locLeft { get; set; }

        public string nodeHeight { get; set; }

        public string nodeWidth { get; set; }

        public string bgColor { get; set; }

        /// <summary>
        /// 工站id
        /// </summary>
        public int station { get; set; }
    }

    public class linkDataArrayModel
    {
        public string from { get; set; }

        public string to { get; set; }

        public string routerId { get; set; }

        /// <summary>
        /// 记录结果名称
        /// </summary>
        public string label { get; set; }

        public string[] sourceAnchors { get; set; }

        public string[] targetAnchors { get; set; }

        /// <summary>
        /// 结果字典Key值
        /// </summary>
        public string result { get; set; }

        /// <summary>
        /// 站点的状态码
        /// </summary>
        public string status { get; set; }

        /// <summary>
        /// 站点的状态码
        /// </summary>
        public string status_value { get; set; }

        /// <summary>
        /// outstationid出站表id
        /// </summary>
        public int fromid { get; set; }

        /// <summary>
        /// instationid入站表id
        /// </summary>
        public int toid { get; set; }
    }
}
