using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BPASmartClient.JXJFoodSmallStation.Model.Siemens { public class SiemensCommAddress { #region 配方地址 /// /// 配方状态 /// public static string RecipeState { get; set; } = ""; /// /// 配方名称 /// public static string RecipeName { get; set; } = ""; /// /// 配方ID /// public static string RecipeID { get; set; } = ""; /// /// 原料信息 /// public static string RawMaterial { get; set; } = ""; #endregion #region AGV到位(与西门子PLC交互)西门子PLC ==> 上位机 /// /// 托盘的位置编号 /// public static string TrayLocationNum { get; set; } = ""; /// /// 配方ID /// public static string TrayRecipeID { get; set; } = ""; /// /// 状态信号 /// public static string StateSign { get; set; } = ""; /// /// Agv送货 进站申请 从西门子读取 /// public static string DeliveryAGVApply { get; set; } = ""; /// /// Agv送货 进站申请 写给西门子 /// public static string DeliveryAGVIsApply { get; set; } = ""; /// /// Agv送货 进站顶升申请 从西门子读取 /// public static string DeliveryAGVApplyJack { get; set; } = ""; /// /// Agv送货 进站顶升申请 写给西门子 /// public static string DeliveryAGVIsApplyJack { get; set; } = ""; /// /// Agv送货 送货完成 从西门子读取 /// public static string DeliveryAGVFinsih { get; set; } = ""; /// /// Agv送货 工位上有货架 写给西门子 /// public static string StationHaveCargo { get; set; } = ""; /// /// Agv送货 进站申请 从西门子读取 /// public static string PickAGVApply { get; set; } = ""; /// /// Agv送货 进站申请 写给西门子 /// public static string PickAGVIsApply { get; set; } = ""; /// /// Agv送货 取货架完成 从西门子读取 /// public static string PickCargoAGVFinish { get; set; } = ""; /// /// Agv送货 取料完成 写给西门子 /// public static string PickAGVFinish { get; set; } = ""; /// /// 工位上是否有小车 /// public static string StationIsExistCar { get; set; } = ""; #endregion #region Tray配料完成(与西门子PLC交互)上位机 ==> 西门子PLC public static string TrayLocationNumToSiemens { get; set; } = ""; public static string TrayRecipeIDToSiemens { get; set; } = ""; public static string TrayStateToSiemens { get; set; } = ""; #endregion } public class RecipeRawMaterial { /// /// 原料对应的桶号 /// public int[] RawMaterialBarrelNum = new int[15]; /// /// 需要原料重量 /// public double[] RawMaterialWeight = new double[15]; /// /// 原料对应料仓的位置 /// public int[] RawMaterialLocation = new int[15]; } }