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