using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EnumType;
using iWareSda_QQJF.OPCService;
namespace iWareSda_QQJF.RgvModel
{
public class RgvEntity
{
/// rgv名称
///
///
public string RgvName { get; set; }
/// RGV编号
///
///
public int Rgvid { get; set; }
/// 取货完成
///
///
public int getFinish { get; set; }
/// 放货完成
///
///
public int putFinish { get; set; }
/// 联机模式
///
///
public int onLine { get; set; }
/// 是否报警
///
///
public int ararm { get; set; }
/// 任务完成
///
///
public int taskFinish { get; set; }
/// 是否有货
///
///
public int loaded { get; set; }
/// 报警代码
///
///
public int alarmCode { get; set; }
/// 运行状态
///
///
public int state { get; set; }
/// 当前位置
///
///
public int pos { get; set; }
/// 任务ID
///
///
public int taskId { get; set; }
/// rgv心跳
///
///
public int handShake { get; set; }
/// 当前位置坐标
///
///
public long posation { get; set; }
/// 当前位置坐标
///
///
public int total { get; set; }
///
/// 是否可用(人工操作非PLC)
///
public bool useful { get; set; }
public RgvEntity(string name = "", int id = 0)
{
if (name == "" || id == 0) return;
RgvName = name;
Rgvid = id;
//初始化USEFUL
useful = true;
}
}
}