BaoKai_202508-Wcs-Jingwang..../WCSIce/CKMesMode.cs
2025-08-24 12:51:29 +08:00

48 lines
870 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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);
}
}
}