- 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 配方地址
- /// <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; } = "";
- /// <summary>
- /// Agv送货 进站申请 从西门子读取
- /// </summary>
- public static string DeliveryAGVApply { get; set; } = "";
- /// <summary>
- /// Agv送货 进站申请 写给西门子
- /// </summary>
- public static string DeliveryAGVIsApply { get; set; } = "";
- /// <summary>
- /// Agv送货 进站顶升申请 从西门子读取
- /// </summary>
- public static string DeliveryAGVApplyJack { get; set; } = "";
- /// <summary>
- /// Agv送货 进站顶升申请 写给西门子
- /// </summary>
- public static string DeliveryAGVIsApplyJack { get; set; } = "";
- /// <summary>
- /// Agv送货 送货完成 从西门子读取
- /// </summary>
- public static string DeliveryAGVFinsih { get; set; } = "";
- /// <summary>
- /// Agv送货 工位上有货架 写给西门子
- /// </summary>
- public static string StationHaveCargo { get; set; } = "";
- /// <summary>
- /// Agv送货 进站申请 从西门子读取
- /// </summary>
- public static string PickAGVApply { get; set; } = "";
- /// <summary>
- /// Agv送货 进站申请 写给西门子
- /// </summary>
- public static string PickAGVIsApply { get; set; } = "";
- /// <summary>
- /// Agv送货 取货架完成 从西门子读取
- /// </summary>
- public static string PickCargoAGVFinish { get; set; } = "";
- /// <summary>
- /// Agv送货 取料完成 写给西门子
- /// </summary>
- public static string PickAGVFinish { get; set; } = "";
- /// <summary>
- /// 工位上是否有小车
- /// </summary>
- 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
- {
- /// <summary>
- /// 原料对应的桶号
- /// </summary>
- public int[] RawMaterialBarrelNum = new int[15];
- /// <summary>
- /// 需要原料重量
- /// </summary>
- public double[] RawMaterialWeight = new double[15];
- /// <summary>
- /// 原料对应料仓的位置
- /// </summary>
- public int[] RawMaterialLocation = new int[15];
- }
-
- }
|