using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BPASmartClient.JXJFoodBigStation.Model.Siemens { public class SiemensCommAddress { #region 配方地址 /// <summary> /// 配方状态 /// </summary> public static string RecipeState { get; set; } = ""; /// <summary> /// 配方名称 /// </summary> public static string RecipeName { get; set; } = ""; /// <summary> /// 配方ID /// </summary> public static string RecipeID { get; set; } = ""; /// <summary> /// 原料信息 /// </summary> public static string RawMaterial { get; set; } = ""; #endregion #region AGV到位(与西门子PLC交互)西门子PLC ==> 上位机 /// <summary> /// 托盘的位置编号 /// </summary> public static string TrayLocationNum { get; set; } = ""; /// <summary> /// 配方ID /// </summary> public static string TrayRecipeID { get; set; } = ""; /// <summary> /// 状态信号 /// </summary> public static string StateSign { 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 /*#region AGV小车进出工站1 /// <summary> /// Agv送货 进站申请 从西门子读取 /// </summary> public static string DeliveryAGVApply1 { get; set; } = ""; /// <summary> /// Agv送货 进站申请 写给西门子 /// </summary> public static string DeliveryAGVIsApply1 { get; set; } = ""; /// <summary> /// Agv送货 进站顶升申请 从西门子读取 /// </summary> public static string DeliveryAGVApplyJack1 { get; set; } = ""; /// <summary> /// Agv送货 进站顶升申请 写给西门子 /// </summary> public static string DeliveryAGVIsApplyJack1 { get; set; } = ""; /// <summary> /// Agv送货 送货完成 从西门子读取 /// </summary> public static string DeliveryAGVFinsih1{ get; set; } = ""; /// <summary> /// Agv送货 工位上有货架 写给西门子 /// </summary> public static string StationHaveCargo1 { get; set; } = ""; /// <summary> /// Agv送货 进站申请 从西门子读取 /// </summary> public static string PickAGVApply1 { get; set; } = ""; /// <summary> /// Agv送货 进站申请 写给西门子 /// </summary> public static string PickAGVIsApply1 { get; set; } = ""; /// <summary> /// Agv送货 取货架完成 从西门子读取 /// </summary> public static string PickCargoAGVFinish1 { get; set; } = ""; /// <summary> /// Agv送货 取料完成 写给西门子 /// </summary> public static string PickAGVFinish1 { get; set; } = ""; /// <summary> /// 工位上是否有小车 /// </summary> public static string StationIsExistCar1 { get; set; } = ""; #endregion #region AGV小车进出工站2 /// <summary> /// Agv送货 进站申请 从西门子读取 /// </summary> public static string DeliveryAGVApply2 { get; set; } = ""; /// <summary> /// Agv送货 进站申请 写给西门子 /// </summary> public static string DeliveryAGVIsApply2 { get; set; } = ""; /// <summary> /// Agv送货 进站顶升申请 从西门子读取 /// </summary> public static string DeliveryAGVApplyJack2 { get; set; } = ""; /// <summary> /// Agv送货 进站顶升申请 写给西门子 /// </summary> public static string DeliveryAGVIsApplyJack2 { get; set; } = ""; /// <summary> /// Agv送货 送货完成 从西门子读取 /// </summary> public static string DeliveryAGVFinsih2 { get; set; } = ""; /// <summary> /// Agv送货 工位上有货架 写给西门子 /// </summary> public static string StationHaveCargo2 { get; set; } = ""; /// <summary> /// Agv送货 进站申请 从西门子读取 /// </summary> public static string PickAGVApply2 { get; set; } = ""; /// <summary> /// Agv送货 进站申请 写给西门子 /// </summary> public static string PickAGVIsApply2 { get; set; } = ""; /// <summary> /// Agv送货 取货架完成 从西门子读取 /// </summary> public static string PickCargoAGVFinish2 { get; set; } = ""; /// <summary> /// Agv送货 取料完成 写给西门子 /// </summary> public static string PickAGVFinish2 { get; set; } = ""; /// <summary> /// 工位上是否有小车 /// </summary> public static string StationIsExistCar2 { get; set; } = ""; #endregion #region AGV小车进出工站3 /// <summary> /// Agv送货 进站申请 从西门子读取 /// </summary> public static string DeliveryAGVApply3 { get; set; } = ""; /// <summary> /// Agv送货 进站申请 写给西门子 /// </summary> public static string DeliveryAGVIsApply3 { get; set; } = ""; /// <summary> /// Agv送货 进站顶升申请 从西门子读取 /// </summary> public static string DeliveryAGVApplyJack3 { get; set; } = ""; /// <summary> /// Agv送货 进站顶升申请 写给西门子 /// </summary> public static string DeliveryAGVIsApplyJack3 { get; set; } = ""; /// <summary> /// Agv送货 送货完成 从西门子读取 /// </summary> public static string DeliveryAGVFinsih3 { get; set; } = ""; /// <summary> /// Agv送货 工位上有货架 写给西门子 /// </summary> public static string StationHaveCargo3 { get; set; } = ""; /// <summary> /// Agv送货 进站申请 从西门子读取 /// </summary> public static string PickAGVApply3 { get; set; } = ""; /// <summary> /// Agv送货 进站申请 写给西门子 /// </summary> public static string PickAGVIsApply3 { get; set; } = ""; /// <summary> /// Agv送货 取货架完成 从西门子读取 /// </summary> public static string PickCargoAGVFinish3 { get; set; } = ""; /// <summary> /// Agv送货 取料完成 写给西门子 /// </summary> public static string PickAGVFinish3 { get; set; } = ""; /// <summary> /// 工位上是否有小车 /// </summary> public static string StationIsExistCar3 { get; set; } = ""; #endregion #region AGV小车进出工站4 /// <summary> /// Agv送货 进站申请 从西门子读取 /// </summary> public static string DeliveryAGVApply4 { get; set; } = ""; /// <summary> /// Agv送货 进站申请 写给西门子 /// </summary> public static string DeliveryAGVIsApply4 { get; set; } = ""; /// <summary> /// Agv送货 进站顶升申请 从西门子读取 /// </summary> public static string DeliveryAGVApplyJack4 { get; set; } = ""; /// <summary> /// Agv送货 进站顶升申请 写给西门子 /// </summary> public static string DeliveryAGVIsApplyJack4 { get; set; } = ""; /// <summary> /// Agv送货 送货完成 从西门子读取 /// </summary> public static string DeliveryAGVFinsih4 { get; set; } = ""; /// <summary> /// Agv送货 工位上有货架 写给西门子 /// </summary> public static string StationHaveCargo4 { get; set; } = ""; /// <summary> /// Agv送货 进站申请 从西门子读取 /// </summary> public static string PickAGVApply4 { get; set; } = ""; /// <summary> /// Agv送货 进站申请 写给西门子 /// </summary> public static string PickAGVIsApply4 { get; set; } = ""; /// <summary> /// Agv送货 取货架完成 从西门子读取 /// </summary> public static string PickCargoAGVFinish4 { get; set; } = ""; /// <summary> /// Agv送货 取料完成 写给西门子 /// </summary> public static string PickAGVFinish4 { get; set; } = ""; /// <summary> /// 工位上是否有小车 /// </summary> public static string StationIsExistCar4 { get; set; } = ""; #endregion #region AGV小车进出工站5 /// <summary> /// Agv送货 进站申请 从西门子读取 /// </summary> public static string DeliveryAGVApply5 { get; set; } = ""; /// <summary> /// Agv送货 进站申请 写给西门子 /// </summary> public static string DeliveryAGVIsApply5 { get; set; } = ""; /// <summary> /// Agv送货 进站顶升申请 从西门子读取 /// </summary> public static string DeliveryAGVApplyJack5 { get; set; } = ""; /// <summary> /// Agv送货 进站顶升申请 写给西门子 /// </summary> public static string DeliveryAGVIsApplyJack5 { get; set; } = ""; /// <summary> /// Agv送货 送货完成 从西门子读取 /// </summary> public static string DeliveryAGVFinsih5 { get; set; } = ""; /// <summary> /// Agv送货 工位上有货架 写给西门子 /// </summary> public static string StationHaveCargo5 { get; set; } = ""; /// <summary> /// Agv送货 进站申请 从西门子读取 /// </summary> public static string PickAGVApply5 { get; set; } = ""; /// <summary> /// Agv送货 进站申请 写给西门子 /// </summary> public static string PickAGVIsApply5 { get; set; } = ""; /// <summary> /// Agv送货 取货架完成 从西门子读取 /// </summary> public static string PickCargoAGVFinish5 { get; set; } = ""; /// <summary> /// Agv送货 取料完成 写给西门子 /// </summary> public static string PickAGVFinish5 { get; set; } = ""; /// <summary> /// 工位上是否有小车 /// </summary> public static string StationIsExistCar5 { get; set; } = ""; #endregion #region AGV小车进出工站6 /// <summary> /// Agv送货 进站申请 从西门子读取 /// </summary> public static string DeliveryAGVApply6 { get; set; } = ""; /// <summary> /// Agv送货 进站申请 写给西门子 /// </summary> public static string DeliveryAGVIsApply6 { get; set; } = ""; /// <summary> /// Agv送货 进站顶升申请 从西门子读取 /// </summary> public static string DeliveryAGVApplyJack6 { get; set; } = ""; /// <summary> /// Agv送货 进站顶升申请 写给西门子 /// </summary> public static string DeliveryAGVIsApplyJack6 { get; set; } = ""; /// <summary> /// Agv送货 送货完成 从西门子读取 /// </summary> public static string DeliveryAGVFinsih6 { get; set; } = ""; /// <summary> /// Agv送货 工位上有货架 写给西门子 /// </summary> public static string StationHaveCargo6 { get; set; } = ""; /// <summary> /// Agv送货 进站申请 从西门子读取 /// </summary> public static string PickAGVApply6 { get; set; } = ""; /// <summary> /// Agv送货 进站申请 写给西门子 /// </summary> public static string PickAGVIsApply6 { get; set; } = ""; /// <summary> /// Agv送货 取货架完成 从西门子读取 /// </summary> public static string PickCargoAGVFinish6 { get; set; } = ""; /// <summary> /// Agv送货 取料完成 写给西门子 /// </summary> public static string PickAGVFinish6 { get; set; } = ""; /// <summary> /// 工位上是否有小车 /// </summary> public static string StationIsExistCar6 { get; set; } = ""; #endregion*/ #region AGV进出站 /// <summary> /// Agv送货 进站申请 /// </summary> public static string DeliveryAGVApply { get; set; } = "M4002"; /// <summary> /// Agv送货 进站申请 /// </summary> public static string DeliveryAGVIsApply { get; set; } = "M5002"; /// <summary> /// Agv送货 进站顶升申请 /// </summary> public static string DeliveryAGVApplyJack { get; set; } = "M4004"; /// <summary> /// Agv送货 进站顶升申请 /// </summary> public static string DeliveryAGVIsApplyJack { get; set; } = "M5004"; /// <summary> /// Agv送货 送货完成 /// </summary> public static string DeliveryAGVFinsih { get; set; } = "M4005"; /// <summary> /// Agv送货 工位上有货架 /// </summary> public static string StationHaveCargo { get; set; } = "M5005"; /// <summary> /// Agv送货 进站申请 /// </summary> public static string PickAGVApply { get; set; } = "M4003"; /// <summary> /// Agv送货 进站申请 /// </summary> public static string PickAGVIsApply { get; set; } = "M5003"; /// <summary> /// Agv送货 取货架完成 /// </summary> public static string PickCargoAGVFinish { get; set; } = "M4006"; /// <summary> /// Agv送货 取料完成 /// </summary> public static string PickAGVFinish { get; set; } = "M5006"; /// <summary> /// 工位上是否有小车 /// </summary> public static string StationIsExistCar { get; set; } = "M4007"; #endregion } public class RecipeRawMaterial { /// <summary> /// 原料对应的桶号 /// </summary> public int[] RawMaterialBarrelNum = new int[15]; /// <summary> /// 需要原料重量 /// </summary> public double[] RawMaterialWeight = new double[15]; /// <summary> /// 原料对应料仓的位置 /// </summary> public int[] RawMaterialLocation = new int[15]; } }