using BPASmartClient.S7Net;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BPASmartClient.JXJFoodBigStation.Model.Siemens
{
internal class DL_Start_DB
{
[Siemens(16)]
///
/// 配方编码
///
public string RecipeCode { get; set; }
[Siemens(16)]
///
/// 配发名称
///
public string RecipeName { get; set; }
///
/// 工位号
///
public short Job_No { get; set; }
///
/// 托盘号
///
public short Pallet_No { get; set; }
///
/// 物料信息
///
public UDT[] Material { get; set; } = new UDT[20];
///
/// 订单类型(0.其他、 1.洗锅)
///
public bool Order_Type { get; set; }
///
/// 订单请求确认
///
public bool Order_Request_Ack { get; set; }
///
/// 订单取消
///
public bool Order_Cancel { get; set; }
///
/// 备用
///
public short[] Standby { get; set; } = new short[4];
///
/// 配方发送请求
///
public bool Order_Request { get; set; }
///
/// 订单取消回复
///
public bool Order_Cancel_Ack { get; set; }
///
/// 备用
///
public short[] Standby1 { get; set; } = new short[4];
}
public class UDT
{
[Siemens(6)]
///
/// 原料名称
///
public string Material_Name { get; set; }
///
/// 原料重量
///
public float Material_Weight { get; set; }
///
/// 原料桶号
///
public short Material_BarrelNum { get; set; }
}
}