using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NEIntelligentControl2.Models.AGC
{
    /// <summary>
    /// AGC信息
    /// </summary>
    public class AGCInfo
    {
        /// <summary>
        /// 升压站ID
        /// </summary>
        public string Id { get; set; }
        /// <summary>
        /// 坐标
        /// </summary>
        public Point Coordinate { get; set; }
        /// <summary>
        /// 装机容量
        /// </summary>
        public double InstalledCapacity { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 小标题
        /// </summary>
        public string SmallTitle { get; set; }
        /// <summary>
        /// 状态（是否限电）
        /// </summary>
        public TagInfo Status { get; set; }
        /// <summary>
        /// AI点
        /// </summary>
        public List<TagInfo> AiPoints { get; set; }

        /// <summary>
        /// DI点
        /// </summary>
        public List<TagInfo> DiPoints { get; set; }
    }

    /// <summary>
    /// 坐标点
    /// </summary>
    public class Point
    {
        /// <summary>
        /// X
        /// </summary>
        public int X { get; set; }
        /// <summary>
        /// Y
        /// </summary>
        public int Y { get; set; }
    }
}
