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 short W_KittingInfo { get; set; }
///
/// 分配放料库位号
///
[Description("分配放料库位号")]
public int W_Destination_In { get; set; }
///
/// 入库任务号
///
[Description("入库任务号")]
public short W_Inbound_TaskID { get; set; }
///
/// 出库任务号
///
[Description("出库任务号")]
public short W_Outbound_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 int 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; }
///
/// 入库完成已确认
///
[Description("入库完成已确认")]
public bool W_InboundFinishConfirm { get; set; }
///
/// 出库完成已确认
///
[Description("出库完成已确认")]
public bool W_OutboundFinishConfirm { get; set; }
///
/// 码垛末板标志
///
[Description("码垛末板标志")]
public bool W_EndMark { get; set; }
///
/// 码垛任务号
///
[Description("码垛任务号")]
public short W_PalletizingTaskID { get; set; }
///
/// 码垛是否旋转
///
[Description("码垛是否旋转")]
public short W_Rotate { get; set; }
///
/// 码垛目标工位
///
[Description("码垛目标工位")]
public short W_PalletizingStation { get; set; }
///
/// 码垛位置坐标X
///
[Description("码垛位置坐标X")]
public short W_PalletizingPlaceX { get; set; }
///
/// 码垛位置坐标Y
///
[Description("码垛位置坐标Y")]
public short W_PalletizingPlaceY { get; set; }
///
/// 码垛任务完成确认
///
[Description("码垛任务完成确认")]
public bool W_PalletizingTaskFinish { get; set; }
///
/// 模式(1:入库, 2:出库 3:强制出库)
///
[Description("模式(1:入库, 2:出库 3:强制出库)")]
public short W_Mode { get; set; }
}
///
/// 每个站点的写数据
///
public class StationDBForWriteComm
{
///
/// 站点编号
///
[Description("站点编号")]
public string StationCode { get; set; }
///
/// 读码数据解析完成
///
[Description("读码数据解析完成")]
public string W_DataFinish { get; set; }
///
/// 码垛末板标志
///
[Description("码垛末板标志")]
public string W_EndMark { get; set; }
///
/// 码垛任务号
///
[Description("码垛任务号")]
public string W_PalletizingTaskID { get; set; }
///
/// 码垛是否旋转
///
[Description("码垛是否旋转")]
public string W_Rotate { get; set; }
///
/// 码垛目标工位
///
[Description("码垛目标工位")]
public string W_PalletizingStation { get; set; }
///
/// 码垛位置坐标X
///
[Description("码垛位置坐标X")]
public string W_PalletizingPlaceX { get; set; }
///
/// 码垛位置坐标Y
///
[Description("码垛位置坐标Y")]
public string W_PalletizingPlaceY { get; set; }
///
/// 码垛任务完成确认
///
[Description("码垛任务完成确认")]
public string W_PalletizingTaskFinish { 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_Inbound_TaskID { get; set; }
///
/// 来料长度
///
[Description("来料长度")]
public string W_Length { get; set; }
///
/// 来料宽度
///
[Description("来料宽度")]
public string W_Width { get; set; }
///
/// 来料高度
///
[Description("来料高度")]
public string W_Height { get; set; }
///
/// 模式(1:入库, 2:出库 3:强制出库)
///
[Description("模式(1:入库, 2:出库 3:强制出库)")]
public string W_Mode { 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; }
///
/// 入库完成已确认
///
[Description("入库完成已确认")]
public string W_InboundFinishConfirm { get; set; }
#region 出库相关
///
/// 出库任务号
///
[Description("出库任务号")]
public string W_Outbound_TaskID { get; set; }
///
/// 请求出库
///
[Description("请求出库")]
public string W_ReqOut { get; set; }
///
/// 分配出库库位号
///
[Description("分配出库库位号")]
public string W_Destination_Out { get; set; }
///
/// 出库完成已确认
///
[Description("出库完成已确认")]
public string W_OutboundFinishConfirm { get; set; }
#endregion
}
#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; }
///
/// 入库任务号
///
[Description("入库任务号")]
public short R_Inbound_TaskID { get; set; }
///
/// 出库任务号
///
[Description("出库任务号")]
public short R_Outbound_TaskID { get; set; }
///
/// 码垛放货完成
///
[Description("码垛放货完成")]
public bool R_PalletizingFinish { get; set; }
///
/// 码垛读取任务号
///
[Description("码垛读取任务号")]
public short R_PalletizingTaskNo { get; set; }
///
/// 码垛位置1状态
///
[Description("码垛位置1状态")]
public short R_PalletizingStation1 { get; set; }
///
/// 码垛位置2状态
///
[Description("码垛位置2状态")]
public short R_PalletizingStation2 { 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; }
///
/// 机器人入库完成
///
[Description("机器人入库完成")]
public string R_InboundFinish { get; set; }
///
/// 机器人入库库位号
///
[Description("机器人入库库位号")]
public string R_InboundNumber { get; set; }
///
/// 机器人出库完成
///
[Description("机器人出库完成")]
public string R_OutboundFinish { get; set; }
///
/// 机器人出库库位号
///
[Description("机器人出库库位号")]
public string R_OutboundNumber { get; set; }
///
/// 入库任务号
///
[Description("入库任务号")]
public string R_Inbound_TaskID { get; set; }
///
/// 出库任务号
///
[Description("出库任务号")]
public string R_Outbound_TaskID { get; set; }
///
/// 码垛放货完成
///
[Description("码垛放货完成")]
public string R_PalletizingFinish { get; set; }
///
/// 码垛读取任务号
///
[Description("码垛读取任务号")]
public string R_PalletizingTaskNo { get; set; }
///
/// 码垛位置1状态
///
[Description("码垛位置1状态")]
public string R_PalletizingStation1 { get; set; }
///
/// 码垛位置2状态
///
[Description("码垛位置2状态")]
public string R_PalletizingStation2 { get; set; }
}
}