48 lines
870 B
C#
48 lines
870 B
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
using Newtonsoft.Json;
|
|||
|
|
|
|||
|
|
namespace WCS
|
|||
|
|
{
|
|||
|
|
public class CKMesMode
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 任务号,guid
|
|||
|
|
/// </summary>
|
|||
|
|
public string taskId
|
|||
|
|
{
|
|||
|
|
get
|
|||
|
|
{
|
|||
|
|
return Guid.NewGuid().ToString().Replace("-", "");
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 出库口
|
|||
|
|
/// </summary>
|
|||
|
|
public string source
|
|||
|
|
{
|
|||
|
|
get;
|
|||
|
|
set;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 工位编号
|
|||
|
|
/// </summary>
|
|||
|
|
public string target
|
|||
|
|
{
|
|||
|
|
get;
|
|||
|
|
set;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public override string ToString()
|
|||
|
|
{
|
|||
|
|
return JsonConvert.SerializeObject(this);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|