using iWareCommon.Common.EnumType;
using System;
using System.Linq;
namespace iWareCommon
{
public class SrmEntity
{
///
/// 堆垛机名称
///
public string SrmName { get; set; }
///
/// 设备编号
///
public int DeviceId { get; set; }
///
/// 设备报警
///
public string AlarmCode { get; set; }
///
/// 状态
///
public string State { get; set; }
///
/// 根据心跳判断堆垛机是否在线
///
public bool IsOnline { get; set; }
public int WHandShake { get; set; }
public int WSrmNo { get; set; }
public int WCallBack { get; set; }
public int WCancelTask { get; set; }
public int WEstop { get; set; }
public int WFromCol { get; set; }
public int WFromLayer { get; set; }
public int WFromRow { get; set; }
public int WToCol { get; set; }
public int WToLayer { get; set; }
public int WToRow { get; set; }
public int WTaskId { get; set; }
public int WNewTask { get; set; }
public int WAckTaskFinish { get; set; }
public int WCancleAlarm { get; set; }
///
/// ////////////////////////////////////////////////////
///
public int RHandShake { get; set; }
public bool RPickFinish { get; set; }
public bool RPutFinish { get; set; }
public bool RAuto { get; set; }
public bool RAlarm { get; set; }
public bool RTaskFinish { get; set; }
public bool RLoaded { get; set; }
public bool RForkIni { get; set; }
public int RSrmNo { get; set; }
public int RAlarmCode { get; set; }
public int RState { get; set; }
public int RCol { get; set; }
public int RLayer { get; set; }
public int RPosX { get; set; }
public int RPosY { get; set; }
public int RForkPos { get; set; }
public int RTaskId { get; set; }
public SrmEntity() { }
public SrmEntity(string srmName, int deviceId)
{
this.SrmName = srmName;
this.DeviceId = deviceId;
}
}
}