using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IntelligentControlForsx.Service.WindturbineControl.Domain.Cmd
{
///
/// 风机控制信息
///
public class WindturbineCmdInfo
{
///
/// 控制句柄
///
public IntPtr CmdIntPtr { set; get; }
///
/// 风机编号
///
public string WindturbineId { set; get; }
///
/// 风场Id
///
public string StationId { set; get; }
///
/// 命令类型(启动,停止,维护,取消维护等)
///
public CmdType CmdType { set; get; }
///
/// 控制类型 遥信-0,遥测-1,遥控-2,遥调-3,遥视-4
///
public byte ControlType { set; get; }
///
/// 命令编号(映射Modbus地址)
///
public int CmdId { set; get; }
///
/// 命令值(遥控为:0,1;遥调(限转速,限功率)为具体的限速值)
///
public float CmdValue { set; get; }
///
/// 控制值(遥控)
///
public int ControlValue { set; get; }
///
/// 操作人
///
public int UserId { set; get; }
///
/// 操作描述
///
public string Description { set; get; }
///
/// 操作时间
///
public DateTime Time { set; get; }
///
/// 不允许操控原因
///
public string ForbidenDescription { set; get; }
///
/// 命令是否发送成功
///
public bool IsSuccessSend { set; get; }
}
}