using BPASmartClient.S7Net;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BPASmartClient.JXJFoodSmallStation.Model.Siemens
{
public class XL_Status_DB
{
///
/// 配料开始确认
///
public bool Dosing_Confirm { get; set; }
///
/// AGV请求放货架
///
public bool AgvRequestPut { get; set; }
///
/// AGV请求取货架
///
public bool AgvRequestGet { get; set; }
///
/// Agv放托盘完成
///
public short AgvFinishPut { get; set; }
///
/// AGV取托盘完成
///
public short AgvFinishGet { get; set; }
///
/// AGV取放位置
///
public short AgvGetPutPos { get; set; }
///
/// 备用
///
public short[] Standby { get; set; } = new short[1];
[Siemens(16)]
///
/// 生产工单
///
public string Order_No { get; set; } = "";
///
/// 配料开始
///
public bool Dosing_Start { get; set; }
///
/// 工位允许放货架
///
public bool StationAllowPut { get; set; }
///
/// 工位允许取货架
///
public bool StationAllowGet { get; set; }
///
/// 工位允许取空货架
///
public bool StationAllowGetEmpty { get; set; }
///
/// 允许AGV到工站取放粉料
///
public bool Allow_AGV_Put_Get_FL { get; set; }
public PowderStatus[] Powder { get; set; } = new PowderStatus[10];
///
/// 托盘占用情况
///
public short TrayUse { get; set; }
///
/// 托盘使用情况
///
public short Permit_Pos { get; set; }
///
/// 备用
///
public short[] StandbyStatus { get; set; } = new short[3];
}
public class PowderStatus
{
///
/// 粉料名称
///
[Siemens(6)]
public string Powder_Name { get; set; } = "";
///
/// 粉料仓剩余重量
///
public float Powder_Weight { get; set; }
///
/// 粉料仓下料重量
///
public float Powder_LayingOff_Weight { get; set; }
}
}