using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace iWareSda.Devices._3_Station.StationModel
{
#region 写
public class StationDB2ObjForWriteComm
{
///
/// 站点编号
///
[Description("站点编号")]
public string StationCode { get; set; }
///
/// 读码数据解析完成
///
[Description("读码数据解析完成")]
public bool W_DataFinish { get; set; }
///
/// 齐套信息(998齐套,999异常出库)
///
[Description("齐套信息(998齐套,999异常出库)")]
public string W_KittingInfo { get; set; }
///
/// 分配放料库位号
///
[Description("分配放料库位号")]
public int W_Destination_In { get; set; }
///
/// 任务号
///
[Description("任务号")]
public string W_TaskID { get; set; }
///
/// 来料长度
///
[Description("来料长度")]
public short W_Length { get; set; }
///
/// 来料宽度
///
[Description("来料宽度")]
public short W_Width { get; set; }
///
/// 来料高度
///
[Description("来料高度")]
public short W_Height { get; set; }
///
/// 请求出库
///
[Description("请求出库")]
public bool W_ReqOut { get; set; }
///
/// 分配出库库位号
///
[Description("分配出库库位号")]
public string W_Destination_Out { get; set; }
///
/// 是否旋转
///
[Description("是否旋转")]
public bool W_IsRotate { get; set; }
///
/// 包件长
///
[Description("包件长")]
public string W_PackageLength { get; set; }
///
/// 包件宽
///
[Description("包件宽")]
public string W_PackageWidth { get; set; }
///
/// 纸箱高
///
[Description("纸箱高")]
public string W_CartonHeight { get; set; }
///
/// 纸箱宽
///
[Description("纸箱宽")]
public string W_CartonWidth { get; set; }
///
/// 放料X偏移
///
[Description("放料X偏移")]
public string W_X_Offset { get; set; }
///
/// 放料Y偏移
///
[Description("放料Y偏移")]
public string W_Y_Offset { get; set; }
}
///
/// 每个站点的写数据
///
public class StationDBForWriteComm
{
///
/// 站点编号
///
[Description("站点编号")]
public string StationCode { get; set; }
///
/// 读码数据解析完成
///
[Description("读码数据解析完成")]
public string W_DataFinish { get; set; }
///
/// 齐套信息(998齐套,999异常出库)
///
[Description("齐套信息(998齐套,999异常出库)")]
public string W_KittingInfo { get; set; }
///
/// 分配放料库位号
///
[Description("分配放料库位号")]
public string W_Destination_In { get; set; }
///
/// 任务号
///
[Description("任务号")]
public string W_TaskID { get; set; }
///
/// 来料长度
///
[Description("来料长度")]
public string W_Length { get; set; }
///
/// 来料宽度
///
[Description("来料宽度")]
public string W_Width { get; set; }
///
/// 来料高度
///
[Description("来料高度")]
public string W_Height { get; set; }
///
/// 请求出库
///
[Description("请求出库")]
public string W_ReqOut { get; set; }
///
/// 分配出库库位号
///
[Description("分配出库库位号")]
public string W_Destination_Out { get; set; }
///
/// 是否旋转
///
[Description("是否旋转")]
public string W_IsRotate { get; set; }
///
/// 包件长
///
[Description("包件长")]
public string W_PackageLength { get; set; }
///
/// 包件宽
///
[Description("包件宽")]
public string W_PackageWidth { get; set; }
///
/// 纸箱高
///
[Description("纸箱高")]
public string W_CartonHeight { get; set; }
///
/// 纸箱宽
///
[Description("纸箱宽")]
public string W_CartonWidth { get; set; }
///
/// 放料X偏移
///
[Description("放料X偏移")]
public string W_X_Offset { get; set; }
///
/// 放料Y偏移
///
[Description("放料Y偏移")]
public string W_Y_Offset { get; set; }
}
#endregion
///
/// 每个站点的读数据
///
public class StationDB2ObjForReadComm
{
///
/// 站点编号
///
[Description("站点编号")]
public string StationCode { get; set; }
///
/// 请求解析读码数据
///
[Description("请求解析读码数据")]
public bool R_ReqParseData { get; set; }
///
/// 读码器读码结果
///
[Description("读码器读码结果")]
public String R_ReadCodeResult { get; set; }
///
/// 收到任务下发反馈
///
[Description("收到任务下发反馈")]
public bool R_ACK { get; set; }
///
/// 模式
///
[Description("模式")]
public short R_Model { get; set; }
///
/// 运行状态
///
[Description("运行状态")]
public short R_State { get; set; }
///
/// 报警代码
///
[Description("报警代码")]
public short R_AlarmCode { get; set; }
///
/// 报警代码内容,非DB块内容
///
[Description("报警代码内容,非DB块内容")]
public string R_AlarmCodeMsg { get; set; }
///
/// 当前目标地址
///
[Description("当前目标地址")]
public short R_Destination { get; set; }
///
/// 货形
///
[Description("货形")]
public short R_Shape { get; set; }
///
/// 当前任务号
///
[Description("当前任务号")]
public int R_TaskID { get; set; }
///
/// 机器人入库完成
///
[Description("机器人入库完成")]
public bool R_InboundFinish { get; set; }
///
/// 机器人入库库位号
///
[Description("机器人入库库位号")]
public string R_InboundNumber { get; set; }
///
/// 机器人出库完成
///
[Description("机器人出库完成")]
public bool R_OutboundFinish { get; set; }
///
/// 机器人出库库位号
///
[Description("机器人出库库位号")]
public string R_OutboundNumber { get; set; }
}
public class StationDBForReadComm
{
///
/// 站点编号
///
[Description("站点编号")]
public string StationCode { get; set; }
///
/// 请求解析读码数据
///
[Description("请求解析读码数据")]
public string R_ReqParseData { get; set; }
///
/// 读码器读码结果
///
[Description("读码器读码结果")]
public String R_ReadCodeResult { get; set; }
///
/// 光电1状态
///
[Description("光电1状态")]
public string R_PH_1 { get; set; }
///
/// 光电2状态
///
[Description("光电2状态")]
public string R_PH_2 { get; set; }
///
/// 收到任务下发反馈
///
[Description("收到任务下发反馈")]
public string R_ACK { get; set; }
///
/// 模式
///
[Description("模式")]
public string R_Model { get; set; }
///
/// 运行状态
///
[Description("运行状态")]
public string R_State { get; set; }
///
/// 报警代码
///
[Description("报警代码")]
public string R_AlarmCode { get; set; }
///
/// 当前目标地址
///
[Description("当前目标地址")]
public string R_Destination { get; set; }
///
/// 外形检测
///
[Description("外形检测")]
public string R_Shape { get; set; }
///
/// 当前任务号
///
[Description("当前任务号")]
public string R_TaskID { get; set; }
}
}