using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace S7Test.DevEntity
{
public class RgvEntity
{
///
/// Rgv名称
///
public string RgvName { get; set; }
///
/// 设备编号
///
public int DeviceId { get; set; }
#region 写入设备的信息
///
/// 急停
///
public bool WEStop { get; set; }
///
/// 任务完成确认
///
public bool WAckTaskFinish { get; set; }
///
/// 设备复位
///
public bool WReset { get; set; }
///
/// 托盘类型
///
public int WPallType { get; set; }
///
/// 任务下完成信号
///
public bool WStb { get; set; }
#endregion
#region 读取设备的信息
///
/// 心跳
///
public int RHandShake { get; set; }
///
/// 是否有报警
///
public bool RAlarm { get; set; }
///
/// 报警代码
///
public int RAlarmCode { get; set; }
///
/// 是否有货
///
public bool RLoaded { get; set; }
///
/// 任务完成信号
///
public bool RTaskFinish { get; set; }
///
/// 任务号
///
public int RTaskNo { get; set; }
///
/// 起始站点
///
public int RSPos { get; set; }
///
/// 目标站点
///
public int RTPos { get; set; }
///
/// Rgv位置
///
public int RRgvPosition { get; set; }
///
/// Rgv状态
///
public int RState { get; set; }
///
/// Rgv模式
///
public int RMode { get; set; }
///
/// 任务接收成功信号
///
public bool RAck { get; set; }
#endregion
public RgvEntity(string rgvName, int deviceId)
{
this.RgvName = rgvName;
this.DeviceId = deviceId;
}
}
}