|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- 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];
- }
-
- }
|