init: 北航大学BH-DAS项目首次入库
This commit is contained in:
126
CCYQ_JieFang/webApi/IPC_product.cs
Normal file
126
CCYQ_JieFang/webApi/IPC_product.cs
Normal file
@@ -0,0 +1,126 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
using System.Data;
|
||||
|
||||
namespace MesWork
|
||||
{
|
||||
public class IPC_product
|
||||
{
|
||||
public string MsgId = "";
|
||||
/// <summary>
|
||||
/// 1:IPC、2:FSS、3:AGV
|
||||
/// </summary>
|
||||
public int MsgSource = 0;
|
||||
public string Location = "";
|
||||
public List<IPC_product_AssemblyInformation> AssemblyInformation = new List<IPC_product_AssemblyInformation>();
|
||||
public string SendTime = string.Empty;
|
||||
}
|
||||
public class IPC_product_AssemblyInformation
|
||||
{
|
||||
public string productNo = string.Empty;
|
||||
public string productName = string.Empty;
|
||||
public int productPosition = 0;
|
||||
}
|
||||
|
||||
public class IPC_RequestEnterOrLeave
|
||||
{
|
||||
public string MsgId = "";
|
||||
/// <summary>
|
||||
/// 1:IPC、2:FSS、3:AGV
|
||||
/// </summary>
|
||||
public int MsgSource = 0;
|
||||
public string Location = "";
|
||||
/// <summary>
|
||||
/// 1:查询是否可以进入
|
||||
/// 2:查询是否可以离开
|
||||
/// </summary>
|
||||
public int RequestType = 0;
|
||||
public string SendTime = string.Empty;
|
||||
}
|
||||
|
||||
public class IPC_WorkFinsih
|
||||
{
|
||||
public string MsgId = "";
|
||||
/// <summary>
|
||||
/// 1:IPC、2:FSS、3:AGV
|
||||
/// </summary>
|
||||
public int MsgSource = 0;
|
||||
public string Location = "";
|
||||
/// <summary>
|
||||
/// 1:上料完成离开
|
||||
/// 2:下料完成离开
|
||||
/// </summary>
|
||||
public int FinishType = 0;
|
||||
public string SendTime = string.Empty;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// IPC提供WEBAPI接口,接收FSS发过来的请求设备状态 会调用FSS接口放回指定工位状态
|
||||
/// </summary>
|
||||
public class IPC_DeviceStatus
|
||||
{
|
||||
public string MsgId = "";
|
||||
/// <summary>
|
||||
/// 1:IPC、2:FSS、3:AGV
|
||||
/// </summary>
|
||||
public int MsgSource = 0;
|
||||
public string Location = "";
|
||||
public string SendTime = string.Empty;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// FSS提供WEBAPI接口,接收IPC发过来的AGV可进入或离开设备的接口
|
||||
/// </summary>
|
||||
public class FSS_ResponseEnterOrLeave
|
||||
{
|
||||
public string MsgId = "";
|
||||
/// <summary>
|
||||
/// 1:IPC、2:FSS、3:AGV
|
||||
/// </summary>
|
||||
public int MsgSource = 0;
|
||||
public string Location = "";
|
||||
/// <summary>
|
||||
/// 1:可以进入
|
||||
/// 2:可以离开
|
||||
/// </summary>
|
||||
public int ResponseType = 0;
|
||||
public string SendTime = string.Empty;
|
||||
}
|
||||
/// <summary>
|
||||
/// FSS提供WEBAPI接口,接收IPC发过来的请求下料接口
|
||||
/// </summary>
|
||||
public class FSS_FinishCall
|
||||
{
|
||||
public string MsgId = "";
|
||||
/// <summary>
|
||||
/// 1:IPC、2:FSS、3:AGV
|
||||
/// </summary>
|
||||
public int MsgSource = 0;
|
||||
public string Location = "";
|
||||
public string SendTime = string.Empty;
|
||||
}
|
||||
/// <summary>
|
||||
/// FSS提供WEBAPI接口,接收IPC发过来的设备状态信息
|
||||
/// </summary>
|
||||
public class FSS_DeviceStatus
|
||||
{
|
||||
public string MsgId = "";
|
||||
/// <summary>
|
||||
/// 1:IPC、2:FSS、3:AGV
|
||||
/// </summary>
|
||||
public int MsgSource = 0;
|
||||
public string Location = "";
|
||||
/// <summary>
|
||||
/// 1:运行(既不可以上料也不可以下料)
|
||||
/// 2:空闲(可以上料)
|
||||
/// 3:完成(可以下料)
|
||||
/// 4:报警(设备报警)
|
||||
/// </summary>
|
||||
public int DeviceStatus = 0;
|
||||
public string SendTime = string.Empty;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user