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