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

namespace NEIntelligentControl2.Models.Windturbine
{
    /// <summary>
    /// 控制指令
    /// </summary>
    public class ControlInstruction
    {
        /// <summary>
        /// 风机编号
        /// </summary>
        public string WindturbineId { get; set; }
        /// <summary>
        /// 场站编号
        /// </summary>
        public string StationId { get; set; }
        /// <summary>
        /// 项目编号
        /// </summary>
        public string ProjectId { get; set; }
        /// <summary>
        /// 风机型号
        /// </summary>
        public string ModelId { get; set; }
        /// <summary>
        /// 操作
        /// </summary>
        public OperateStyle ControlType { get; set; }
        /// <summary>
        /// 挂牌类型
        /// </summary>
        public HungType LockType { get; set; }
        /// <summary>
        /// 自定义挂牌内容
        /// </summary>
        public string LockValue { get; set; }
        /// <summary>
        /// 操作是否成功
        /// </summary>
        public bool IsSuccess { get; set; }
        /// <summary>
        /// 错误码
        /// </summary>
        public string ErrorCode { get; set; }
    }
}
