using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace iWareSda_QQJF.RGV.RgvModel
|
{
|
public class rgvDB
|
{
|
/// <summary>设备号
|
///
|
/// </summary>
|
public string rgvNoW { get; set; }
|
/// <summary>急停
|
///
|
/// </summary>
|
public string estopW { get; set; }
|
/// <summary>取货位置
|
///
|
/// </summary>
|
public string starPosW { get; set; }
|
/// <summary>放货位置
|
///
|
/// </summary>
|
public string endPosW { get; set; }
|
|
/// <summary>
|
/// 托盘编号
|
/// </summary>
|
public string palletType { get; set; }
|
|
/// <summary>
|
/// RGV父任务号
|
/// </summary>
|
public string rgvfatheridW { get; set; }
|
|
/// <summary>任务ID
|
///
|
/// </summary>
|
public string taskIdW { get; set; }
|
/// <summary>任务命名1搬运,2移动,3删除任务
|
///
|
/// </summary>
|
public string cmdW { get; set; }
|
/// <summary>确认任务完成
|
///
|
/// </summary>
|
public string ackTaskFinishW { get; set; }
|
/// <summary>rgv解警
|
///
|
/// </summary>
|
public string resetW { get; set; }
|
|
//---------------------------------------------------------------------
|
|
/// <summary>设备编号
|
///
|
/// </summary>
|
public string rgvNoR { get; set; }
|
|
|
/// <summary>取货完成
|
///
|
/// </summary>
|
public string getFinishR { get; set; }
|
/// <summary>放货完成
|
///
|
/// </summary>
|
public string putFinishR { get; set; }
|
|
/// <summary>联机模式 自动/非自动
|
///
|
/// </summary>
|
public string onLineR { get; set; }
|
/// <summary>是否报警状态
|
///
|
/// </summary>
|
public string alarmR { get; set; }
|
/// <summary>任务完成
|
///
|
/// </summary>
|
public string taskFinishR { get; set; }
|
/// <summary>是否有货
|
///
|
/// </summary>
|
public string loadedR { get; set; }
|
/// <summary>报警代码
|
///
|
/// </summary>
|
public string alarmCodeR { get; set; }
|
/// <summary>运行状态
|
///
|
/// </summary>
|
|
public string stateR { get; set; }
|
/// <summary>rgv当前位置
|
///
|
/// </summary>
|
public string posR { get; set; }
|
/// <summary>rgv当前任务号
|
///
|
/// </summary>
|
public string taskIdR { get; set; }
|
/// <summary>读取RGV心跳
|
///
|
/// </summary>
|
public string handShskeR { get; set; }
|
/// <summary>rgv当前位置
|
///
|
/// </summary>
|
public string posationR { get; set; }
|
|
/// <summary>rgv当前位置
|
///
|
/// </summary>
|
public string totalR { get; set; }
|
///-----------------------------------
|
public rgvDB(int srmDeviceId = 0)
|
{
|
if (srmDeviceId < 1 || srmDeviceId > 4) return;
|
int rgvno = srmDeviceId;
|
rgvNoW = "DB34.DBW0";
|
estopW = "DB34.DBW2";
|
starPosW = "DB34.DBW4";
|
endPosW = "DB34.DBW6";
|
palletType = "DB34.DBW16";
|
taskIdW = "DB34.DBW8";
|
cmdW = "DB34.DBW10";
|
ackTaskFinishW = "DB34.DBW12";
|
resetW = "DB34.DBW14";
|
rgvfatheridW = "DB34.DBW18";
|
//-----------------------------------------------------
|
rgvNoR = "DB35.DBW0";
|
getFinishR = "DB35.DBW2";
|
putFinishR = "DB35.DBW4";
|
onLineR = "DB35.DBW6";
|
alarmR = "DB35.DBW8";
|
taskFinishR = "DB35.DBW10";
|
loadedR = "DB35.DBW12";
|
alarmCodeR = "DB35.DBW14";
|
stateR = "DB35.DBW16";
|
posR = "DB35.DBW18";
|
taskIdR = "DB35.DBW20";
|
handShskeR = "DB35.DBW22";
|
posationR = "DB35.DBD24";
|
totalR = "DB35.DBD28";
|
}
|
|
}
|
}
|